Bug 236298 - Akonadi displays error on start up
Summary: Akonadi displays error on start up
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 11:39 UTC by hyper_ch
Modified: 2010-08-02 21:21 UTC (History)
3 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 hyper_ch 2010-05-04 11:39:50 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

After a reboot when I start Kontact I always get an akonadi error windows displayed that say that no resources can be found.

However the resources are nicely available in KCal. Here's a pic of it:

http://images.sjau.ch/img/303dc4eb.png

So, after clicking that away and then Akonadi Console through KMenu and then run the Akonadi Server test I get this:

http://images.sjau.ch/img/a5b2c5d7.png

I have to mention that I don't use internal mysql but the "normal" mysql server.
Comment 1 hyper_ch 2010-05-04 20:04:25 UTC
Btw, I got here now the "log":

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

[QMYSQL]
Name=akonadi
Host=localhost
User=akonadi
Password=akonadi
Options=
ServerPath=/usr/sbin/mysqld-akonadi
StartServer=false

[Debug]
Tracer=null

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


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.3.1


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

Akonadi control process registered at D-Bus.
Details: The Akonadi control process is registered at D-Bus which typically indicates it is operational.

Test 7:  SUCCESS
--------

Akonadi server process registered at D-Bus.
Details: The Akonadi server process is registered at D-Bus which typically indicates it is operational.

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

Server protocol version is recent enough.
Details: The server Protocol version is 23, which equal or newer than the required version 23.

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 /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
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
Directory listing of '/usr/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/share:/usr/share:/usr/local/share'

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

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

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

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

File content of '/home/hyper/.local/share/akonadi/akonadiserver.error.old':
Control process died, committing suicide!


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

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

File content of '/home/hyper/.local/share/akonadi/akonadi_control.error.old':
D-Bus session bus went down - quitting
Comment 2 Matthias Kretz 2010-05-29 11:14:23 UTC
I also get the "No resource agents found." issue sometimes. It says "The following paths have been searched: '/usr/share/akonadi/agents /usr/share/akonadi/agents'." and I wondered whether it searches '/usr/share/akonadi/agents /usr/share/akonadi/agents' or '/usr/share/akonadi/agents' twice. The former would obviously fail...

It seems to be the exact same issue as the original report and it is very annoying because Akonadi in principle is working correctly.

I'm also on Kubuntu.
Comment 3 Tobias Koenig 2010-08-02 21:21:17 UTC
Hej,

these startup issues should all be fixed now in KDE 4.4.5.
Feel free to reopen this report if you can still reproduce them.

Ciao,
Tobias