Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: Akonadi doesn't start, crashes by start from console

  1. #11

    Default Re: Akonadi doesn't start, crashes by start from console

    Quote Originally Posted by dcurtisfra View Post
    OK, but Leap 15.2 –
    Just so there is no misunderstanding: I'm running tumbleweed (last "zypper dup" yesterday evening).
    Quote Originally Posted by dcurtisfra View Post
    Code:
     > l ~/.local/share/akonadi/
    insgesamt 20
    drwxr-xr-x   7 xxx users  189 14. Mai 14:43 ./
    drwx------  86 xxx users 4096 12. Mai 13:03 ../
    -rw-r--r--   1 xxx users  140 14. Mai 14:43 Akonadi.error
    -rw-r--r--   1 xxx users  140 14. Mai 14:43 Akonadi.error.old
    drwxr-xr-x   6 xxx users  273 14. Mai 14:43 db_data/
    drwxr-xr-x   2 xxx users    6 27. Nov 10:26 db_misc/
    drwxr-xr-x 102 xxx users 4096 29. Nov 17:46 file_db_data/
    drwxr-xr-x   2 xxx users    6 29. Apr 19:19 file_lost+found/
    -rw-r--r--   1 xxx users 3423 27. Nov 10:26 mysql.conf
    drwxr-xr-x   8 xxx users  105 27. Nov 10:26 search_db/
    lrwxrwxrwx   1 xxx users   22 14. Mai 14:43 socket-yyy-default -> /run/user/1000/akonadi/
    Yes, on my machine it is "socket-PC-default -> /run/user/1000/akonadi"

    Quote Originally Posted by dcurtisfra View Post
    Code:
     > 
     > akonadictl status
    Akonadi Control: stopped
    Akonadi Server: stopped
    Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
    Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
     > akonadictl start
    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
     > akonadi.collectionattributetable                   OK
    akonadi.collectionmimetyperelation                 OK
    akonadi.collectionpimitemrelation                  OK
    akonadi.collectiontable                            OK
    akonadi.flagtable                                  OK
    akonadi.mimetypetable                              OK
    akonadi.parttable                                  OK
    akonadi.parttypetable                              OK
    akonadi.pimitemflagrelation                        OK
    akonadi.pimitemtable                               OK
    akonadi.pimitemtagrelation                         OK
    akonadi.relationtable                              OK
    akonadi.relationtypetable                          OK
    akonadi.resourcetable                              OK
    akonadi.schemaversiontable                         OK
    akonadi.tagattributetable                          OK
    akonadi.tagremoteidresourcerelationtable           OK
    akonadi.tagtable                                   OK
    akonadi.tagtypetable                               OK
    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
    QDBusConnection: name 'org.freedesktop.Akonadi.Control' had owner '' but we thought it was ':1.144'
    
     >
    Given the following trace content –
    Code:
    81. org.kde.pim.akonadiserver: Subscriber "" disconnected
    147. org.kde.pim.akonadiserver:   DB error:  "Lost connection to MySQL server during query"
    148. org.kde.pim.akonadiserver:   Error text: "Lost connection to MySQL server during query QMYSQL3: Der Befehl konnte nicht ausgeführt werden"
    154. org.kde.pim.akonadicore: "QLocalSocket: Die Verbindung wurde von der Gegenseite geschlossen" "/run/user/1000/akonadi/akonadiserver-cmd.socket"
    are you certain that, there's a link in ‘~/.local/share/akonadi/’ named “socket-«hostname»-default” pointing to ‘/run/user/1000/akonadi/’?
    Yes, see above.
    Quote Originally Posted by dcurtisfra View Post
    And, are certain that, ‘/run/user/1000/akonadi/’ contains the following? –
    Code:
     > l ~/.local/share/akonadi/socket-yyy-default/
    insgesamt 4
    drwxr-xr-x 2 xxx users 120 14. Mai 18:58 ./
    drwx------ 9 xxx users 320 14. Mai 18:57 ../
    srwxr-xr-x 1 xxx users   0 14. Mai 18:58 akonadiserver-cmd.socket=
    srwxr-xr-x 1 xxx users   0 14. Mai 18:58 akonadiserver-ntf.socket=
    -rw-rw---- 1 xxx users   5 14. Mai 18:58 mysql.pid
    srwxrwxrwx 1 xxx users   0 14. Mai 18:58 mysql.socket=
     >
    Ahhh, no. It contains just one file: "mysql.pid" which contains 5 Bytes, in this case 6276. What do I do now?

  2. #12
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,258

    Default Re: Akonadi doesn't start, crashes by start from console

    Quote Originally Posted by wodenhof View Post
    Ahhh, no. It contains just one file: "mysql.pid" which contains 5 Bytes, in this case 6276. What do I do now?
    Check that the Akonadi configuration is OK – the sockets have to be defined –
    Code:
     > cat .config/akonadi/akonadiserverrc 
    [Debug]
    Tracer=null
    
    [%General]
    Driver=QMYSQL
    
    [QMYSQL]
    Host=
    Name=akonadi
    Options="UNIX_SOCKET=/run/user/1000/akonadi/mysql.socket"
    ServerPath=/usr/sbin/mysqld
    StartServer=true
     > 
     > cat .config/akonadi/akonadiconnectionrc 
    [DBUS]
    Address="unix:path=/run/user/1000/bus"
    
    [Data]
    Method=UnixPath
    UnixPath=/run/user/1000/akonadi/akonadiserver-cmd.socket
    
    [Notifications]
    Method=UnixPath
    UnixPath=/run/user/1000/akonadi/akonadiserver-ntf.socket
     >
    It may well be that, AppArmor is the culprit – you may have to set the Akonadi Server to “complain” –
    Code:
     # aa-complain /usr/bin/akonadiserver

  3. #13

    Default Re: Akonadi doesn't start, crashes by start from console

    Okay. "akonadiserverrc" is exactly like yours. "akonadiconnectionrc" didn't exist. So I created it and copied your template verbatim into the new file. Akonadi still crashes.

    Code:
    me@PC:~> sudo aa-complain /usr/bin/akonadiserver 
    Profil for /usr/bin/akonadiserver not found, will be skipped.
    me@PC:~>
    
    No joy either. When started from the console Akonadi gives four complaints during shutdown:

    Code:
    ...
    org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin
    /akonadi_akonotes_resource" stopped unexpectedly ( "Der Prozess ist abgestürzt" ) 
    org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource' crashed. No restart!
    ...
    org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_ical_resource" stopped unexpectedly ( "Der Prozess ist abgestürzt" ) 
    org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' crashed. No restart! 
    org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_ical_resource" stopped unexpectedly ( "Der Prozess ist abgestürzt" ) 
    org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_ical_resource' crashed. No restart!
    ...
    org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_notes_agent" stopped unexpectedly ( "Der Prozess ist abgestürzt" ) 
    org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_notes_agent' crashed. No restart!
    ...
    
    Is that of any significance or helpful?

  4. #14
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,258

    Question Re: Akonadi doesn't start, crashes by start from console

    Quote Originally Posted by wodenhof View Post
    Is that of any significance or helpful?
    What happens if, you set up a new, fresh, Test User and, set up Kontact from scratch?
    1. Start and set up KMail.
    2. Start and set up KOrganizer.
    3. Start and set up KAdressBook.
    4. Start and set up Akregator.
    5. Start Kontact.

  5. #15

    Default Re: Akonadi doesn't start, crashes by start from console

    Quote Originally Posted by dcurtisfra View Post
    What happens if, you set up a new, fresh, Test User and, set up Kontact from scratch?
    1. Start and set up KMail.
    2. Start and set up KOrganizer.
    3. Start and set up KAdressBook.
    4. Start and set up Akregator.
    5. Start Kontact.
    This is weird. I set up that test-user and KMail and connected it to one of my mail providers. Mails in the inbox and other directories were there.

    Then I started KOrganizer and imported one *.ics calendar file. That showed up as akonadi_ical_ressource in the left panel, not with the name I assigned it. And the entries of the right panel didn't show up at all, i.e. the calendar of 1.2 MB showed as empty.

    KAdressBook and Akregator ran normal.

    When I started Kontact there were no mails anymore and the connection to my provider was gone, just its name was still there in the send panel of the setup.

    Remove the entire PIM suite and reinstall? In case of which: how do I save my local data? Thanks for your help.

    P.S.: I just ran the daily "sudo zypper dup" in the background. Lots and lots of PIM-rpms got updated. I'll reboot and have a look.

  6. #16

    Default Re: Akonadi doesn't start, crashes by start from console

    No luck, Kontact is still crashing.

  7. #17
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,258

    Default Re: Akonadi doesn't start, crashes by start from console

    Quote Originally Posted by wodenhof View Post
    Remove the entire PIM suite and reinstall? In case of which: how do I save my local data?
    System and User are separated – there's no user data in System …
    • Catch-22 with local User data – Kontact has to be up and running …

    Places where local User data is stored –
    • KWallet – Folders: “imap”; “mailtransports”: “pop3” – problem: the passwords are stored in a folder named as a numeric identifier …
    • Solution: store the ISP login information in the KWallet folder “Passwords” – sub-folder language specific “Passwords” »auf Deutsch „Passwörter”« …
    • Or, maintain paper copies …
    • ‘~/.config/’
    • ‘~/.local/share/’

  8. #18

    Default Re: Akonadi doesn't start, crashes by start from console

    Okay, I do a regular backup on every boot. Since this is a home PC backup happens may even be several times per day. So the data will be preserved, it is just the trick of restoring them...

    Do you know the zypper command to remove the PIM thoroughly and totally?

  9. #19
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,258

    Question Re: Akonadi doesn't start, crashes by start from console

    Quote Originally Posted by wodenhof View Post
    Do you know the zypper command to remove the PIM thoroughly and totally?
    Yes, but, first, have you been obeying the Tumbleweed rule?
    Rolling release means no updates, only urgent patches and upgrades

    Code:
     # zypper dup
     # zypper dup --from packman-essentials --allow-vendor-change

    Removing the KDE PIM –
    Code:
     > rpm --query --recommends patterns-kde-kde_pim 
    akregator
    kaddressbook
    kleopatra
    kmail
    knotes
    kontact
    korganizer
     >
    • Remove the components and then, the pattern.

    And then, you need to remove any parts of Akonadi which have not been removed by the KDE PIM components –
    Code:
     > zypper search --installed-only akonadi

  10. #20

    Default Re: Akonadi doesn't start, crashes by start from console

    Yes, I do a (daily) "sudo zypper --verbose dup --allow-vendor-change --details".

    I'll try the rest later, currently I'm a bit pressed for time. Thanks again for your input.


Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •