Summary: | The Akonadi personal information management service is not operational | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Phillip Kruger <phillip.kruger> |
Component: | akonadiconsole | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | rewarp, squan, wbauer1 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://bugs.archlinux.org/task/51541 | ||
Latest Commit: | Version Fixed In: |
Description
Phillip Kruger
2017-01-07 06:50:00 UTC
Akonadi is also not working for me correctly with the same error message in Kontact. Attempts to start it lead to the following: rewarp@ganymede:~> akonadictl start Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) rewarp@ganymede:~> org.kde.pim.akonadiserver: Failed to connect to database! org.kde.pim.akonadiserver: Database error: "Can't connect to local MySQL server through socket '/tmp/akonadi-rewarp.eMZXmm/mysql.socket' (111 \"Connection refused\") QMYSQL: Unable to connect" /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-rewarp.eMZXmm/mysql.socket' (111 "Connection refused")' Check that mysqld is running and that the socket: '/tmp/akonadi-rewarp.eMZXmm/mysql.socket' exists! org.kde.pim.akonadiserver: Failed to remove runtime connection config file org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally... (In reply to Rewarp from comment #1) > org.kde.pim.akonadiserver: Failed to connect to database! > org.kde.pim.akonadiserver: Database error: "Can't connect to local MySQL > server through socket '/tmp/akonadi-rewarp.eMZXmm/mysql.socket' (111 > \"Connection refused\") QMYSQL: Unable to connect" Same for me running openSUSE Tumbleweed with akonadi-server 16.12.0-2.1 akonadi-server-sqlite 16.12.0-2.1 sqlite3 3.15.1-1.1 libQt5Core5 5.7.1-1.1 S.a. https://forums.opensuse.org/showthread.php/521873-Akonadi-Won-t-Start Some more details. If I start kontact on cmdline: [phillip@phillip-laptop ~]$ kontact org.kde.pim.akonadicore: "QLocalSocket::connectToServer: Invalid name" "/home/phillip/.local/share/akonadi/akonadiserver-cmd.socket" org.kde.pim.akonadicore: "QLocalSocket::connectToServer: Invalid name" "/home/phillip/.local/share/akonadi/akonadiserver-cmd.socket" /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-phillip.jDN9fa/mysql.socket' (111 "Connection refused")' Check that mysqld is running and that the socket: '/tmp/akonadi-phillip.jDN9fa/mysql.socket' exists! org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket::connectToServer: Invalid name" org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket::connectToServer: Invalid name" org.kde.akonadi.ETM: GEN true false false org.kde.akonadi.ETM: collection: QVector() org.kde.akonadi.ETM: org.kde.pim.akonadicore: Job error: "Unknown error." for collection: QVector() org.kde.pim.akonadicore: Job error: "Unknown error." for collection: QVector() org.kde.pim.messagelist: Failed to load tags "Unknown error." org.kde.pim.mailcommon: failed to retrieve tags "Unknown error." org.kde.pim.kmail: "Unknown error." Thanks :) Try to delete the socket file, ~/.local/share/akonadi/akonadiserver-cmd.socket (or similar), as written in the mentioned openSUSE forum thread. If that file already exists for some reason, Akonadi will try to connect to this mysql instance and not start a new one, which will fail if that mysql process is not running any more. If this helps, the problem should be fixed by this commit: https://cgit.kde.org/akonadi.git/commit/?id=4c5ca9bf32e5a9d569e83f66a439c65d8939a540 The akonadiconsole crash is unrelated though and actually a problem with your vlc installation, it's phonon-backend-vlc that crashes (akonadiconsole shows a dialog on startup that normally also causes a notification sound to be emitted). That's an Arch specific problem btw, see https://wiki.archlinux.org/index.php/KDE#Which_backend_should_I_choose.3F for a "fix". (In reply to squan from comment #2) > (In reply to Rewarp from comment #1) > Same for me running openSUSE Tumbleweed with (...) NOT the same according to https://forums.opensuse.org/showthread.php/521873-Akonadi-Won-t-Start comment #7. Regarding the crash on arch it says "That's a well-known and long-standing issue in Arch. Their VLC is still using Qt4, and KF5 applications crash when they try to play a notification sound with the phonon-backend-vlc". Regarding the openSUSE crash on mysql start the forum thread also says that this is about to be fixed in Tumbleweed by cleaning up stale socket files, dunno if this only affects Tumbleweed though. (In reply to squan from comment #5) > (In reply to squan from comment #2) > > (In reply to Rewarp from comment #1) > > Same for me running openSUSE Tumbleweed with (...) > NOT the same according to > https://forums.opensuse.org/showthread.php/521873-Akonadi-Won-t-Start > comment #7. Yeah, I wrote that comment. The original problem that led to this bug report may still be the same though. But the crashes are not. > Regarding the crash on arch it says "That's a well-known and long-standing > issue in Arch. Their VLC is still using Qt4, and KF5 applications crash when > they try to play a notification sound with the phonon-backend-vlc". Right. And this bug report is actually about the akonadiconsole crash, so I'm marking it as duplicate now. See my previous comment for how you can fix it. And maybe bug your distribution (Arch) to finally get this sorted out. I would still recommend trying to delete the socket file and see if it helps with the general Akonadi problem. > Regarding the openSUSE crash on mysql start the forum thread also says that > this is about to be fixed in Tumbleweed by cleaning up stale socket files, > dunno if this only affects Tumbleweed though. It definitely does not only affect Tumbleweed. This will happen everywhere if a stale socket file exists (and the corresponding mysql instance is not running any more). But as I wrote a fix for that will be in the next akonadi release, and we added it to the openSUSE packages already as well. *** This bug has been marked as a duplicate of bug 371507 *** PS: See also https://bugs.archlinux.org/task/51541 |