Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] The akonadi personal management service is not runn
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 7:35 am    Post subject: [SOLVED] The akonadi personal management service is not runn Reply with quote

After Today's update (emerge -uDN world) and new dev-db/mysql 5.5.32 you wont be able to start eg. kmail, so be careful.
Error: The akonadi personal management service is not running

I am downgrading to dev-db/mysql 5.5.31 and will see if thos solved the problem.

UPDATE:
After downgrading still the same :(

HELP.
Again kmail + sql = disater

Today's changes:
Quote:
Thu Jun 27 07:05:41 2013 <<< app-emulation/emul-linux-x86-soundlibs-20130224-r1
Thu Jun 27 07:05:44 2013 >>> app-emulation/emul-linux-x86-soundlibs-20130224-r2
Thu Jun 27 07:06:37 2013 <<< media-libs/alsa-lib-1.0.27-r2
Thu Jun 27 07:06:40 2013 >>> media-libs/alsa-lib-1.0.27.1
Thu Jun 27 07:07:23 2013 <<< media-libs/flac-1.2.1-r4
Thu Jun 27 07:07:27 2013 >>> media-libs/flac-1.2.1-r5
Thu Jun 27 07:08:02 2013 <<< media-libs/audiofile-0.3.6
Thu Jun 27 07:08:06 2013 >>> media-libs/audiofile-0.3.6-r1
Thu Jun 27 07:16:01 2013 <<< dev-db/mysql-5.5.32
Thu Jun 27 07:16:05 2013 >>> dev-db/mysql-5.5.32
Thu Jun 27 08:37:42 2013 <<< dev-db/mysql-5.5.32
Thu Jun 27 08:37:46 2013 >>> dev-db/mysql-5.5.31


Code:
# mysql_upgrade
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock'
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed


Code:
Akonadi Server Self-Test Report
===============================

Test 1:  SUCCESS
--------

Database driver found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system.

File content of '/home/ryszard/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL

[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/ryszard/.local/share/akonadi/socket-tux/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true

[Debug]
Tracer=null


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

Test 3:  SUCCESS
--------

MySQL server found.
Details: You have currently configured Akonadi to use the MySQL server '/usr/sbin/mysqld'.
Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld'; its location varies depending on the distribution.

Test 4:  SUCCESS
--------

MySQL server is executable.
Details: MySQL server found: /usr/sbin/mysqld  Ver 5.5.31-log for Linux on x86_64 (Source distribution)


Test 5:  ERROR
--------

MySQL server log contains errors.
Details: The MySQL server error log file &apos;<a href='/home/ryszard/.local/share/akonadi/db_data/mysql.err'>/home/ryszard/.local/share/akonadi/db_data/mysql.err</a>&apos; contains errors.

File content of '/home/ryszard/.local/share/akonadi/db_data/mysql.err':
130627  9:08:27 InnoDB: The InnoDB memory heap is disabled
130627  9:08:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130627  9:08:27 InnoDB: Compressed tables use zlib 1.2.8
130627  9:08:27 InnoDB: Using Linux native AIO
130627  9:08:27 InnoDB: Initializing buffer pool, size = 80.0M
130627  9:08:27 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
130627  9:08:27  InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.


Test 6:  SUCCESS
--------

MySQL server default configuration found.
Details: The default configuration for the MySQL server was found and is readable at <a href='/usr/share/config/akonadi/mysql-global.conf'>/usr/share/config/akonadi/mysql-global.conf</a>.

File content of '/usr/share/config/akonadi/mysql-global.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
# sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
# sql_mode=strict_trans_tables

# DEBUGGING:
# log all queries, useful for debugging but generates an enormous amount of data
# log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for debugging only)
# log_slow_queries=mysql.slow
# long_query_time=1
# log queries not using indices, debug only, disable for production use
# log_queries_not_using_indexes=1
#
# mesure database size and adjust innodb_buffer_pool_size
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");

# NOTES:
# Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)

#expire_logs_days=3

#sync_bin_log=0

# Use UTF-8 encoding for tables
character_set_server=utf8
collation_server=utf8_general_ci

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb

# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
innodb_additional_mem_pool_size=1M

# memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
# Larger values means less I/O
innodb_buffer_pool_size=80M

# Create a .ibd file for each table (default:0)
innodb_file_per_table=1

# Write out the log buffer to the log file at each commit (default:1)
innodb_flush_log_at_trx_commit=2

# Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
# larger values means less I/O
innodb_log_buffer_size=1M

# Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
innodb_log_file_size=64M

# # error log file name, relative to datadir (default:hostname.err)
log_error=mysql.err

# print warnings and connection errors (default:1)
log_warnings=2

# Convert table named to lowercase
lower_case_table_names=1

# Maximum size of one packet or any generated/intermediate string. (default:1M)
max_allowed_packet=32M

# Maximum simultaneous connections allowed (default:100)
max_connections=256

# The two options below make no sense with prepared statements and/or transactions
# (make sense when having the same query multiple times)

# Memory allocated for caching query results (default:0 (disabled))
query_cache_size=0

# Do not cache results (default:1)
query_cache_type=0

# Do not use the privileges mechanisms
skip_grant_tables

# Do not listen for TCP/IP connections at all
skip_networking

# The number of open tables for all threads. (default:64)
table_cache=200

# How many threads the server should cache for reuse (default:0)
thread_cache_size=3

# wait 365d before dropping the DB connection (default:8h)
wait_timeout=31536000

[client]
default-character-set=utf8


Test 7:  SKIP
--------

MySQL server custom configuration not available.
Details: The custom configuration for the MySQL server was not found but is optional.

Test 8:  SUCCESS
--------

MySQL server configuration is usable.
Details: The MySQL server configuration was found at <a href='/home/ryszard/.local/share/akonadi/mysql.conf'>/home/ryszard/.local/share/akonadi/mysql.conf</a> and is readable.

File content of '/home/ryszard/.local/share/akonadi/mysql.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
# sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
# sql_mode=strict_trans_tables

# DEBUGGING:
# log all queries, useful for debugging but generates an enormous amount of data
# log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for debugging only)
# log_slow_queries=mysql.slow
# long_query_time=1
# log queries not using indices, debug only, disable for production use
# log_queries_not_using_indexes=1
#
# mesure database size and adjust innodb_buffer_pool_size
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");

# NOTES:
# Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)

#expire_logs_days=3

#sync_bin_log=0

# Use UTF-8 encoding for tables
character_set_server=utf8
collation_server=utf8_general_ci

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb

# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M)
innodb_additional_mem_pool_size=1M

# memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
# Larger values means less I/O
innodb_buffer_pool_size=80M

# Create a .ibd file for each table (default:0)
innodb_file_per_table=1

# Write out the log buffer to the log file at each commit (default:1)
innodb_flush_log_at_trx_commit=2

# Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
# larger values means less I/O
innodb_log_buffer_size=1M

# Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
innodb_log_file_size=64M

# # error log file name, relative to datadir (default:hostname.err)
log_error=mysql.err

# print warnings and connection errors (default:1)
log_warnings=2

# Convert table named to lowercase
lower_case_table_names=1

# Maximum size of one packet or any generated/intermediate string. (default:1M)
max_allowed_packet=32M

# Maximum simultaneous connections allowed (default:100)
max_connections=256

# The two options below make no sense with prepared statements and/or transactions
# (make sense when having the same query multiple times)

# Memory allocated for caching query results (default:0 (disabled))
query_cache_size=0

# Do not cache results (default:1)
query_cache_type=0

# Do not use the privileges mechanisms
skip_grant_tables

# Do not listen for TCP/IP connections at all
skip_networking

# The number of open tables for all threads. (default:64)
table_cache=200

# How many threads the server should cache for reuse (default:0)
thread_cache_size=3

# wait 365d before dropping the DB connection (default:8h)
wait_timeout=31536000

[client]
default-character-set=utf8


Test 9:  SUCCESS
--------

akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
Result:
Akonadi 1.9.2


Test 10:  ERROR
--------

Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 11:  ERROR
--------

Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 12:  ERROR
--------

Nepomuk search service not registered at D-Bus.
Details: The Nepomuk search service is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 13:  SKIP
--------

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.

Test 14:  ERROR
--------

No resource agents found.
Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/usr/share:/usr/local/share:/usr/share'; make sure this includes all paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
akonadinepomukfeederagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kabcresource.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kcalresource.desktop
kdeaccountsresource.desktop
knutresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
microblog.desktop
mixedmaildirresource.desktop
mtdummyresource.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to '/usr/share:/usr/local/share:/usr/share'

Test 15:  ERROR
--------

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/home/ryszard/.local/share/akonadi/akonadiserver.error'>/home/ryszard/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/ryszard/.local/share/akonadi/akonadiserver.error':
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x458814]
1: akonadiserver() [0x458b51]
2: /lib64/libc.so.6(+0x385c0) [0x7f5bc1dcb5c0]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f5bc1dcb545]
4: /lib64/libc.so.6(abort+0x148) [0x7f5bc1dcc9c8]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f5bc38846c4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77838) [0x7f5bc3884838]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f5bc38849cc]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0xf5d) [0x4c691d]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x45b7d7]
10: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xa5) [0x45c755]
11: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45dd77]
12: akonadiserver(main+0x10a) [0x45230a]
13: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f5bc1db7bf5]
14: akonadiserver() [0x452ae1]
]
"


Test 16:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/ryszard/.local/share/akonadi/akonadiserver.error.old'>/home/ryszard/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/ryszard/.local/share/akonadi/akonadiserver.error.old':
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x458814]
1: akonadiserver() [0x458b51]
2: /lib64/libc.so.6(+0x385c0) [0x7f34af3565c0]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f34af356545]
4: /lib64/libc.so.6(abort+0x148) [0x7f34af3579c8]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f34b0e0f6c4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77838) [0x7f34b0e0f838]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f34b0e0f9cc]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0xf5d) [0x4c691d]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x45b7d7]
10: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xa5) [0x45c755]
11: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45dd77]
12: akonadiserver(main+0x10a) [0x45230a]
13: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f34af342bf5]
14: akonadiserver() [0x452ae1]
]
"


Test 17:  SUCCESS
--------

No current Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its current startup.

Test 18:  SUCCESS
--------

No previous Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its previous startup.

Unable to lock ./ibdata1, error

Last edited by Xywa on Fri Jun 28, 2013 8:48 am; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1355

PostPosted: Thu Jun 27, 2013 9:16 am    Post subject: Reply with quote

In test 15 there appears to be a stack trace so I assume it is crashing, could you report that stack trace and a short description of the problem at https://bugs.gentoo.org?
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 9:29 am    Post subject: Reply with quote

TomWij wrote:
could you report that stack trace

How to do this?

I will try reemerge
4: /lib64/libc.so.6(abort+0x148) [0x7f34af3579c8]
5: /usr/lib64/qt4/libQtCore.so.4 (_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f34b0e0f6c4]
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3839
Location: Irgendwo im Nirgendwo

PostPosted: Thu Jun 27, 2013 9:32 am    Post subject: Reply with quote

Could this be the reason?
https://bugs.kde.org/show_bug.cgi?id=321484
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1355

PostPosted: Thu Jun 27, 2013 9:42 am    Post subject: Reply with quote

No, the stack trace is different as it outputs the message and aborts in another function chain. But seems they report a fix that might be worth verifying:

Quote:
Please replace open_cache with table_open_cache in ~/.local/share/akonadi/mysql.conf.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3839
Location: Irgendwo im Nirgendwo

PostPosted: Thu Jun 27, 2013 9:45 am    Post subject: Reply with quote

TomWij wrote:
No, the stack trace is slightly different. But seems they report a fix that might be worth verifying:

Quote:
Please replace open_cache with table_open_cache in ~/.local/share/akonadi/mysql.conf.

Exactly that comment was the reason I posted the link ;)
If it helps maybe it could be good to place the info in a sticky thread, because I saw this issue several times - without a solution.
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 9:49 am    Post subject: Reply with quote

TomWij wrote:
No, the stack trace is different as it outputs the message and aborts in another function chain. But seems they report a fix that might be worth verifying:

Quote:
Please replace open_cache with table_open_cache in ~/.local/share/akonadi/mysql.conf.


