New installation - Akonadi will not start

Started by theber, 2023/03/31, 08:32:32

Previous topic - Next topic

theber

I've just installed Siduction a couple of days ago. I've been trying to set up Kontact and KMail, but I always get the message: "The Akonadi personal information management service is not operational." The "Details" button does nothing.
If I try in the Konsole, then I get the following:
theber@NB265:~$ akonadictl --verbose start

org.kde.pim.akonadictl: Starting Akonadi Server...

org.kde.pim.akonadictl:    done.

theber@NB265:~$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)

org.kde.pim.akonadiserver: Starting up the Akonadi Server...

org.kde.pim.akonadiserver: Found mysql_install_db:  "/usr/bin/mysql_install_db"

org.kde.pim.akonadiserver: Found mysqlcheck:  "/usr/bin/mysqlcheck"

org.kde.pim.akonadiserver: Using mysqld: "/usr/sbin/mysqld"

org.kde.pim.akonadiserver: mysqld reports version 10.11.2 (MariaDB)

org.kde.pim.akonadiserver: Executing: "/usr/sbin/mysqld" "--defaults-file=/home/theber/.local/share/akonadi/mysql.conf --datadir=/home/theber/.local/share/ako
nadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid"

org.kde.pim.akonadiserver: database server stopped unexpectedly

org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!

org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"

org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/theber/.local/share/akonadi/mysql.conf", "--datadir=/home/theber/.local/share/akonadi/db_data/",
"--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")

org.kde.pim.akonadiserver: stdout: ""

org.kde.pim.akonadiserver: stderr: ""

org.kde.pim.akonadiserver: exit code: 1

org.kde.pim.akonadiserver: process error: "Unknown error"

org.kde.pim.akonadiserver: terminating connection threads

org.kde.pim.akonadiserver: terminating service threads

org.kde.pim.akonadiserver: stopping db process

org.kde.pim.akonadiserver: Shutting down AkonadiServer...

org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...



Mariadb is running fine. And the "akonadi-backend-mysql" package is installed already.
Can anyone give me a tip about what I'm missing?
...wann et läuf dann läuf et, nor nit immer läuf et joot...


samtfalterblau

Sounds like the bug I had with the Debian Stable based Q4OS lately. The Q4OS-Team solved the problem for me:
[Closed] Connection fail to MYSQL-database of Akonadi

theber

Thanks for the replies. I will report later, since I am on a different computer for now.
...wann et läuf dann läuf et, nor nit immer läuf et joot...

theber

@hendrikL
Thanks very much! That worked.
...wann et läuf dann läuf et, nor nit immer läuf et joot...

hendrikL

@theber, what exactly you have done? 
Could be important for others too!

theber

Sorry, I see that there were different procedures in the linked page. I used this method:



(I hope that it's OK to copy and paste from a different forum.)
When I ran the command "akonadictl --verbose start" after deleting the folder, there were many lines of text, some of them involving users for Mariadb. However there was no problem starting and using Mariadb after the fix. So everything is fine.
Thanks again!
...wann et läuf dann läuf et, nor nit immer läuf et joot...