[Akonadi] [Bug 392948] Akonadi fails to start on a fresh system (cannot create directory)

tiegs bugzilla_noreply at kde.org
Mon Apr 30 09:50:21 BST 2018


https://bugs.kde.org/show_bug.cgi?id=392948

tiegs <kde at tilmaneggers.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at tilmaneggers.de

--- Comment #1 from tiegs <kde at tilmaneggers.de> ---
I'm having the same Issue on a fresh install of KDE Neon. Akonadi server fails
to start.
Looks like akonadi fails to create the db_data directory.

Once I created it akonadi starts up without any issues.
May this be an issue with the neon dist packages?




Console log:

$ akonadiserver --version
akonadiserver 5.8.0

$ akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped

$ akonadictl start
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
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/user/.local/share/akonadi/mysql.conf",
"--datadir=/home/user/.local/share/akonadi/db_data/",
"--socket=/tmp/akonadi-user.ehVg1k/mysql.socket",
"--pid-file=/tmp/akonadi-user.ehVg1k/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "180430 10:16:30 [Note] /usr/sbin/mysqld
(mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 4363 ...\n180430
10:16:30 [Warning] Can't create test file
/home/user/.local/share/akonadi/db_data/ATLAS.lower-test\n\x07/usr/sbin/mysqld:
Can't change dir to '/home/user/.local/share/akonadi/db_data/' (Errcode: 2 \"No
such file or directory\")\n180430 10:16:30 [ERROR] Aborting\n\n180430 10:16:30
[Note] /usr/sbin/mysqld: Shutdown complete\n\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...


$ mkdir /home/user/.local/share/akonadi/db_data/

$ akonadictl start
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
user at ATLAS:~/.local/share/akonadi$ /usr/bin/mysqlcheck: Got error: 1049:
Unknown database 'akonadi' when selecting the database
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.maildirresource: the resource is not properly configured: there is
no config file for the resource. We create a new one.
QObject::killTimer: Timers cannot be stopped from another thread
QDBusConnection: name 'org.freedesktop.Akonadi.Control' had owner '' but we
thought it was ':1.88'
"No file selected."
org.kde.pim.maildirresource: the resource is not properly configured: there is
no config file for the resource. We create a new one.
QObject::killTimer: Timers cannot be stopped from another thread
org.kde.pim.akonadi_indexer_agent: Xapian error in indexer: Can't delete
non-existent document #13

$ akonadictl status
Akonadi Control: running
Akonadi Server: running

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list