This forum has been archived. All content is frozen. Please use KDE Discuss instead.

akonadi server/client doesnt connect to dbus

Tags: None
(comma "," separated)
xxtjaxx
Registered Member
Posts
58
Karma
0
OS
hi everyone
I recently tried to get akonadi going.
I use sidux 2009-2
this is the out put of the test log:
Code: Select all
Akonadi Server Self-Test Report
===============================

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

Database driver found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration.
The following drivers are installed: QSQLITE, QMYSQL3, QMYSQL.
Make sure the required driver is installed.

File content of '/home/andreas/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL
SizeThreshold=4096
ExternalPayload=false

[QMYSQL]
Name=akonadi
User=
Password=
Options="UNIX_SOCKET=/home/andreas/.local/share/akonadi/db_misc/mysql.socket"
StartServer=false
ServerPath=/usr/sbin/mysqld
Host=

[Debug]
Tracer=null


Test 2:  SKIP
--------

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

Test 3:  SKIP
--------

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

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

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

Test 5:  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.2.0


Test 6:  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 7:  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 8:  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 9:  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 /usr/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/usr/share:/usr/share:/usr/local/share', make sure this includes all paths where Akonadi agents are installed to.

Directory listing of '/usr/share/akonadi/agents':
birthdaysresource.desktop
distlistresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
knutresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
microblog.desktop
nepomukcontactfeeder.desktop
nepomukemailfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
strigifeeder.desktop
vcarddirresource.desktop
vcardresource.desktop
Directory listing of '/usr/share/akonadi/agents':
birthdaysresource.desktop
distlistresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
knutresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
microblog.desktop
nepomukcontactfeeder.desktop
nepomukemailfeeder.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
strigifeeder.desktop
vcarddirresource.desktop
vcardresource.desktop

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

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

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

File content of '/home/andreas/.local/share/akonadi/akonadiserver.error':
Unable to open database "Can't connect to local MySQL server through socket '/home/andreas/.local/share/akonadi/db_misc/mysql.socket' (2) QMYSQL: Unable to connect"
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x40b2d9]
1: akonadiserver [0x40b812]
2: /lib/libc.so.6 [0x7f86a0e8cdb0]
3: /lib/libc.so.6(gsignal+0x35) [0x7f86a0e8cd25]
4: /lib/libc.so.6(abort+0x181) [0x7f86a0e8fde1]
5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x85) [0x7f86a1e10685]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c4f8]
7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x81) [0x7f86a1e9b491]
8: /usr/lib/libQtCore.so.4 [0x7f86a1ea7582]
9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7f86a1ea7828]
10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x406e1b]
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x557) [0x7f86a2467a77]
12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7f86a2468807]
13: akonadiserver(main+0x366) [0x4061d6]
14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f86a0e795c6]
15: akonadiserver [0x405d79]
]
"


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

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

File content of '/home/andreas/.local/share/akonadi/akonadiserver.error.old':
Unable to open database "Can't connect to local MySQL server through socket '/home/andreas/.local/share/akonadi/db_misc/mysql.socket' (2) QMYSQL: Unable to connect"
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x40b2d9]
1: akonadiserver [0x40b812]
2: /lib/libc.so.6 [0x7f8cb1a01db0]
3: /lib/libc.so.6(gsignal+0x35) [0x7f8cb1a01d25]
4: /lib/libc.so.6(abort+0x181) [0x7f8cb1a04de1]
5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x85) [0x7f8cb2985685]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c4f8]
7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x81) [0x7f8cb2a10491]
8: /usr/lib/libQtCore.so.4 [0x7f8cb2a1c582]
9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7f8cb2a1c828]
10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x406e1b]
11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x557) [0x7f8cb2fdca77]
12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7f8cb2fdd807]
13: akonadiserver(main+0x366) [0x4061d6]
14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f8cb19ee5c6]
15: akonadiserver [0x405d79]
]
"


Test 12:  SUCCESS
--------

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

Test 13:  SUCCESS
--------

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


