Reply to topic

Akonadi suddenly refuses to start

barghest
Registered Member
Posts
48
Karma
0
OS

Akonadi suddenly refuses to start

Tue Nov 19, 2013 9:42 am
Hi,

I set up Arch Linux with the latest KDE and everything went fine. After a few weeks Akonadi suddenly refuses to start. Here's the output:
http://pastebin.com/Zk59TRV0

I already tried akonadi fsck but with no success (not even an output).

Akonadi still is a black box for me so where do I start to solve the problem?

TIA!
User avatar google01103
Manager
Posts
5835
Karma
20
OS

Tue Nov 19, 2013 10:42 am
barghest wrote:Hi,

I set up Arch Linux with the latest KDE and everything went fine. After a few weeks Akonadi suddenly refuses to start. Here's the output:
http://pastebin.com/Zk59TRV0

I already tried akonadi fsck but with no success (not even an output).

Akonadi still is a black box for me so where do I start to solve the problem?

TIA!

fyi - the command you ran was actually akonadictl fsck and I too see no output

It's probably this bug https://bugs.kde.org/show_bug.cgi?id=326480

There are posts claiming that deleting all your akonadi files/folders and letting them regenerate will fix this, my experience is it may or may not. I don't have a real solution but I found killing mysql and then rebooting occasionally works for me but I think its more a coincidence that it worked.

I also find that if I hibernate instead of rebooting the problem doesn't occur until I reboot, if it reoccurs

there's a post somewhere suggesting the following (didn't work for me consistantly if at all)
-stop akonadi:
akonadictl stop
-make sure all akonadi processes are stopped
-remove the db_data dir:
rm -rf ~/.local/share/akonadi/db_data
-recreate mysqldb with:
mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/
-restart akonadi:
akonadictl start


If you want to try removing all your akonadi files they're located in:
$KDEHOME/share/config/akonadi*
~/.config/akonadi/* (iirc you should keep the folder and just remove the files)
~/.local/share/akonadi


OpenSuse 13.2 x64, KDE 4.14.x & Plasma 5.x

barghest
Registered Member
Posts
48
Karma
0
OS

Re: Akonadi suddenly refuses to start

Sat Nov 23, 2013 11:51 am
Thanks for your reply.

The first suggested solution didn't work for me, too but deleting the akonadi folders solved the problem.
User avatar google01103
Manager
Posts
5835
Karma
20
OS
I have been using the following with good success

Code: Select all
pkill akonadi_control &
pkill akonadiserver &
mysqladmin shutdown --socket ~/.local/share/akonadi/socket-$(hostname)/mysql.socket &
akonadictl start


OpenSuse 13.2 x64, KDE 4.14.x & Plasma 5.x


 
Reply to topic

Bookmarks



Who is online

Registered users: amaitre, andreas_k, Baidu [Spider], Bing [Bot], boudewijn, davidemme, Exabot [Bot], Google [Bot], google01103, hftom, KIAaze, louis94, Majestic-12 [Bot], Mamarok, Marchin_, MirceaKitsune, rumangerst, ScionicSpectre, Soukyuu, supaiku, tokiedian, Yahoo [Bot]