Since 17.08 I often get: Cannot connect to the Akonadi service When moving msg or marking as spam. In error log I see: Sep 25 13:21:41 allee plasma5[5194]: org.kde.pim.imapresource: Called item() while state holds multiple items! Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadicore: Invalid command, the world is going to end! Sep 25 13:21:43 allee plasma5[5194]: QIODevice::read (QLocalSocket): device not open Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadicore: "Cannot connect to the Akonadi service." Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadiserver: Invalid command: no such handler for 10 Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadicore: "QLocalSocket: Remote closed" "/tmp/user/20334/akonadi-ach.mpbfwB/akonadiserver-cmd.socket" Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket: Remote closed" Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadicore: Error during ItemSync: "Cannot connect to the Akonadi service." Sep 25 13:21:43 allee plasma5[5194]: org.kde.pim.akonadicore: Protocol Exception: "Failed to write data to stream" Sep 25 13:21:43 allee plasma5[5194]: QIODevice::read (QLocalSocket): device not open Since 17.08 this happens more or less several times per day even on weekends, when I don't touch my computer at work. I have this problem on all three KDE neon user systems, that I use. Unfortunately I've not notices/found a rule how to trigger the bug. Any hint appreciated. Achim
Sounds like the server is running an incompatible version, or it's just crashing. Can you check it, please?
I've search for 'akonadi' 'crash' in my and found hits on Sep 12, 13, 18, many on 25. But I had the problem much more frequently. Nevertheless here the hits: 13270:Sep 06 11:09:10 allee plasma5[18171]: line "I had KMail window open and sitting in background when I got a message that akonadi_imap_resource crashed. This is the backtrace I got\n" did not match 216273:Sep 12 09:48:18 allee plasma5[10802]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 216274:Sep 12 09:48:18 allee plasma5[10802]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! 217943:Sep 12 11:13:05 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 217944:Sep 12 11:13:05 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 1 restarts left. 218244:Sep 12 12:12:06 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 218245:Sep 12 12:12:06 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 0 restarts left. 220898:Sep 12 18:24:34 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_mailfilter_agent" stopped unexpectedly ( "Process crashed" ) 220899:Sep 12 18:24:34 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_mailfilter_agent' crashed. No restart! 220910:Sep 12 18:24:35 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_followupreminder_agent" stopped unexpectedly ( "Process crashed" ) 220911:Sep 12 18:24:35 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_followupreminder_agent' crashed. No restart! 220917:Sep 12 18:24:36 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 220918:Sep 12 18:24:36 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! 222519:Sep 12 23:01:14 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 222520:Sep 12 23:01:14 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 1 restarts left. 224652:Sep 13 09:13:38 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 224653:Sep 13 09:13:38 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 0 restarts left. 256213:Sep 18 03:01:40 allee plasma5[5082]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 256214:Sep 18 03:01:40 allee plasma5[5082]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 1 restarts left. 309398:Sep 25 00:49:32 allee plasma5[5194]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 309399:Sep 25 00:49:32 allee plasma5[5194]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 1 restarts left. 313169:Sep 25 12:55:48 allee plasma5[5194]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 313170:Sep 25 12:55:48 allee plasma5[5194]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! 317875:Sep 25 17:18:35 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_imap_resource" stopped unexpectedly ( "Process crashed" ) 317876:Sep 25 17:18:35 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed! 1 restarts left. 318857:Sep 25 18:08:17 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_sendlater_agent" stopped unexpectedly ( "Process crashed" ) 318858:Sep 25 18:08:17 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_sendlater_agent' crashed. No restart! 318868:Sep 25 18:08:19 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_indexing_agent" stopped unexpectedly ( "Process crashed" ) 318869:Sep 25 18:08:19 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_indexing_agent' crashed. No restart! 318877:Sep 25 18:08:20 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_followupreminder_agent" stopped unexpectedly ( "Process crashed" ) 318878:Sep 25 18:08:20 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_followupreminder_agent' crashed. No restart! 318885:Sep 25 18:08:22 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_kalarm_resource" stopped unexpectedly ( "Process crashed" ) 318886:Sep 25 18:08:22 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' crashed. No restart! 318893:Sep 25 18:08:23 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_maildir_resource" stopped unexpectedly ( "Process crashed" ) 318894:Sep 25 18:08:23 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_maildir_resource' crashed. No restart! 318897:Sep 25 18:08:25 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_davgroupware_resource" stopped unexpectedly ( "Process crashed" ) 318898:Sep 25 18:08:25 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_davgroupware_resource' crashed. No restart! 318931:Sep 25 18:08:27 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_akonotes_resource" stopped unexpectedly ( "Process crashed" ) 318932:Sep 25 18:08:27 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource' crashed. No restart! 318936:Sep 25 18:08:28 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_archivemail_agent" stopped unexpectedly ( "Process crashed" ) 318937:Sep 25 18:08:28 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_archivemail_agent' crashed. No restart! 318940:Sep 25 18:08:29 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_kalarm_resource" stopped unexpectedly ( "Process crashed" ) 318941:Sep 25 18:08:29 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' crashed. No restart! 318942:Sep 25 18:08:30 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_contacts_resource" stopped unexpectedly ( "Process crashed" ) 318943:Sep 25 18:08:30 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_contacts_resource' crashed. No restart! 318946:Sep 25 18:08:31 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_newmailnotifier_agent" stopped unexpectedly ( "Process crashed" ) 318947:Sep 25 18:08:31 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_newmailnotifier_agent' crashed. No restart! 318949:Sep 25 18:08:32 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_ical_resource" stopped unexpectedly ( "Process crashed" ) 318950:Sep 25 18:08:32 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' crashed. No restart! 318952:Sep 25 18:08:33 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_mailfilter_agent" stopped unexpectedly ( "Process crashed" ) 318953:Sep 25 18:08:33 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_mailfilter_agent' crashed. No restart! 318955:Sep 25 18:08:35 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_maildispatcher_agent" stopped unexpectedly ( "Process crashed" ) 318956:Sep 25 18:08:35 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_maildispatcher_agent' crashed. No restart! 318958:Sep 25 18:08:36 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_kalarm_resource" stopped unexpectedly ( "Process crashed" ) 318959:Sep 25 18:08:36 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' crashed. No restart! 318960:Sep 25 18:08:37 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_kalarm_resource" stopped unexpectedly ( "Process crashed" ) 318961:Sep 25 18:08:37 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_kalarm_resource' crashed. No restart! 318962:Sep 25 18:08:38 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_migration_agent" stopped unexpectedly ( "Process crashed" ) 318963:Sep 25 18:08:38 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_migration_agent' crashed. No restart! 318966:Sep 25 18:08:39 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_birthdays_resource" stopped unexpectedly ( "Process crashed" ) 318967:Sep 25 18:08:39 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_birthdays_resource' crashed. No restart! 318969:Sep 25 18:08:40 allee plasma5[11805]: org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_davgroupware_resource" stopped unexpectedly ( "Process crashed" ) 318970:Sep 25 18:08:40 allee plasma5[11805]: org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_davgroupware_resource' crashed. No restart!
Created attachment 108059 [details] journalctl --user | grep -ni akonadi | grep -C12 akonadi.collectionattributetable > akonadi-C12.log the full log of $ journalctl --user | grep -ni akonadi > akonadi.log $ ls -l akonadi* -rw-r--r-- 1 ach ach 53743 Sep 27 19:16 akonadi-C12.log -rw-r--r-- 1 ach ach 1120148 Sep 27 19:27 akonadi.log is 1.1 MB. Lemme know if I should upload too.
All those "Application '/usr/bin/akonadi_imap_resource' crashed. No restart!" indicate there's something horribly wrong with your setup, very likely version mismatch or a compilation issue.
Weird. It's a kde neon user edition and reboot/logout when KDE pkgs are updated. Of course there is a timespan between: update packages and reboot/logout. I'll wait for the next occurance of the problem and check what's written to the logs at that time.
Is this still valid?
Ups, I think you can close it. My journal start M[130]ach@it01lt:~$ journalctl | grep org.kde.pim.akonadicontrol | grep '<[ec]>' Journal file /var/log/journal/8b6538a40de84811b63f300da18fdd0c/system@0005acc30de1b2b1-7bf0a661f843cc7a.journal~ is truncated, ignoring file. Jun 22 08:50:21 it01lt akonadi_control[8776]: ,2020-06-22T08:50:21 akonadi_control[8776]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! Jun 22 08:50:22 it01lt akonadi_control[8776]: ,2020-06-22T08:50:22 akonadi_control[8776]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! Jun 22 08:50:23 it01lt akonadi_control[8776]: ,2020-06-22T08:50:23 akonadi_control[8776]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! Jun 22 08:50:24 it01lt akonadi_control[8776]: ,2020-06-22T08:50:24 akonadi_control[8776]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! Jun 22 08:50:25 it01lt akonadi_control[8776]: ,2020-06-22T08:50:25 akonadi_control[8776]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_imap_resource' crashed. No restart! Jul 11 08:55:29 it01lt akonadi_control[17222]: ,2020-07-11T08:55:29 akonadi_control[17222]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_davgroupware_resource' crashed. No restart! Jul 20 10:45:36 it01lt akonadi_control[7764]: ,2020-07-20T10:45:36 akonadi_control[7764]: <c> org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource' crashed. No restart! ay, 7th and I only found: entries. Maybe due to KDE apps update of KDE neon distro. For the last weeks akonadi runs svery moothly here. Thx for your work on the great KDE pim tools! I enjoy them every day!!! Achim
Thanks for the feedback.