the output of akonadictl start is :
Code: Select all
_misc/mysql.socket' (2) QMYSQL: Unable to connect"                                                                                                                                 
[akonadiserver] "[                                                                                                                                                                 
[akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x39) [0x40b2d9]                                                                                                                 
[akonadiserver] 1: akonadiserver [0x40b812]                                                                                                                                         
[akonadiserver] 2: /lib/libc.so.6 [0x7f7f884c0db0]                                                                                                                                 
[akonadiserver] 3: /lib/libc.so.6(gsignal+0x35) [0x7f7f884c0d25]                                                                                                                   
[akonadiserver] 4: /lib/libc.so.6(abort+0x181) [0x7f7f884c3de1]                                                                                                                     
[akonadiserver] 5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x85) [0x7f7f89444685]                                                                               
[akonadiserver] 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c4f8]                                                                                               
[akonadiserver] 7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x81) [0x7f7f894cf491]                                                                                         
[akonadiserver] 8: /usr/lib/libQtCore.so.4 [0x7f7f894db582]                                                                                                                         
[akonadiserver] 9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7f7f894db828]                                                                                             
[akonadiserver] 10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x406e1b]                                                                                                                   
[akonadiserver] 11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x557) [0x7f7f89a9ba77]                                                                 
[akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7f7f89a9c807]                                                                   
[akonadiserver] 13: akonadiserver(main+0x366) [0x4061d6]                                                                                                                           
[akonadiserver] 14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f7f884ad5c6]                                                                                                         
[akonadiserver] 15: akonadiserver [0x405d79]                                                                                                                                       
[akonadiserver] ]                                                                                                                                                                   
[akonadiserver] "                                                                                                                                                                   
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)                                                                                             
[akonadiserver] Unable to open database "Can't connect to local MySQL server through socket '/home/andreas/.local/share/akonadi/db_misc/mysql.socket' (2) QMYSQL: Unable to connect"
[akonadiserver] "[                                                                                                                                                                 
[akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x39) [0x40b2d9]                                                                                                                 
[akonadiserver] 1: akonadiserver [0x40b812]                                                                                                                                         
[akonadiserver] 2: /lib/libc.so.6 [0x7fab1096edb0]                                                                                                                                 
[akonadiserver] 3: /lib/libc.so.6(gsignal+0x35) [0x7fab1096ed25]                                                                                                                   
[akonadiserver] 4: /lib/libc.so.6(abort+0x181) [0x7fab10971de1]
[akonadiserver] 5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x85) [0x7fab118f2685]
[akonadiserver] 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c4f8]
[akonadiserver] 7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x81) [0x7fab1197d491]
[akonadiserver] 8: /usr/lib/libQtCore.so.4 [0x7fab11989582]
[akonadiserver] 9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7fab11989828]
[akonadiserver] 10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x406e1b]
[akonadiserver] 11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x557) [0x7fab11f49a77]
[akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7fab11f4a807]
[akonadiserver] 13: akonadiserver(main+0x366) [0x4061d6]
[akonadiserver] 14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fab1095b5c6]
[akonadiserver] 15: akonadiserver [0x405d79]
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] Unable to open database "Can't connect to local MySQL server through socket '/home/andreas/.local/share/akonadi/db_misc/mysql.socket' (2) QMYSQL: Unable to connect"
[akonadiserver] "[
[akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x39) [0x40b2d9]
[akonadiserver] 1: akonadiserver [0x40b812]
[akonadiserver] 2: /lib/libc.so.6 [0x7f9b2f49adb0]
[akonadiserver] 3: /lib/libc.so.6(gsignal+0x35) [0x7f9b2f49ad25]
[akonadiserver] 4: /lib/libc.so.6(abort+0x181) [0x7f9b2f49dde1]
[akonadiserver] 5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x85) [0x7f9b3041e685]
[akonadiserver] 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c4f8]
[akonadiserver] 7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x81) [0x7f9b304a9491]
[akonadiserver] 8: /usr/lib/libQtCore.so.4 [0x7f9b304b5582]
[akonadiserver] 9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7f9b304b5828]
[akonadiserver] 10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x406e1b]
[akonadiserver] 11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x557) [0x7f9b30a75a77]
[akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7f9b30a76807]
[akonadiserver] 13: akonadiserver(main+0x366) [0x4061d6]
[akonadiserver] 14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f9b2f4875c6]
[akonadiserver] 15: akonadiserver [0x405d79]
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] Unable to open database "Can't connect to local MySQL server through socket '/home/andreas/.local/share/akonadi/db_misc/mysql.socket' (2) QMYSQL: Unable to connect"
[akonadiserver] "[
[akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x39) [0x40b2d9]
[akonadiserver] 1: akonadiserver [0x40b812]
[akonadiserver] 2: /lib/libc.so.6 [0x7f40bd4f1db0]
[akonadiserver] 3: /lib/libc.so.6(gsignal+0x35) [0x7f40bd4f1d25]
[akonadiserver] 4: /lib/libc.so.6(abort+0x181) [0x7f40bd4f4de1]
[akonadiserver] 5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x85) [0x7f40be475685]
[akonadiserver] 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c4f8]
[akonadiserver] 7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x81) [0x7f40be500491]
[akonadiserver] 8: /usr/lib/libQtCore.so.4 [0x7f40be50c582]
[akonadiserver] 9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7f40be50c828]
[akonadiserver] 10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x406e1b]
[akonadiserver] 11: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x557) [0x7f40beacca77]
[akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7f40beacd807]
[akonadiserver] 13: akonadiserver(main+0x366) [0x4061d6]
[akonadiserver] 14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f40bd4de5c6]
[akonadiserver] 15: akonadiserver [0x405d79]
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!


If I run
Code: Select all
qdbus | grep  akonadi


I get this :
Code: Select all
 org.kde.internal.KSettingsWidget-kcm_akonadi
 org.kde.internal.KSettingsWidget-kcm_akonadi_resources
 org.kde.internal.KSettingsWidget-kcm_akonadi_server


Anybody having the smae proble or can hint to a fix?


My blog :
http://adreasdevblog.wordpress.com

I work with the head developer on this one:
http://techbase.kde.org/Projects/Aki

My code repository on github:
https://github.com/xxtjaxx/xxtjaxxRepository/tree
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You need to enable the "Start server" option, or place valid entries in the username / password / host / socket fields.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
bcooksley wrote:You need to enable the "Start server" option, or place valid entries in the username / password / host / socket fields.


Right.
The StartServer option (in Systemsettings it is called "Use internal server") determines whether Akonadi uses its own MySQL server instance or an externally configured one.

The default is to use its own, but if you switch it to use an externally configured one, you also have to provide the respective configuration to Akonadi and in MySQL.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]