akonadi suddenly won't start

D. R. Evans doc.evans at gmail.com
Mon Aug 19 15:53:55 BST 2013


Running 64-bit Kubuntu 13.04, completely up-to-date.

Suddenly this morning akonadi won't start. It worked fine yesterday.
akonaditray says:

----

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/n7dr/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL

[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/n7dr/.local/share/akonadi/socket-homebrew/mysql.socket"
ServerPath=/usr/sbin/mysqld-akonadi
StartServer=false

[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:  SKIP
--------

MySQL server executable not tested.
Details: The current configuration does not require an internal MySQL server.

Test 4:  SKIP
--------

MySQL server error log not tested.
Details: The current configuration does not require an internal MySQL server.

Test 5:  SKIP
--------

MySQL server configuration not tested.
Details: The current configuration does not require an internal MySQL server.

Test 6:  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.1


Test 7:  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 8:  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 9:  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 10:  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 11:  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/share/kde-plasma:/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
facebookresource.desktop
googlecalendarresource.desktop
googlecontactsresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kabcresource.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kcalresource.desktop
kdeaccountsresource.desktop
knutresource.desktop
kolabproxyresource.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/share/kde-plasma:/usr/local/share/:/usr/share/'

Test 12:  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/n7dr/.local/share/akonadi/akonadiserver.error'>/home/n7dr/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/n7dr/.local/share/akonadi/akonadiserver.error':
Database error: Cannot open database.
  Last driver error: "QMYSQL: Unable to connect"
  Last database error: "Can't connect to local MySQL server through socket
'/home/n7dr/.local/share/akonadi/socket-homebrew/mysql.socket' (2)"
Unable to open database "Can't connect to local MySQL server through socket
'/home/n7dr/.local/share/akonadi/socket-homebrew/mysql.socket' (2) QMYSQL:
Unable to connect"
"[
0: akonadiserver() [0x418114]
1: akonadiserver() [0x418541]
2: /lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7fea6ba980b0]
3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fea6ba98037]
4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fea6ba9b698]
5:
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122)
[0x7fea6d54b5c2]
6: akonadiserver() [0x41a3eb]
7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4)
[0x7fea6d5e59f4]
8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x11662f) [0x7fea6d5f062f]
9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b)
[0x7fea6d5f8bcb]
10: akonadiserver() [0x41d2cd]
11: akonadiserver() [0x41e487]
12: akonadiserver() [0x411f43]
13: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fea6ba82ea5]
14: akonadiserver() [0x4128d1]
]
"


Test 13:  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/n7dr/.local/share/akonadi/akonadiserver.error.old'>/home/n7dr/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/n7dr/.local/share/akonadi/akonadiserver.error.old':
Database error: Cannot open database.
  Last driver error: "QMYSQL: Unable to connect"
  Last database error: "Can't connect to local MySQL server through socket
'/home/n7dr/.local/share/akonadi/socket-homebrew/mysql.socket' (2)"
Unable to open database "Can't connect to local MySQL server through socket
'/home/n7dr/.local/share/akonadi/socket-homebrew/mysql.socket' (2) QMYSQL:
Unable to connect"
"[
0: akonadiserver() [0x418114]
1: akonadiserver() [0x418541]
2: /lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7f452aab70b0]
3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f452aab7037]
4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f452aaba698]
5:
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122)
[0x7f452c56a5c2]
6: akonadiserver() [0x41a3eb]
7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4)
[0x7f452c6049f4]
8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x11662f) [0x7f452c60f62f]
9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b)
[0x7f452c617bcb]
10: akonadiserver() [0x41d2cd]
11: akonadiserver() [0x41e487]
12: akonadiserver() [0x411f43]
13: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f452aaa1ea5]
14: akonadiserver() [0x4128d1]
]
"


Test 14:  SUCCESS
--------

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

Test 15:  SUCCESS
--------

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

----

Normally one starts to debug things by looking at the first error, but that's
not proven to be a very useful approach to akonadi stuff in the past, since
it's so pervasive. Anyway, the first set of errors above seem to be related to
dbus, but they aren't very helpful at suggesting what might be wrong and how
to fix it.

FWIW, I have rebooted (twice) but the above set of errors is consistent. I
repeat that this all worked yesterday. Goodness knows what it thinks has changed.

  Doc

-- 
Web:  http://www.sff.net/people/N7DR





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde/attachments/20130819/6b193b25/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list