Version: 0.99 (using 4.4.2 (KDE 4.4.2), Mandriva Linux release 2010.0 (Official) for x86_64) Compiler: gcc OS: Linux (x86_64) release 2.6.31.12-desktop-3mnb Akonadi always fails to run in the first time, i need to rerun it to be able to for example access kmail. So i runned kmail for the first time from the console to show the output: branch]$ kmail Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kmail(16352) KMKernel::recoverDeadLetters: Unable to open autosave file "1268840366.13399.PltKs" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) [akonadiserver] search paths: ("/usr/bin", "/bin", "/usr/local/bin", "/usr/X11R6/bin/", "/usr/games", "/usr/lib/qt4/bin", "/home/mmodem/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") [akonadiserver] Found mysql_install_db: "/usr/bin/mysql_install_db" QPainter::end: Painter ended with 2 saved states QPainter::end: Painter ended with 2 saved states QPainter::end: Painter ended with 2 saved states [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] Database "akonadi" opened using driver "QMYSQL" [akonadiserver] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) [akonadiserver] Database "akonadi" opened using driver "QMYSQL" [akonadiserver] DataStore::unhideAllPimItems() 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: ("/usr/bin", "/bin", "/usr/local/bin", "/usr/X11R6/bin/", "/usr/games", "/usr/lib/qt4/bin", "/home/mmodem/bin") PLUGINS inserting: "akonadi_birthdays_resource" 0 ("Resource") PLUGINS inserting: "akonadi_contacts_resource" 1 ("Resource") PLUGINS inserting: "akonadi_ical_resource" 0 ("Resource") PLUGINS inserting: "akonadi_imap_resource" 0 ("Resource") PLUGINS inserting: "akonadi_kabc_resource" 2 ("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") Akonadi server is now operational. [akonadiserver] Database "akonadi" opened using driver "QMYSQL" [/usr/bin/akonadi_nepomuk_contact_feeder] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) [akonadiserver] Database "akonadi" opened using driver "QMYSQL" [/usr/bin/akonadi_kabc_resource] akonadi_kabc_resource_1(16391)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/mmodem/.kde4/share/apps/kabc" [akonadiserver] Database "akonadi" opened using driver "QMYSQL" [akonadiserver] Database "akonadi" opened using driver "QMYSQL" [akonadiserver] Database "akonadi" opened using driver "QMYSQL" kmail(16352)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: [akonadiserver] Database "akonadi" opened using driver "QMYSQL" kmail(16352)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: [mmodem@localhost branch]$ QPainter::end: Painter ended with 2 saved states QPainter::end: Painter ended with 2 saved states kmail(16352)/libakonadi Akonadi::Control::Private::exec: Could not start/stop Akonadi! kmail(16352) main: Unable to start Akonadi server, exit application kmail(16352)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: As we can see akonadi says that the server suceeds to run but says that cant start akonadi, pretty weird...
In fact akonadi server is really running since i just checked it: ~SPECS]$ akonadictl status Akonadi Control: running Akonadi Server: running Akonadi Server Search Support: available (backend: Virtuoso) So now i runned kmail and there arent problems. The problem remains running an application that needs akonadi. Akondi reports that fails to start but in fact it starts but the application fails to run due to the akonadi server incorrect information.
Fixed in 4.5.
Can you commit the fix in branch4?