This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi suddenly refuses to start

Tags: None
(comma "," separated)
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
6668
Karma
25

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 Leap 42.1 x64, 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
6668
Karma
25
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 Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]