Akonadi trouble

I am using akonadi for korganizer (my agenda)
But it fails me. The problem is mysqld related.
When I start korganizer I receive these errors:

Error #1 in korganizer:

The Akonadi personal information management service is not running. This application cannot be used without it.

Error #2 in korganizer:

The Akonadi personal information management service is not operational.

In terminal I investigate:

akonadictl --verbose start

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/bin/mysqld"
org.kde.pim.akonadiserver: Failed to detect mysqld version!
org.kde.pim.akonadiserver: mysqld reports version 0.0.0 (Oracle MySQL)
org.kde.pim.akonadiserver: Executing: "/usr/bin/mysqld" "--defaults-file=/home/me/.local/share/akonadi/mysql.conf --datadir=/home/me/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid"
org.kde.pim.akonadiserver: Could not start database server!
org.kde.pim.akonadiserver: executable: "/usr/bin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/me/.local/share/akonadi/mysql.conf", "--datadir=/home/me/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: process error: "execvp: Permission denied"
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...

This happened since last manjaro update.

Please help linux Gods.

Sorry @cgoise already explained the solution in another thread (but I am not allowed to post a link to the thread):

This seems to be related to apparmor.
sudo aa-complain /usr/bin/akonadiserver fixed it for me.

Once the issue is fixed, or if this doesn’t help in your case, you should issue a
sudo aa-enforce /usr/bin/akonadiserver ,
to reactivate apparmor.


sudo aa-complain /usr/bin/akonadiserver work for me.

thanks a lot.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.