My kontact package is refusing to start after working satisfactorily for a couple of months. My searches have not revealed any well documented solutions to this problem.

Brief History: I imported my kontact data to a 'new' thinkpad x270, and started moving a large number of mails from the inbox to local folders (selecting upto 20 mails at a time). After while I found that some selected mails did not move, then the package stopped responding.

This is the error message: "The Akonadi personnal inforamtion management service is not operational" The 'Details' radio button initially does not respond to the mouse passing over it, but after being pressed it does. Unfortunately no details are given when the button is pressed. The menu buttons are still responsive. On selecting the calendar, the message is: "The Akonadi personnal inforamtion management service is not running. This application cannot be used without it." There is a 'start' radio button. After pressing the button the '...not operational' message is displayed. Under the settings/kmail settings menu, there are no accounts in the 'Receiving' tab, but there in the 'sending' tab. Contents of the '/home/[username]/.local/share/akonadi/Akonadi.error' file:

2022-04-01T14:15:30 [INFO ] org.kde.pim.akonadiserver: Starting up the Akonadi Server... 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadis2022-04-01T14:15:35 [INFO ] org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally... rocess exited unexpectedly during initial connection! 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi" 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[username]/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid") 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: stdout: "" 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: stderr: "2022-04-01 14:15:30 0 [Note] /usr/sbin/mysqld-akonadi (mysqld 10.3.34-MariaDB-0ubuntu0.20.04.1) starting as process 5221 ...\n" 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: exit code: 1 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: process error: "Unknown error" 2022-04-01T14:15:35 [CRITICAL] org.kde.pim.akonadiserver: Failed to remove runtime connection config file 2022-04-01T14:15:35 [INFO ] org.kde.pim.akonadiserver: Shutting down AkonadiServer... 

Contents of the '/home/[username]/.local/share/akonadi/Akonadi.error.old' file:

this22-04-01T14:15:30 [WARN ] default: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 

Output from akonadictl --verbose start:

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) [username]@m-c-name:~$ org.kde.pim.akonadicontrol: Service ":1.155" owner changed from "" to ":1.155" org.kde.pim.akonadicontrol: Service ":1.156" owner changed from "" to ":1.156" 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-akonadi" org.kde.pim.akonadiserver: mysqld reports version 10.3.34 (MariaDB) org.kde.pim.akonadiserver: Executing: "/usr/sbin/mysqld-akonadi" "--defaults-file=/home/[username]/.local/share/akonadi/mysql.conf --datadir=/home/[username]/.local/share/akonadi/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-akonadi" org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/[username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[username]/.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: "2022-04-01 14:22:18 0 [Note] /usr/sbin/mysqld-akonadi (mysqld 10.3.34-MariaDB-0ubuntu0.20.04.1) starting as process 5339 ...\n" 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: Failed to remove runtime connection config file org.kde.pim.akonadiserver: Shutting down AkonadiServer... org.kde.pim.akonadicontrol: Service ":1.156" owner changed from ":1.156" to "" org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally... 

How do I restore this service, preferably without losing any data?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy