Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Akondi doesn't start [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Thu Mar 04, 2010 12:00 am    Post subject: Akondi doesn't start [solved] Reply with quote

I am switching over to kde 4.x. But I cannot get Akonadi to start. Here is the error log it gives me.

Code:
Akonadi Server Self-Test Report
===============================

Test 1:  ERROR
--------

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

File content of '/home/jonfr/.config/akonadi/akonadiserverrc':
[%General]
Driver=


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.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:  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/local/share:/usr/share:/usr/share/gdm', 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/local/share:/usr/share:/usr/share/gdm'

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

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

File content of '/home/jonfr/.local/share/akonadi/akonadiserver.error':
Database driver "QMYSQL" was not found.
Available drivers are: ("QSQLITE")
Falling back to database driver "QMYSQL"
Database driver "QMYSQL" was not found.
Available drivers are: ("QSQLITE")
No usable database driver found.
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x40b669]
1: akonadiserver [0x40bbb2]
2: /lib/libc.so.6 [0x7fdf77be63a0]
3: /lib/libc.so.6(gsignal+0x35) [0x7fdf77be6315]
4: /lib/libc.so.6(abort+0x181) [0x7fdf77be7811]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x75) [0x7fdf790b47e5]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c8f8]
7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x80) [0x7fdf79134720]
8: /usr/lib64/qt4/libQtCore.so.4 [0x7fdf7913ecd2]
9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7fdf7913ef48]
10: akonadiserver(_ZN6QDebugD1Ev+0x46) [0x407176]
11: /usr/lib64/libakonadiprivate.so.1(_ZN14DbConfigStaticC1Ev+0x21a9) [0x7fdf79ebd9c9]
12: /usr/lib64/libakonadiprivate.so.1 [0x7fdf79eb974e]
13: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x63) [0x7fdf79e3c7d3]
14: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7fdf79e3da97]
15: akonadiserver(main+0x2e2) [0x406822]
16: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fdf77bd2a26]
17: akonadiserver(_ZNSt8ios_base4InitD1Ev+0x41) [0x406449]
]
"


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

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

File content of '/home/jonfr/.local/share/akonadi/akonadiserver.error.old':
Database driver "QMYSQL" was not found.
Available drivers are: ("QSQLITE")
Falling back to database driver "QMYSQL"
Database driver "QMYSQL" was not found.
Available drivers are: ("QSQLITE")
No usable database driver found.
"[
0: akonadiserver(_Z11akBacktracev+0x39) [0x40b669]
1: akonadiserver [0x40bbb2]
2: /lib/libc.so.6 [0x7f4b661d43a0]
3: /lib/libc.so.6(gsignal+0x35) [0x7f4b661d4315]
4: /lib/libc.so.6(abort+0x181) [0x7f4b661d5811]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x75) [0x7f4b676a27e5]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xa8) [0x40c8f8]
7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x80) [0x7f4b67722720]
8: /usr/lib64/qt4/libQtCore.so.4 [0x7f4b6772ccd2]
9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0x7f4b6772cf48]
10: akonadiserver(_ZN6QDebugD1Ev+0x46) [0x407176]
11: /usr/lib64/libakonadiprivate.so.1(_ZN14DbConfigStaticC1Ev+0x21a9) [0x7f4b684ab9c9]
12: /usr/lib64/libakonadiprivate.so.1 [0x7f4b684a774e]
13: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x63) [0x7f4b6842a7d3]
14: /usr/lib64/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x7f4b6842ba97]
15: akonadiserver(main+0x2e2) [0x406822]
16: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f4b661c0a26]
17: akonadiserver(_ZNSt8ios_base4InitD1Ev+0x41) [0x406449]
]
"


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.


Last edited by jonfr on Wed Apr 07, 2010 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Mar 04, 2010 12:04 am    Post subject: Reply with quote

For one, you need 'mysql' useflag on qt-sql.
But that's just the start of the fun.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Thu Mar 04, 2010 4:04 pm    Post subject: Reply with quote

On my ~ARCH systems, I had to run
Code:
 perl-cleaner --reallyall
(rebuilds about 60-80 packages, depending), and then revdep-rebuild and/or emerge @preserved-rebuild just for good measure. Also, nepomuk needed to be enabled (but not necessarily strigi) in order to now get kmail working.

There was also an eselect news item that was related to this problem (akonado/kmail not starting):
Quote:
2010-02-21-mysql-upgrade
Title MySQL 5.1 unmasking and upgrade procedures
Author Robin H. Johnson <robbat2@gentoo.org>
Posted 2010-02-21
Revision 4

The 5.1 series of MySQL is going to be unmasked at the same time as the release
of this news item. When upgrading from an older major version (including 5.0),
you will be required to rebuild everything linked to the libmysqlclient.so.15
and libmysqlclient_r.so.15.

You can do this by installing app-portage/gentoolkit and running:
# revdep-rebuild --library libmysqlclient.so.15
# revdep-rebuild --library libmysqlclient_r.so.15

If you use the Portage 2.2 series, you may also use:
# emerge @preserved-rebuild

The official upgrade documentation is available here:
http://dev.mysql.com/doc/refman/5.1/en/upgrade.html

Note that existing databases may need converting as well, again including those
upgrading from 5.0 to 5.1. Details are in the update documentation.

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Wed Apr 07, 2010 9:49 am    Post subject: Reply with quote

I solved this way:

1) returned mysql to a 100% working version (5.1.43-r3, if I remember)
2) emerge -1 dev-perl/DBI
3) emerge -1 dev-perl/DBD-mysql
4) emerge -1 qt-sql
5) perl-cleaner --reallyall , revdep-rebuild, etc.etc.

After this akonadi finally started.

Bye
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Wed Apr 07, 2010 1:45 pm    Post subject: Reply with quote

This problem did solve it self when I did a recompile of kde with the correct use flags. Thanks for the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum