Bug 411907 - server crashes on startup
Summary: server crashes on startup
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-14 06:39 UTC by Martin Koller
Modified: 2019-09-14 06:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2019-09-14 06:39:40 UTC
SUMMARY
whenever I login, akonadiserver crashes.
So I tried it manually. Stopped everything akonadi realted (akonadictl stop; killed mysqld), then did a "akonadictl start".

This is the result (crashes; can be reproduced every time):

<snip>
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: DB initializer done
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadicontrol: Akonadi server is now operational.
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac005180) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac00f4d0) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac013120) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac014860) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac015f00) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f93ac005180) identified as "ItemMonitorMonitor - 93886007149376"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f93ac00f4d0) identified as "ItemMonitorMonitor - 93886007334320"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f93ac013120) identified as "kaddressbook-182605794 - 93886007135424"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f93ac014860) identified as "KAddressBook::GlobalContactSession - 93886007689872"
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f93ac015f00) identified as "ETMCalendarMonitor - 94393032152576"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac0702e0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f93ac0702e0) identified as "AgentBaseChangeRecorder - 94831215899632"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac071910) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac03dc50) )
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac03e250) )
org.kde.pim.akonadiserver: Cannot connect to agent instance with identifier 'akonadi_ews_resource_2', error message: ''
org.kde.pim.akonadiserver: ItemRetrievalJob for request 0x7f938807db20 finished with error: "Unable to contact resource"
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f93ac072ab0) )
org.kde.pim.akonadiserver: Cannot connect to agent instance with identifier 'akonadi_ews_resource_2', error message: ''
org.kde.pim.akonadiserver: ItemRetrievalJob for request 0x7f9388037be0 finished with error: "Unable to contact resource"
org.kde.pim.akonadiserver: Cannot connect to agent instance with identifier 'akonadi_ews_resource_2', error message: ''
org.kde.pim.akonadiserver: ItemRetrievalJob for request 0x7f9388072070 finished with error: "Unable to contact resource"
KCrash: Application 'akonadiserver' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
org.kde.pim.akonadicore: "QLocalSocket: Remote closed" "/run/user/1000/akonadi/akonadiserver-cmd.socket"
org.kde.pim.akonadiserver: Database error: Cannot open database.
org.kde.pim.akonadiserver:   Last driver error: "QMYSQL: Unable to open database 'akonadi'"
org.kde.pim.akonadiserver:   Last database error: "Lost connection to MySQL server during query"
QSqlQuery::exec: database not open
Unable to start Dr. Konqi

I'm on openSuse leap 15.0, KDE 19.08
KDE Frameworks 5.61.0
Qt 5.13.0 (built against 5.13.0)
The xcb windowing system