Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] KDE 4.10.0 - Kmail (because Akonadi) doesn't work
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
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Feb 08, 2013 3:55 pm    Post subject: [SOLVED] KDE 4.10.0 - Kmail (because Akonadi) doesn't work Reply with quote

Hi,

Few minutes ago I just reemerged a new kde 4.10.0. Unfortunatley, when I am trying to run kmail or kontact when program starts, few seconds after this I have a meassage:
Quote:
The akonadi personal information management service is not operational


Report details are bellow. What to do? Help, I can't live without emails.

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

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

Database driver not found.
Details: The QtSQL driver 'QSQLITE3' 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/rychoo/.config/akonadi/akonadiserverrc':
[%General]
Driver=QSQLITE3

[QSQLITE3]
Name=/home/rychoo/.local/share/akonadi/akonadi.db

[Debug]
Tracer=null


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

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

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

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

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

Test 5:  SKIP
--------

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

Test 6:  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.9.0


Test 7:  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 8:  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 9:  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 10:  SUCCESS
--------

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

Test 11:  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 12:  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/local/share:/usr/share'; make sure this includes all paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
akonadinepomukfeederagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kabcresource.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kcalresource.desktop
kdeaccountsresource.desktop
knutresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
microblog.desktop
mixedmaildirresource.desktop
mtdummyresource.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

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

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

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/home/rychoo/.local/share/akonadi/akonadiserver.error'>/home/rychoo/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/rychoo/.local/share/akonadi/akonadiserver.error':
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x454fd5]
1: akonadiserver() [0x45529c]
2: /lib64/libc.so.6(+0x38020) [0x7f7330ad9020]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f7330ad8fa5]
4: /lib64/libc.so.6(abort+0x17b) [0x7f7330ada41b]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f73325af834]
6: /usr/lib64/qt4/libQtCore.so.4(+0x779af) [0x7f73325af9af]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f73325afb5c]
8: akonadiserver(_ZN7Akonadi13AkonadiServer14createDatabaseEv+0x91) [0x4581b1]
9: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xd0d) [0x459d4d]
10: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x37) [0x45a7f7]
11: akonadiserver(main+0x1ea) [0x44e28a]
12: /lib64/libc.so.6(__libc_start_main+0xed) [0x7f7330ac591d]
13: akonadiserver() [0x44ea41]
]
"


Test 14:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/rychoo/.local/share/akonadi/akonadiserver.error.old'>/home/rychoo/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/rychoo/.local/share/akonadi/akonadiserver.error.old':
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x454fd5]
1: akonadiserver() [0x45529c]
2: /lib64/libc.so.6(+0x38020) [0x7f14d64fe020]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f14d64fdfa5]
4: /lib64/libc.so.6(abort+0x17b) [0x7f14d64ff41b]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f14d7fd4834]
6: /usr/lib64/qt4/libQtCore.so.4(+0x779af) [0x7f14d7fd49af]
7: /usr/lib64/qt4/libQtCore.so.4(_Z6qFatalPKcz+0x9c) [0x7f14d7fd4b5c]
8: akonadiserver(_ZN7Akonadi13AkonadiServer14createDatabaseEv+0x91) [0x4581b1]
9: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xd0d) [0x459d4d]
10: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x37) [0x45a7f7]
11: akonadiserver(main+0x1ea) [0x44e28a]
12: /lib64/libc.so.6(__libc_start_main+0xed) [0x7f14d64ea91d]
13: akonadiserver() [0x44ea41]
]
"


Test 15:  SUCCESS
--------

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

Test 16:  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 Xywa on Tue Feb 12, 2013 1:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
loisl
Apprentice
Apprentice


Joined: 18 Apr 2004
Posts: 167
Location: Egelsbach

PostPosted: Fri Feb 08, 2013 4:15 pm    Post subject: Reply with quote

Did You emerge app-office/akonadi-server with sqlite USE flag?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Feb 08, 2013 4:26 pm    Post subject: Reply with quote

I had the same problem and had to switch to mysql backend (even
though akonadi-server is built with sqlite support and I even
unmasked sqlite to try soft masked version)

anyway, in ~/.config/akonadi/akonadiserverrc I switched to
mysql:

Code:
[%General]
Driver=QMYSQL

[QSQLITE3]
Name=/home/wesi72600/.local/share/akonadi/akonadi.db

[Debug]
Tracer=null


now kmail / kontact seem to work but I'm waiting for the
next brick to fall :)

EDIT: I should mention after first start of akonadi-server, a nice
mysql section was added to akonadiserverrc automagically
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Feb 08, 2013 5:12 pm    Post subject: Reply with quote

loisl wrote:
Did You emerge app-office/akonadi-server with sqlite USE flag?