I do not have open_cache in ~/.local/share/akonadi/mysql.conf.
:(

And I think those post above is about 5.6 version, but in Gentoo we have 5.5.32
http://packages.gentoo.org/package/dev-db/mysql
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1355

PostPosted: Thu Jun 27, 2013 9:53 am    Post subject: Reply with quote

Xywa wrote:
TomWij wrote:
could you report that stack trace

How to do this?


After registering, you can follow the steps at https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&format=guided to report a bug; don't worry if you do something wrong, we check the bug before forwarding it to the maintainers.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 10:00 am    Post subject: Reply with quote

Many thanks for the answer.

Before posting a bug, I would like with your help to fix it.

Let sumarize:
1. Today morning kmail was working fine.
2. Later I did emerge -uDN world, emerge --depclean, revdep-rebuild.
3. After this reboot (I think) kmail stopped work (so I am not sure if this problem is conected to Gentoo or Akonadi).

So maybe one of last time updated packages or maybe emerge --depclean did something.
Bellow is list last 3 days updates by genlop -lu, I do not know how to find those packages remowed last time by emerge --depclean. I think revdep-rebuild was clean for 99%.

Code:
     Tue Jun 25 07:15:29 2013 <<< sys-apps/portage-2.1.12.9                                                                                                   
     Tue Jun 25 07:15:35 2013 >>> sys-apps/portage-2.1.12.10                                                                                                 
     Tue Jun 25 07:17:15 2013 <<< dev-cpp/tbb-4.1.20130116-r1                                                                                                 
     Tue Jun 25 07:17:18 2013 >>> dev-cpp/tbb-4.1.20130613                                                                                                   
     Tue Jun 25 07:17:35 2013 <<< sci-libs/suitesparseconfig-4.0.2                                                                                           
     Tue Jun 25 07:17:38 2013 >>> sci-libs/suitesparseconfig-4.2.1                                                                                           
     Tue Jun 25 07:18:56 2013 >>> dev-python/pygobject-3.4.2-r1                                                                                               
     Tue Jun 25 08:50:33 2013 <<< dev-python/PyQt4-4.10.1                                                                                                     
     Tue Jun 25 08:50:36 2013 >>> dev-python/PyQt4-4.10.2                                                                                                     
     Tue Jun 25 08:50:55 2013 <<< net-misc/wicd-1.7.2.4-r2                                                                                                   
     Tue Jun 25 08:50:58 2013 >>> net-misc/wicd-1.7.2.4-r3                                                                                                   
     Tue Jun 25 08:52:30 2013 <<< net-print/hplip-3.13.5                                                                                                     
     Tue Jun 25 08:52:34 2013 >>> net-print/hplip-3.13.6                                                                                                     
     Tue Jun 25 09:46:41 2013 <<< www-client/firefox-bin-21.0                                                                                                 
     Tue Jun 25 09:50:20 2013 >>> www-client/firefox-bin-21.0                                                                                                 
     Tue Jun 25 10:00:35 2013 <<< sys-apps/file-5.12-r1                                                                                                       
     Tue Jun 25 10:00:38 2013 >>> sys-apps/file-5.12-r1                                                                                                       
     Tue Jun 25 10:00:57 2013 <<< sys-libs/cracklib-2.9.0                                                                                                     
     Tue Jun 25 10:01:00 2013 >>> sys-libs/cracklib-2.9.0                                                                                                     
     Tue Jun 25 10:01:20 2013 <<< media-libs/libiptcdata-1.0.4                                                                                               
     Tue Jun 25 10:01:23 2013 >>> media-libs/libiptcdata-1.0.4                                                                                               
     Tue Jun 25 10:01:48 2013 <<< dev-libs/libgamin-0.1.10-r3                                                                                                 
     Tue Jun 25 10:01:50 2013 >>> dev-libs/libgamin-0.1.10-r3                                                                                                 
     Tue Jun 25 10:02:16 2013 <<< sys-libs/libcap-ng-0.7.3                                                                                                   
     Tue Jun 25 10:02:19 2013 >>> sys-libs/libcap-ng-0.7.3                                                                                                   
     Tue Jun 25 10:02:33 2013 <<< media-libs/portmidi-217                                                                                                     
     Tue Jun 25 10:02:35 2013 >>> media-libs/portmidi-217                                                                                                     
     Tue Jun 25 10:48:35 2013 <<< www-client/firefox-bin-21.0                                                                                                 
     Tue Jun 25 10:49:06 2013 >>> x11-libs/startup-notification-0.12                                                                                         
     Tue Jun 25 11:56:53 2013 >>> www-client/firefox-21.0                                                                                                     
     Tue Jun 25 12:03:21 2013 <<< www-client/firefox-21.0                                                                                                     
     Tue Jun 25 12:04:39 2013 >>> www-client/firefox-bin-21.0                                                                                                 
     Tue Jun 25 12:07:16 2013 >>> dev-libs/libIDL-0.8.14                                                                                                     
     Tue Jun 25 12:08:24 2013 >>> gnome-base/orbit-2.14.19-r3                                                                                                 
     Tue Jun 25 12:09:02 2013 >>> gnome-base/gconf-3.2.6-r1                                                                                                   
     Tue Jun 25 12:09:28 2013 <<< www-client/firefox-bin-21.0                                                                                                 
     Tue Jun 25 12:09:33 2013 >>> www-client/firefox-bin-17.0.6                                                                                               
     Tue Jun 25 13:40:40 2013 <<< www-client/firefox-bin-17.0.6                                                                                               
     Tue Jun 25 13:40:50 2013 >>> www-client/firefox-bin-21.0                                                                                                 
     Tue Jun 25 13:41:47 2013 <<< x11-drivers/xf86-video-intel-2.21.10                                                                                       
     Tue Jun 25 13:41:49 2013 >>> x11-drivers/xf86-video-intel-2.21.9                                                                                         
     Wed Jun 26 07:03:34 2013 <<< www-client/firefox-bin-21.0                                                                                                 
     Wed Jun 26 07:03:43 2013 >>> www-client/firefox-bin-22.0                                                                                                 
     Wed Jun 26 07:06:51 2013 <<< x11-base/xorg-server-1.14.1.901                                                                                             
     Wed Jun 26 07:06:58 2013 >>> x11-base/xorg-server-1.14.2                                                                                                 
     Wed Jun 26 07:07:50 2013 <<< x11-drivers/xf86-video-intel-2.21.9                                                                                         
     Wed Jun 26 07:07:53 2013 >>> x11-drivers/xf86-video-intel-2.21.9                                                                                         
     Wed Jun 26 07:08:12 2013 <<< x11-drivers/xf86-input-evdev-2.8.0                                                                                         
     Wed Jun 26 07:08:15 2013 >>> x11-drivers/xf86-input-evdev-2.8.0                                                                                         
     Wed Jun 26 07:15:17 2013 <<< gnome-base/gconf-3.2.6-r1                                                                                                   
     Wed Jun 26 07:15:20 2013 <<< x11-libs/startup-notification-0.12                                                                                         
     Wed Jun 26 07:15:26 2013 <<< gnome-base/orbit-2.14.19-r3                                                                                                 
     Wed Jun 26 07:15:30 2013 <<< dev-libs/libIDL-0.8.14                                                                                                     
     Wed Jun 26 20:07:59 2013 <<< media-libs/libogg-1.3.0                                                                                                     
     Wed Jun 26 20:08:03 2013 >>> media-libs/libogg-1.3.1                                                                                                     
     Wed Jun 26 20:08:17 2013 <<< media-sound/gsm-1.0.13
     Wed Jun 26 20:08:20 2013 >>> media-sound/gsm-1.0.13-r1
     Wed Jun 26 20:08:43 2013 <<< media-libs/xvid-1.3.2
     Wed Jun 26 20:08:47 2013 >>> media-libs/xvid-1.3.2-r1
     Wed Jun 26 20:09:14 2013 <<< media-libs/libvpx-1.1.0
     Wed Jun 26 20:09:18 2013 >>> media-libs/libvpx-1.2.0_pre20130625
     Wed Jun 26 20:09:28 2013 <<< app-emulation/emul-linux-x86-medialibs-20130224
     Wed Jun 26 20:09:31 2013 >>> app-emulation/emul-linux-x86-medialibs-20130224-r1
     Wed Jun 26 20:09:40 2013 <<< app-emulation/emul-linux-x86-soundlibs-20130224
     Wed Jun 26 20:09:42 2013 >>> app-emulation/emul-linux-x86-soundlibs-20130224-r1
     Wed Jun 26 20:10:15 2013 <<< media-libs/libvorbis-1.3.3
     Wed Jun 26 20:10:18 2013 >>> media-libs/libvorbis-1.3.3-r1
     Wed Jun 26 20:10:56 2013 <<< media-sound/lame-3.99.5
     Wed Jun 26 20:10:59 2013 >>> media-sound/lame-3.99.5-r1
     Wed Jun 26 20:11:45 2013 <<< x11-drivers/nvidia-drivers-319.23
     Wed Jun 26 20:11:56 2013 >>> x11-drivers/nvidia-drivers-319.32
     Wed Jun 26 20:12:02 2013 <<< virtual/ffmpeg-0.10.3
     Wed Jun 26 20:12:04 2013 >>> virtual/ffmpeg-9
     Wed Jun 26 20:13:00 2013 <<< media-video/mplayer2-2.0_p20130126
     Wed Jun 26 20:13:03 2013 >>> media-video/mplayer2-2.0_p20130428
     Wed Jun 26 20:16:23 2013 <<< x11-drivers/xf86-video-intel-2.21.9
     Wed Jun 26 20:16:26 2013 >>> x11-drivers/xf86-video-intel-2.21.10-r1
     Thu Jun 27 07:05:41 2013 <<< app-emulation/emul-linux-x86-soundlibs-20130224-r1
     Thu Jun 27 07:05:44 2013 >>> app-emulation/emul-linux-x86-soundlibs-20130224-r2
     Thu Jun 27 07:06:37 2013 <<< media-libs/alsa-lib-1.0.27-r2
     Thu Jun 27 07:06:40 2013 >>> media-libs/alsa-lib-1.0.27.1
     Thu Jun 27 07:07:23 2013 <<< media-libs/flac-1.2.1-r4
     Thu Jun 27 07:07:27 2013 >>> media-libs/flac-1.2.1-r5
     Thu Jun 27 07:08:02 2013 <<< media-libs/audiofile-0.3.6
     Thu Jun 27 07:08:06 2013 >>> media-libs/audiofile-0.3.6-r1
     Thu Jun 27 07:16:01 2013 <<< dev-db/mysql-5.5.32
     Thu Jun 27 07:16:05 2013 >>> dev-db/mysql-5.5.32
     Thu Jun 27 08:37:42 2013 <<< dev-db/mysql-5.5.32
     Thu Jun 27 08:37:46 2013 >>> dev-db/mysql-5.5.31
     Thu Jun 27 08:52:59 2013 <<< dev-db/mysql-5.5.31
     Thu Jun 27 08:53:02 2013 >>> dev-db/mysql-5.5.31
     Thu Jun 27 09:21:41 2013 <<< app-office/akonadi-server-1.9.2
     Thu Jun 27 09:21:45 2013 >>> app-office/akonadi-server-1.9.2
     Thu Jun 27 10:40:32 2013 <<< sys-libs/glibc-2.17
     Thu Jun 27 10:44:55 2013 >>> sys-libs/glibc-2.17
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1355

PostPosted: Thu Jun 27, 2013 10:19 am    Post subject: Reply with quote

There is no solution as long as the problem is not understood, for which the stack trace needs to be investigated; the maintainers and developers can do this for you, unless you really want to debug this at a lower level yourself which requires some programming knowledge (what the stack is, what a stack trace is, how to read a stack trace, how the program works internally, what the program is doing, ...).
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 10:34 am    Post subject: Reply with quote

TomWij wrote:
There is no solution as long as the problem is not understood, for which the stack trace needs to be investigated; the maintainers and developers can do this for you, unless you really want to debug this at a lower level yourself which requires some programming knowledge (what the stack is, what a stack trace is, how to read a stack trace, how the program works internally, what the program is doing, ...).


Ok, thank you for the answer. I did as you said:
https://bugs.gentoo.org/show_bug.cgi?id=474964

hopefully someone will fix it as I have no mail program and all my mails now :(
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2061
Location: Near Toronto

PostPosted: Thu Jun 27, 2013 11:47 am    Post subject: Reply with quote

this is trivial but if you run akonadictl status and akonadictl start
in a terminal, what is the output?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 12:35 pm    Post subject: Reply with quote

albright wrote:
this is trivial but if you run akonadictl status and akonadictl start
in a terminal, what is the output?


Code:
$ akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: not available


Code:
$ mysql_upgrade -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
FATAL ERROR: Upgrade failed


Code:
$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
ryszard@tux ~ $ search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x458804]
1: akonadiserver() [0x458c31]
2: /lib64/libc.so.6(+0x38540) [0x7f2aacf50540]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f2aacf504c5]
4: /lib64/libc.so.6(abort+0x148) [0x7f2aacf51948]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f2aaea096c4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77838) [0x7f2aaea09838]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f2aaea099cc]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0xf5d) [0x4c68ed]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x45b7c7]
10: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xa5) [0x45d575]
11: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45eb97]
12: akonadiserver(main+0x10a) [0x4522fa]
13: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f2aacf3cbf5]
14: akonadiserver() [0x452ad1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x458804]
1: akonadiserver() [0x458c31]
2: /lib64/libc.so.6(+0x38540) [0x7f18c7826540]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f18c78264c5]
4: /lib64/libc.so.6(abort+0x148) [0x7f18c7827948]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f18c92df6c4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77838) [0x7f18c92df838]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f18c92df9cc]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0xf5d) [0x4c68ed]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x45b7c7]
10: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xa5) [0x45d575]
11: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45eb97]
12: akonadiserver(main+0x10a) [0x4522fa]
13: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f18c7812bf5]
14: akonadiserver() [0x452ad1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x458804]
1: akonadiserver() [0x458c31]
2: /lib64/libc.so.6(+0x38540) [0x7f125622e540]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f125622e4c5]
4: /lib64/libc.so.6(abort+0x148) [0x7f125622f948]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f1257ce76c4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77838) [0x7f1257ce7838]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f1257ce79cc]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0xf5d) [0x4c68ed]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x45b7c7]
10: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xa5) [0x45d575]
11: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45eb97]
12: akonadiserver(main+0x10a) [0x4522fa]
13: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f125621abf5]
14: akonadiserver() [0x452ad1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158
"[
0: akonadiserver(_Z11akBacktracev+0x34) [0x458804]
1: akonadiserver() [0x458c31]
2: /lib64/libc.so.6(+0x38540) [0x7fc82219e540]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fc82219e4c5]
4: /lib64/libc.so.6(abort+0x148) [0x7fc82219f948]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fc823c576c4]
6: /usr/lib64/qt4/libQtCore.so.4(+0x77838) [0x7fc823c57838]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7fc823c579cc]
8: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0xf5d) [0x4c68ed]
9: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7) [0x45b7c7]
10: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xa5) [0x45d575]
11: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45eb97]
12: akonadiserver(main+0x10a) [0x4522fa]
13: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fc82218abf5]
14: akonadiserver() [0x452ad1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!

Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 1:12 pm    Post subject: Reply with quote

I have found this:
http://forum.kde.org/viewtopic.php?f=60&t=96623&hilit=akonadi+registered

and the developer says:
Quote:
This indicates two things:
1) Your Qt build was done without MySQL support built in.
2) Some form of permissions is preventing MySQL from writing to it's database files.

