KMail fails to start due to Akanodi not starting

Greetings,

When trying to start KMail it attempts to start Akanodi, this fails and so does KMail.

The only solutions I could find are here: Akonadi 4.4/Troubleshooting - KDE UserBase

These did not work

Anyone else have this issue, or know of the fix ?
Thanks.

Akonadi Server Self-Test Report:
Test 9: 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 10: 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 11: 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 12: 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 13: 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:/etc/opt/kde3/share:/opt/kde3/share’, make sure this includes all paths where Akonadi agents are installed to.

Directory listing of ‘/usr/share/akonadi/agents’:
birthdaysresource.desktop
contactsresource.desktop
gcalresource.desktop
googledataresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mboxresource.desktop
microblog.desktop
mtdummyresource.desktop
nepomukcalendarfeeder.desktop
nepomukcontactfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to ‘/usr/share:/etc/opt/kde3/share:/opt/kde3/share’

Test 14: ERROR

Current Akonadi server error log found.
Details: The Akonadi server did report error during startup into <a href=’/root/.local/share/akonadi/akonadiserver.error’>/root/.local/share/akonadi/akonadiserver.error</a>.

File content of ‘/root/.local/share/akonadi/akonadiserver.error’:
"
0: akonadiserver(_Z11akBacktracev+0x39) [0x40c5d9]
1: akonadiserver() [0x40cb42]
2: /lib64/libc.so.6(+0x32a60) [0x7fc32c30aa60]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fc32c30a9e5]
4: /lib64/libc.so.6(abort+0x186) [0x7fc32c30bee6]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fc32d4e8984]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xab) [0x40e45b]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7fc32d573c37]
8: /usr/lib64/libQtCore.so.4(+0x103026) [0x7fc32d57c026]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7fc32d584efb]
10: /usr/lib64/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x4b) [0x7fc32d93b47b]
11: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer25startMysqlDatabaseProcessEv+0x1b8a) [0x7fc32d94776a]
12: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x2e8) [0x7fc32d94a288]
13: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x76) [0x7fc32d94a6b6]
14: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x4a) [0x7fc32d94bdba]
15: akonadiserver(main+0x217) [0x406767]
16: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fc32c2f6b7d]
17: akonadiserver() [0x406459]
]
"

Test 15: ERROR

Previous Akonadi server error log found.
Details: The Akonadi server did report error during its previous startup into <a href=’/root/.local/share/akonadi/akonadiserver.error.old’>/root/.local/share/akonadi/akonadiserver.error.old</a>.

File content of ‘/root/.local/share/akonadi/akonadiserver.error.old’:
"
0: akonadiserver(_Z11akBacktracev+0x39) [0x40c5d9]
1: akonadiserver() [0x40cb42]
2: /lib64/libc.so.6(+0x32a60) [0x7fa6a29e9a60]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fa6a29e99e5]
4: /lib64/libc.so.6(abort+0x186) [0x7fa6a29eaee6]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7fa6a3bc7984]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xab) [0x40e45b]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7fa6a3c52c37]
8: /usr/lib64/libQtCore.so.4(+0x103026) [0x7fa6a3c5b026]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7fa6a3c63efb]
10: /usr/lib64/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x4b) [0x7fa6a401a47b]
11: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer25startMysqlDatabaseProcessEv+0x1b8a) [0x7fa6a402676a]
12: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x2e8) [0x7fa6a4029288]
13: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x76) [0x7fa6a40296b6]
14: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x4a) [0x7fa6a402adba]
15: akonadiserver(main+0x217) [0x406767]
16: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fa6a29d5b7d]
17: akonadiserver() [0x406459]
]
"
Image: Akanodi startup dialog::
http://archive.dragnux.org/Images/Akanodi_Error.png

Same here. I added a new adressbook and choose Personal contacts from the list. At least for now it works again. This may have to do with the No resource agents found message in your log.

I had the same problem and I tried any recommended solution I could find. Nothing worked. I have done a new install now and all works fine. Amazingly, I was installing on 5 computers - always the same procedure I thought (In hindsight I am actually not sure anymore if I copied the Akregator files and directory only to this failing computer and if this could have caused the problem) - but only one failed. The procedure I followed was to copy all files as per the “Migrating your setup to a new distro” on the KDE Kontact page Kontact - KDE UserBase (except that I left the Akregator part out) before starting Kontact for the first time.

Oh its not just me. Oh whatever will we do!!