Announcement

Collapse
No announcement yet.

Kontact contacts unavailable because of akonadi server

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kontact contacts unavailable because of akonadi server

    The Kontact contacts window is grayed out with a red X in the middle saying, "Akonadi not operational". Clicking on the details button gives everything checked green except:

    No resource agents found.
    Previous akonadi server error log found.

    Not having contacts is a big deal. Having looked at the KDE PIM akonadi architecture page at

    http://pim.kde.org/akonadi/

    I think I do not want to get into this. Is there no easy fix?

    I realize this was an issue during Lucid pre-release, but I did not see any solution in a reasonable number of steps.
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    Re: Kontact contacts unavailable because of akonadi server

    If you quite Kontact and start it again, do you get access to your contacts?

    Comment


      #3
      Re: Kontact contacts unavailable because of akonadi server

      I'm not the original poster, but I have exactly the same problem. As long I let KMail issue the error message first I can restart KMail and all is well.
      An old mainframer trying to get modern in his retirement.

      Comment


        #4
        Re: Kontact contacts unavailable because of akonadi server

        Currently akonadi/kontact/kmail have ... issues ... But they can be worked around. As others have said, restarting kmail should restore access to your contacts.

        Autostarting akonadi shoud help as, the following script starts it before KDE starts (writing from memeory here)

        Code:
        echo "akonadictl start" > ~/.kde/env/start_akonadi.sh
        then reboot *should* do away with the problem

        Comment


          #5
          Re: Kontact contacts unavailable because of akonadi server

          Originally posted by abalone
          If you quite Kontact and start it again, do you get access to your contacts?
          Yes, but... All the addresses have disappeared. I have seen this before and find it more than annoying. A contacts list which loses addresses is worse than useless. Do I have to reimport an ldif each time I start Kontact?

          I stopped Kontact, killed all the akonadi processes and restarted it. Same problem. During the startup, I see

          $ akonadictl start &
          [1] 3156
          jon@jon-desktop:~/.kde/env$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
          Starting Akonadi Server...
          done.
          Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
          [akonadiserver] search paths: ("/home/jon/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/opt/real/RealPlayer", "/home/jon/jon_perl", "/usr/local/jre1.6.0_03/bin", "/home/jon", ".", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")
          [akonadiserver] Found mysql_install_db: "/usr/bin/mysql_install_db"
          [akonadiserver] Found mysql_upgrade: "/usr/bin/mysql_upgrade"
          "akonadiserver" [out] "Looking for 'mysql' as: /usr/bin/mysql
          "
          "akonadiserver" [out] "Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
          "
          "akonadiserver" [out] "Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/jon/.local/share/akonadi/db_misc/mysql.socket'
          "
          [akonadiserver] /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/home/jon/.local/share/akonadi/db_misc/mysql.socket' (2) when trying to connect
          [akonadiserver] FATAL ERROR: Upgrade failed
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] DbInitializer::run()
          [akonadiserver] checking table "SchemaVersionTable"
          [akonadiserver] checking table "ResourceTable"
          [akonadiserver] checking table "CollectionTable"
          [akonadiserver] checking table "MimeTypeTable"
          [akonadiserver] checking table "PimItemTable"
          [akonadiserver] checking table "FlagTable"
          [akonadiserver] checking table "PartTable"
          [akonadiserver] checking table "CollectionAttributeTable"
          [akonadiserver] checking relation "PimItemFlagRelation"
          [akonadiserver] checking relation "CollectionMimeTypeRelation"
          [akonadiserver] checking relation "CollectionPimItemRelation"
          [akonadiserver] DbInitializer::run() done
          [akonadiserver] skipping update 2
          [akonadiserver] skipping update 3
          [akonadiserver] skipping update 4
          [akonadiserver] skipping update 8
          [akonadiserver] skipping update 10
          [akonadiserver] skipping update 12
          [akonadiserver] skipping update 13
          [akonadiserver] skipping update 14
          [akonadiserver] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
          [akonadiserver] DataStore::unhideAllPimItems()
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          PLUGINS: "/usr/share/akonadi/agents"
          PLUGINS: ("birthdaysresource.desktop", "contactsresource.desktop", "icalresource.desktop", "imapresource.desktop", "kabcresource.desktop", "kcalresource.desktop", "knutresource.desktop", "kolabproxyresource.desktop", "localbookmarksresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "microblog.desktop", "mtdummyresource.desktop", "nepomukcalendarfeeder.desktop", "nepomukcontactfeeder.desktop", "nepomuktagresource.desktop", "nntpresource.desktop", "notesresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop")
          search paths: ("/home/jon/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/opt/real/RealPlayer", "/home/jon/jon_perl", "/usr/local/jre1.6.0_03/bin", "/home/jon", ".")
          PLUGINS inserting: "akonadi_birthdays_resource" 1 ("Resource")
          PLUGINS inserting: "akonadi_contacts_resource" 1 ("Resource")
          PLUGINS inserting: "akonadi_ical_resource" 2 ("Resource")
          PLUGINS inserting: "akonadi_imap_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_kabc_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_kcal_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_knut_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_kolabproxy_resource" 0 ("Resource", "Unique", "NoConfig")
          PLUGINS inserting: "akonadi_localbookmarks_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_maildir_resource" 1 ("Resource")
          PLUGINS inserting: "akonadi_maildispatcher_agent" 0 ("Unique", "Autostart", "NoConfig")
          PLUGINS inserting: "akonadi_mbox_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_microblog_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_mailtransport_dummy_resource" 0 ("Resource", "MailTransport")
          PLUGINS inserting: "akonadi_nepomuk_calendar_feeder" 0 ("Unique", "NoConfig")
          PLUGINS inserting: "akonadi_nepomuk_contact_feeder" 0 ("Unique", "Autostart", "NoConfig")
          PLUGINS inserting: "akonadi_nepomuktag_resource" 0 ("Resource", "Virtual", "Unique", "NoConfig")
          PLUGINS inserting: "akonadi_nntp_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_notes_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_pop3_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_vcarddir_resource" 0 ("Resource")
          PLUGINS inserting: "akonadi_vcard_resource" 0 ("Resource")
          PLUGINS: "/usr/share/akonadi/agents"
          PLUGINS: ("birthdaysresource.desktop", "contactsresource.desktop", "icalresource.desktop", "imapresource.desktop", "kabcresource.desktop", "kcalresource.desktop", "knutresource.desktop", "kolabproxyresource.desktop", "localbookmarksresource.desktop", "maildirresource.desktop", "maildispatcheragent.desktop", "mboxresource.desktop", "microblog.desktop", "mtdummyresource.desktop", "nepomukcalendarfeeder.desktop", "nepomukcontactfeeder.desktop", "nepomuktagresource.desktop", "nntpresource.desktop", "notesresource.desktop", "pop3resource.desktop", "vcarddirresource.desktop", "vcardresource.desktop")
          [/usr/bin/akonadi_nepomuk_contact_feeder] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
          [/usr/bin/akonadi_ical_resource] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QStr ing,QString,QString)
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
          [akonadiserver] Database "akonadi" opened using driver "QMYSQL"


          What the ... is akonadai doing with mysql? What even tells it I have installed mysql? Using phpmyadmin, I see 4 data bases:

          information_schema
          my joomla data base
          mysql
          phpmyadmin

          What does this mean?

          Anyone else have this problem? Or an alternative program to Kontact?
          'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

          Comment

          Working...
          X