The database files are usually at ~/.local/share/akonadi/db_data/ (where ~ is /Users/jsisney on your system)

If you want to remove your entire Akonadi configuration, remove the following:
~/.local/share/akonadi/
~/.config/akonadi/
~/.kde4/share/config/akonadi*


1) What QT does he mean?
2) Do you think if will remove all configuration above^^ will it be safe for my database?
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1355

PostPosted: Thu Jun 27, 2013 1:28 pm    Post subject: Reply with quote

Don't rely on errors that look like yours but are not the same.

Quote:
QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3 QMYSQL


This is from your error and indicates that it does support MySQL in your case.

Quote:
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158


This is the assert that fails and is listed above the stack trace (I spotted it just now), what this denotes is that there is an incompatibilty between MySQL and Akonadi Server, the assert says a certain SQL specific feature is missing. A temporary fix might be to downgrade MySQL and rebuild QtCore and Akonadi Server (such that they are build against the downgraded MySQL), I think you didn't do the rebuild and therefore didn't see the fix. There might be a slight chance that it is in a non downgradable state, as sometimes a database is upgraded with new features that disallows older versions from using it.

If you do decide to remove anything, back it up instead so you can roll back.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 1:39 pm    Post subject: Reply with quote

I was trying Toady everything, even downgrading mysql to previous and previous stable version:
Quote:
Thu Jun 27 12:20:28 2013 <<< dev-db/mysql-5.1.67
Thu Jun 27 12:20:33 2013 >>> dev-db/mysql-5.5.32
Thu Jun 27 12:20:39 2013 <<< virtual/mysql-5.1
Thu Jun 27 12:20:41 2013 >>> virtual/mysql-5.5