No. I added sqlite to my USE flags reemerged system. It did not help, but it is some imrovement, see bellow. Iin ~/.config/akonadi/akonadiserverrc I switched to
QMYSQL driver as you said and .... kmail works, but I lost all my 40 000 emails and all the folders :( :cry: :cry: :cry: :cry: HELP - is there any chance to restore this?

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

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

Database driver found.
Details: The QtSQL driver 'QMYSQL3' is required by your current Akonadi server configuration and was found on your system.

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

[QSQLITE3]
Name=/home/rychoo/.local/share/akonadi/akonadi.db

[Debug]
Tracer=null

[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/rychoo/.local/share/akonadi/socket-tux/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

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

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

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

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

Test 5:  SKIP
--------

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

Test 6:  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.9.0


Test 7:  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 8:  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 9:  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 10:  SUCCESS
--------

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

Test 11:  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 12:  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/local/share:/usr/share'; make sure this includes all paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
akonadinepomukfeederagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kabcresource.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kcalresource.desktop
kdeaccountsresource.desktop
knutresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
microblog.desktop
mixedmaildirresource.desktop
mtdummyresource.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

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

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

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/home/rychoo/.local/share/akonadi/akonadiserver.error'>/home/rychoo/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/rychoo/.local/share/akonadi/akonadiserver.error':
Unknown database driver:  "QMYSQL3"
Available drivers are:  ("QSQLITE", "QMYSQL3", "QMYSQL", "QSQLITE3")
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x454fd5]
1: akonadiserver() [0x45529c]
2: /lib64/libc.so.6(+0x38020) [0x7f70806fd020]
3: akonadiserver(_ZN8DbConfig18configuredDatabaseEv+0x1c6) [0x4c8eb6]
4: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x9c) [0x4590dc]
5: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x37) [0x45a7f7]
6: akonadiserver(main+0x1ea) [0x44e28a]
7: /lib64/libc.so.6(__libc_start_main+0xed) [0x7f70806e991d]
8: akonadiserver() [0x44ea41]
]
"


Test 14:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/rychoo/.local/share/akonadi/akonadiserver.error.old'>/home/rychoo/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/rychoo/.local/share/akonadi/akonadiserver.error.old':
Unknown database driver:  "QMYSQL3"
Available drivers are:  ("QSQLITE", "QMYSQL3", "QMYSQL", "QSQLITE3")
"[
0: akonadiserver(_Z11akBacktracev+0x35) [0x454fd5]
1: akonadiserver() [0x45529c]
2: /lib64/libc.so.6(+0x38020) [0x7f8546d8c020]
3: akonadiserver(_ZN8DbConfig18configuredDatabaseEv+0x1c6) [0x4c8eb6]
4: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x9c) [0x4590dc]
5: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x37) [0x45a7f7]
6: akonadiserver(main+0x1ea) [0x44e28a]
7: /lib64/libc.so.6(__libc_start_main+0xed) [0x7f8546d7891d]
8: akonadiserver() [0x44ea41]
]
"


Test 15:  SUCCESS
--------

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

Test 16:  ERROR
--------

Previous Akonadi control error log found.
Details: The Akonadi control process reported errors during its previous startup. The log can be found in <a href='/home/rychoo/.local/share/akonadi/akonadi_control.error.old'>/home/rychoo/.local/share/akonadi/akonadi_control.error.old</a>.

File content of '/home/rychoo/.local/share/akonadi/akonadi_control.error.old':
Unable to register service as "org.freedesktop.Akonadi.Control.lock" Maybe it's already running?
"[
0: /usr/bin/akonadi_control(_Z11akBacktracev+0x35) [0x43c6e5]
1: /usr/bin/akonadi_control() [0x43c9ac]
2: /lib64/libc.so.6(+0x38020) [0x7ff19f2b4020]
3: /lib64/libc.so.6(gsignal+0x35) [0x7ff19f2b3fa5]
4: /lib64/libc.so.6(abort+0x17b) [0x7ff19f2b541b]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7ff1a02fa834]
6: /usr/bin/akonadi_control(_ZN15FileDebugStream9writeDataEPKcx+0x92) [0x43e922]
7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xaf) [0x7ff1a0396b4f]
8: /usr/lib64/qt4/libQtCore.so.4(+0x11f052) [0x7ff1a03a2052]
9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7ff1a03aaf09]
10: /usr/bin/akonadi_control(_ZN6QDebugD1Ev+0x46) [0x41c176]
11: /usr/bin/akonadi_control(main+0x368) [0x4193f8]
12: /lib64/libc.so.6(__libc_start_main+0xed) [0x7ff19f2a091d]
13: /usr/bin/akonadi_control() [0x4195c1]
]
"


Back to top
View user's profile Send private message
loisl
Apprentice
Apprentice


Joined: 18 Apr 2004
Posts: 167
Location: Egelsbach

PostPosted: Fri Feb 08, 2013 6:46 pm    Post subject: Reply with quote

Xywa wrote:
loisl wrote:
Did You emerge app-office/akonadi-server with sqlite USE flag?


No. I added sqlite to my USE flags reemerged system. It did not help, but it is some imrovement, see bellow. Iin ~/.config/akonadi/akonadiserverrc I switched to
QMYSQL driver as you said and .... kmail works, but I lost all my 40 000 emails and all the folders :( :cry: :cry: :cry: :cry: HELP - is there any chance to restore this?



Ups ...

I don't have mails stored locally, so i didn't hit this problem.

I would try to set up a 2nd system with KDE 4.9 (VirtualBox could do the Job). Then copy Your home directory to the backup system, start kmail and copy your mails to an IMAP server. From there You can re-import them to the Kmail 4.10..

Just an Idea ....
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Feb 08, 2013 7:00 pm    Post subject: Reply with quote

In ~/.config/akonadi/akonadiserverrc I switched to I think previous driver Driver=QSQLITE, and now looks all the folders are back in kmail but I cannot read emails as I have:
Retrieving Folder Contents
Please wait . . .


but when I start akonadiconsole looks like all the emails are in the folders, so I am waiting with finger crossed for kmail to do the job. :)
Back to top
View user's profile Send private message
loisl
Apprentice
Apprentice


Joined: 18 Apr 2004
Posts: 167
Location: Egelsbach

PostPosted: Fri Feb 08, 2013 7:17 pm    Post subject: Reply with quote

Kmail has some new import functions ... it can import from itself now (see Menu "File" / "Import")
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Feb 08, 2013 11:30 pm    Post subject: Reply with quote

Right, here is what I have now:

[1] If I use Driver=QSQLITE3 then I have an access to all old emails and folders, but I kmail is busy by "Retrieving Folder Contents
Please wait . . .". I was waiting few hours and nothing. When the folder is with 1 or 2 emails I could read the email, but system is all the time busy.
[2] If I use Driver=QMYSQL then I DO NOT have an access to all old emails and folders, but apart this verything works fine. Kmail is receiving and sending emails. The only problem, after sending an email I can't see any emails in folder SENT.

Is it possible to run kmail now with QSQLITE3 driver or maybe will be easier export data so kmail with QMYSQL driver could read old emails?


My file akonadiserverrc:
Code:
[%General]
Driver=QSQLITE3

[QSQLITE3]
Name=/home/me/.local/share/akonadi/akonadi.db

[Debug]
Tracer=null

[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/me/.local/share/akonadi/socket-tux/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Tue Feb 12, 2013 1:35 pm    Post subject: Reply with quote

My last experience.

Finally, I received my old emails and can smoothly use 4.10.0! :P :P :P :P :P :P :P

What I had to do, it was to delete all old kde configurations files in my /home directory from 4.9.5 (as advised), but I created a virgin new account there, to be 100% sure there is nothing inside from previous version. In this new account I had no problems with anything so far and plasma-desktop 100% CPU was much more rarely. On branch new kmail (which works fine) I created again all account (pop, smtp, etc) and imported all old messages by "Import Messages.." from file menu of kmail. Now kmail works perfect!

To recover my old emails I have made a fresh account on another laptop withs stable kde (4.9.5) and copied into account only this (no any other configurations files, as first time It did work well):
Quote:
Everything under ~/.local/share/
Everything under ~/.config/akonadi/.

...from this guide
http://userbase.kde.org/KMail/FAQs_Hints_and_Tips/en#Transfer_mail_and_settings_to_another_computer_.28or_another_user_account_on_the_same_machine.29
after this I had all emails on other laptop and all I had to do it was - Archive folders, which archives I have moved back into my first computer and imported into kmail 4.10.0.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Wed Feb 13, 2013 10:56 am    Post subject: Reply with quote

This thread shows my motivation to switch from KMail to Thunderbird - although I like KDE (except the PIM suite)
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Feb 13, 2013 10:43 pm    Post subject: Reply with quote

toralf wrote:
This thread shows my motivation to switch from KMail to Thunderbird - although I like KDE (except the PIM suite)


As long as you make an Archive befor major upgrade or time to time - it is not to bad. I did my last Archive in 09.2012 - so it was a problem (bad administrator from me) 8) 8) as I lost 5 moths and I usually recieve about 50 emails a day.
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 477
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Wed May 15, 2013 11:06 pm    Post subject: Reply with quote

Xywa:

on your
[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/me/.local/share/akonadi/socket-tux/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true

is that your usename or something specific to akonadi as it's not making sense to me.
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