Bug 243574 - Akonadi will not start
Summary: Akonadi will not start
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.3.0
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-04 13:16 UTC by Gerard Seibert
Modified: 2010-08-02 20:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2010-07-04 13:16:53 UTC
Version:           1.3.0 (using KDE 4.4.4) 
OS:                FreeBSD

This is on a FreeBSD-8.1 / amd64 machine. The Akonadi program will not start when starting KDE. It simply crashes. Below are the outputs of the start and of
an attempt to use: :akonadictl start".

This is being used with a preexisting/started version of MySQL.

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/gerard/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL
SizeThreshold=4096
ExternalPayload=false

[QMYSQL]
Name=akonadi
Host=localhost
User=gerard
Password=blacktop
Options="UNIX_SOCKET=/home/gerard/.local/share/akonadi/db_misc/mysql.socket"
ServerPath=/usr/local/bin/mysqld_safe
StartServer=false

[QPSQL]
Name=akonadi
Host=
User=
Password=
Port=5432

[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/local/kde4/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
Result:
Akonadi 1.3.1


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:  SUCCESS
--------

Nepomuk search service registered at D-Bus.
Details: The Nepomuk search service is registered at D-Bus which typically indicates it is operational.

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

Nepomuk search service uses an appropriate backend. 
Details: The Nepomuk search service uses one of the recommended backends.

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

Directory listing of '/usr/local/kde4/share/akonadi/agents':
birthdaysresource.desktop
contactsresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
knutresource.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/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome'

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

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

File content of '/home/gerard/.local/share/akonadi/akonadiserver.error':
"[
0: 0x4147e1 <_Z11akBacktracev+865> at /usr/local/kde4/bin/akonadiserver
1: 0x7fffffffffc4
]
" 


Test 13:  ERROR
--------

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

File content of '/home/gerard/.local/share/akonadi/akonadiserver.error.old':
"[
0: 0x4147e1 <_Z11akBacktracev+865> at /usr/local/kde4/bin/akonadiserver
1: 0x7fffffffffc4
]
" 


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.

This is the output of the "akonadictl start" command.

 $ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Starting Akonadi Server...
   done.
/usr/home/gerard $ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[akonadiserver] search paths:  ("/usr/local/kde4/bin", "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin", "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d", "/usr/local/etc/postfix", ".", "/usr/local/kde4/share/akonadi/agents", "/usr/local/kde4/share", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")
[akonadiserver] QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
[akonadiserver] "[
[akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at /usr/local/kde4/bin/akonadiserver
[akonadiserver] 1: 0x7fffffffffc4
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] search paths:  ("/usr/local/kde4/bin", "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin", "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d", "/usr/local/etc/postfix", ".", "/usr/local/kde4/share/akonadi/agents", "/usr/local/kde4/share", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")
[akonadiserver] QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
[akonadiserver] "[
[akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at /usr/local/kde4/bin/akonadiserver
[akonadiserver] 1: 0x7fffffffffc4
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] search paths:  ("/usr/local/kde4/bin", "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin", "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d", "/usr/local/etc/postfix", ".", "/usr/local/kde4/share/akonadi/agents", "/usr/local/kde4/share", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")
[akonadiserver] QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
[akonadiserver] "[
[akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at /usr/local/kde4/bin/akonadiserver
[akonadiserver] 1: 0x7fffffffffc4
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[akonadiserver] search paths:  ("/usr/local/kde4/bin", "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin", "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d", "/usr/local/etc/postfix", ".", "/usr/local/kde4/share/akonadi/agents", "/usr/local/kde4/share", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")
[akonadiserver] QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in use, all queries will cease to work.
[akonadiserver] "[
[akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at /usr/local/kde4/bin/akonadiserver
[akonadiserver] 1: 0x7fffffffffc4
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!

Reproducible: Always

Steps to Reproduce:
Start KDE or attempt to start "akonadictl start"
Comment 1 Tobias Koenig 2010-08-02 20:09:04 UTC
Hej Gerard,

like already mentioned in the other bug report, please update to KDE 4.4.5. We have fixed several startup related bugs in that version.

Ciao,
Tobias