but... I did not rebuild after that QtCore and Akonadi Server, so I will try now again, form the newest mysql version an will let you know.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 5:18 pm    Post subject: Reply with quote

I did downgrade mysql to 5.5.31 and reemerged QtCore and Akonadi Server - still problem.
I did the same for mysql to 5.5.32 and reemerged QtCore and Akonadi Server - the same.

I did remove entire Akonadi configuration, but did not help.
~/.local/share/akonadi/
~/.config/akonadi/
~/.kde4/share/config/akonadi*

Looks like there is a problem with mysql. Many thanks for help.

:( :( :( :( :( :(
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1355

PostPosted: Thu Jun 27, 2013 5:35 pm    Post subject: Reply with quote

Another Gentoo Developer responded on your bug, see https://bugs.gentoo.org/show_bug.cgi?id=474964#c1. Sounds like you could disable Akonadi temporarily as a workaround.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 6:15 pm    Post subject: Reply with quote

TomWij wrote:
Another Gentoo Developer responded on your bug, see https://bugs.gentoo.org/show_bug.cgi?id=474964#c1. Sounds like you could disable Akonadi temporarily as a workaround.


Thx. I wrote a respone to him.

I do not know how to swich off akonadi or why this MySql doesn't work. I will wait for his answer.
Back to top
View user's profile Send private message
bec
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2004
Posts: 146
Location: Cali - Colombia

PostPosted: Thu Jun 27, 2013 6:47 pm    Post subject: Reply with quote

I have the same problem with mysql-5.5.31. It borks kdepim and amarok for me!
_________________
abe
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Jun 27, 2013 8:05 pm    Post subject: Reply with quote

bec wrote:
I have the same problem with mysql-5.5.31. It borks kdepim and amarok for me!


I did try 5.5.31, 5.5.32 so I will try maybe any older 5.5.30.


Back to this error:
Quote:
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158


/mnt/video/tmp/portage/
^^ This is a place of temporary emerge files. Why akonadi is trying to use temporaryfiles during start?

Back to this error:
Quote:
ASSERT: "database.driver()->hasFeature( QSqlDriver::LastInsertId )" in file /mnt/video/tmp/portage/app-office/akonadi-server-1.9.2/work/akonadi-1.9.2/server/src/storage/dbconfigmysql.cpp, line 158


I have bolded 158 line:
Quote:
void DbConfigMysql::apply( QSqlDatabase &database )
{
if ( !mDatabaseName.isEmpty() )
database.setDatabaseName( mDatabaseName );
if ( !mHostName.isEmpty() )
database.setHostName( mHostName );
if ( !mUserName.isEmpty() )
database.setUserName( mUserName );
if ( !mPassword.isEmpty() )
database.setPassword( mPassword );

database.setConnectOptions( mConnectionOptions );

// can we check that during init() already?
Q_ASSERT( database.driver()->hasFeature( QSqlDriver::LastInsertId ) );
}



or maybe this is a clue?
Quote:
* Messages for package dev-db/mysql-5.5.31:

* One or more symlinks to directories have been preserved in order to
* ensure that files installed via these symlinks remain accessible. This
* indicates that the mentioned symlink(s) may be obsolete remnants of an
* old install, and it may be appropriate to replace a given symlink with
* the directory that it points to.
*
* /var/run


Myabe another clue?
Quote:
$ mysql stop
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ryszard@tux ~ $ mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Fri Jun 28, 2013 6:17 am    Post subject: Reply with quote

Some clue from Today:
Quote:
It looks you have another MySQL instance running and accessing the Akonadi database. Is there a specific reason why you configured it to use the system MySQL?

http://forum.kde.org/viewtopic.php?f=215&t=111704&p=267446#p267446
Back to top
View user's profile Send private message
Fijoldar
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2013
Posts: 139
Location: GER / FFM

PostPosted: Fri Jun 28, 2013 7:02 am    Post subject: Reply with quote

Same problem here with mariadb (dev-db/mariadb-5.5.31).

These packages have been updated yesterday:
Code:
     Thu Jun 27 13:40:16 2013 <<< media-libs/libogg-1.3.0
     Thu Jun 27 13:40:19 2013 >>> media-libs/libogg-1.3.1
     Thu Jun 27 13:40:41 2013 <<< media-libs/xvid-1.3.2
     Thu Jun 27 13:40:43 2013 >>> media-libs/xvid-1.3.2-r1
     Thu Jun 27 13:41:34 2013 <<< media-libs/alsa-lib-1.0.27-r2
     Thu Jun 27 13:41:36 2013 >>> media-libs/alsa-lib-1.0.27.1
     Thu Jun 27 13:42:12 2013 <<< media-libs/libvorbis-1.3.3
     Thu Jun 27 13:42:15 2013 >>> media-libs/libvorbis-1.3.3-r1
     Thu Jun 27 13:42:50 2013 <<< media-libs/libmodplug-0.8.8.4
     Thu Jun 27 13:42:53 2013 >>> media-libs/libmodplug-0.8.8.4-r1
     Thu Jun 27 13:45:11 2013 <<< media-libs/flac-1.2.1-r4
     Thu Jun 27 13:45:14 2013 >>> media-libs/flac-1.2.1-r5
     Thu Jun 27 13:45:54 2013 <<< media-libs/audiofile-0.3.6
     Thu Jun 27 13:45:57 2013 >>> media-libs/audiofile-0.3.6-r1
     Thu Jun 27 13:46:10 2013 <<< app-emulation/emul-linux-x86-medialibs-20130224
     Thu Jun 27 13:46:13 2013 >>> app-emulation/emul-linux-x86-medialibs-20130224-r1
     Thu Jun 27 13:46:24 2013 <<< app-emulation/emul-linux-x86-soundlibs-20130224
     Thu Jun 27 13:46:27 2013 >>> app-emulation/emul-linux-x86-soundlibs-20130224-r2
     Thu Jun 27 13:53:21 2013 <<< dev-db/mariadb-5.5.31
     Thu Jun 27 13:53:26 2013 >>> dev-db/mariadb-5.5.31
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3839
Location: Irgendwo im Nirgendwo

PostPosted: Fri Jun 28, 2013 7:09 am    Post subject: Reply with quote

Xywa wrote:
TomWij wrote:
No, the stack trace is different as it outputs the message and aborts in another function chain. But seems they report a fix that might be worth verifying:

Quote:
Please replace open_cache with table_open_cache in ~/.local/share/akonadi/mysql.conf.


I do not have open_cache in ~/.local/share/akonadi/mysql.conf.

OK, I just read the original bug report (the one the linked one was marked as DUP of), and I saw the short comment of the dev contained a (fatal) error:
Not open_cache should be replaced, but table_cache - that variable is actually inside you config file.
So, in short:
replace table_cache with table_open_cache in the mentioned mysql.conf

reference:
https://bugs.kde.org/show_bug.cgi?id=319016#c2
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Fri Jun 28, 2013 8:26 am    Post subject: Reply with quote

franzf wrote:
OK, I just read the original bug report (the one the linked one was marked as DUP of), and I saw the short comment of the dev contained a (fatal) error:
Not open_cache should be replaced, but table_cache - that variable is actually inside you config file.
So, in short:
replace table_cache with table_open_cache in the mentioned mysql.conf


You are a genuis! This did the job, SOLVED! :P :P :P :P :P :P :P :P :P :P :P :P :P :P :P
Everything works fine! May thanks!!!!!

So the sollution is:
Quote:
Rename table_cache to table_open_cache

table_cache is deprecated since MySQL 5.1.3 (released in Nov. 2005) and was completely removed in MySQL >= 5.6

https://bugs.kde.org/show_bug.cgi?id=319016#c2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum