I want to launch kmail but I can't due to the akonadi server. Then I check the server with the command akonadictl status that says me akonadi is down. So I make akonadictl start, then I have a lot of error. Reproducible: Always Steps to Reproduce: 1. start computer 2. start akonadi with command akonadictl start 3. Actual Results: Starting Akonadi Server... done. alius@tiny-linux:~$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) akonadiprivate_log: search paths: ("/home/alius/bin", "/home/alius/.local/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/local/games", "/snap/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") Found mysql_install_db: "/usr/bin/mysql_install_db" Found mysqlcheck: "/usr/bin/mysqlcheck" Using mysqld: "/usr/sbin/mysqld-akonadi" mysqld reports version 5.7.15 (Oracle MySQL) Executing: "/usr/sbin/mysqld-akonadi" "--defaults-file=/etc/xdg/akonadi/mysql-global.conf --initialize --datadir=/home/alius/.local/share/akonadi/db_data/" mysqld: [ERROR] Could not open required defaults file: /etc/xdg/akonadi/mysql-global.conf mysqld: [ERROR] Fatal error in defaults handling. Program aborted! Executing: "/usr/sbin/mysqld-akonadi" "--defaults-file=/home/alius/.local/share/akonadi/mysql.conf --datadir=/home/alius/.local/share/akonadi/db_data/ --socket=/tmp/akonadi-alius.0JyrwS/mysql.socket" Database process exited unexpectedly during initial connection! executable: "/usr/sbin/mysqld-akonadi" arguments: ("--defaults-file=/home/alius/.local/share/akonadi/mysql.conf", "--datadir=/home/alius/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-alius.0JyrwS/mysql.socket") stdout: "" stderr: "mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2 - No such file or directory)\n2016-10-14T09:36:53.524448Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.\n2016-10-14T09:36:53.524601Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\n2016-10-14T09:36:53.524766Z 0 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/mysql-files\n2016-10-14T09:36:53.524781Z 0 [ERROR] Aborting\n\n2016-10-14T09:36:53.524814Z 0 [Note] Binlog end\n" exit code: 1 process error: "Unknown error" terminating service threads terminating connection threads stopping db process Failed to remove Unix socket Failed to remove runtime connection config file Application 'akonadiserver' exited normally... Expected Results: akonadi is supposed to start without this error It's a fresh install of kubuntu 16.10 nothing more
Exact same bug for me on Kubuntu 16.10 64bits on two different computers (one on a fresh install and the other from kubuntu 16.04 upgrade to 16.10) Same message in the terminal when triing to launch kontact Tried to uninstall/install kontact, akonadi, mysql... and deleting .kde, .local, .config with no results So for me kontact suite is completely unusable on newest kubuntu
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
I do not use it anymore, so problem solved