This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems with akonadi and kmail in 4.6.1

Tags: None
(comma "," separated)
geosophos
Registered Member
Posts
12
Karma
0
OS
Hey,

since I have upgraded my kubuntu 10.10 with KDE 4.6.1 every time I start kmail following error does appear (Selbsttest des Akonadi-Servers - KMail):

"Früheres Fehlerprotokoll des Akonadi-Servers gefunden."
"Aktuelles Fehlerprotokoll des Akonadi-Steuerprogramms gefunden."
"Früheres Fehlerprotokoll des Akonade-Steuerprogramms gefunden."

Here my akonadi_control.error from /home/myname/.local/akonadi/:

Code: Select all
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_birthdays_resource" from file "/usr/share/akonadi/agents/birthdaysresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_contacts_resource" from file "/usr/share/akonadi/agents/contactsresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_ical_resource" from file "/usr/share/akonadi/agents/icalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_imap_resource" from file "/usr/share/akonadi/agents/imapresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kabc_resource" from file "/usr/share/akonadi/agents/kabcresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kcal_resource" from file "/usr/share/akonadi/agents/kcalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_knut_resource" from file "/usr/share/akonadi/agents/knutresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kolabproxy_resource" from file "/usr/share/akonadi/agents/kolabproxyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_localbookmarks_resource" from file "/usr/share/akonadi/agents/localbookmarksresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildir_resource" from file "/usr/share/akonadi/agents/maildirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildispatcher_agent" from file "/usr/share/akonadi/agents/maildispatcheragent.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mbox_resource" from file "/usr/share/akonadi/agents/mboxresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_microblog_resource" from file "/usr/share/akonadi/agents/microblog.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mailtransport_dummy_resource" from file "/usr/share/akonadi/agents/mtdummyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_calendar_feeder" from file "/usr/share/akonadi/agents/nepomukcalendarfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_contact_feeder" from file "/usr/share/akonadi/agents/nepomukcontactfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuktag_resource" from file "/usr/share/akonadi/agents/nepomuktagresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nntp_resource" from file "/usr/share/akonadi/agents/nntpresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_notes_resource" from file "/usr/share/akonadi/agents/notesresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_pop3_resource" from file "/usr/share/akonadi/agents/pop3resource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcarddir_resource" from file "/usr/share/akonadi/agents/vcarddirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcard_resource" from file "/usr/share/akonadi/agents/vcardresource.desktop"


Here my akonadiserver.error.old from the same folder:

Code: Select all
Database error: Cannot open database.
  Last driver error: "QMYSQL: Unable to connect"
  Last database error: "Can't connect to local MySQL server through socket '/home/michael/.local/share/akonadi/socket-Thinkpad/mysql.socket' (2)"


A few informations about my system:

Code: Select all
Qt: 4.7.0
KDE Development Platform: 4.6.1 (4.6.1)
KMail: 1.13.5


Can you help me? Sorry for my poor English. I'm from Germany.

Tank you very much,
Michael
User avatar
annew
Manager
Posts
1155
Karma
11
OS
Start by checking what resources are set up. Open System Settings -> Personal Information (I don't know the German labels, but I'm sure you will be able to identify them). For each item in the drop-down list, if there is an entry, use the Edit or Modify button. Make sure each one is pointing to a sensible place - I don't have that version, but I would expect that your entries would point to ~/.local/share/somewhere. Your addressbook, for instance, should point to ~/.local/share/contacts.

If there are some obvious duplicate entries, delete them. It probably would be best if you listed the resources you find (and choose to keep) and the paths that that they point to.

If you run "akonadictl status" I would expect that it is stopped, so when all that is done, try "akonadictl start" then try opening KMail again.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If annew's suggestions don't work, and you still see MySQL related issues, try removing the /home/michael/.local/share/akonadi folder with Akonadi stopped.

If the issue still persists, try deactivating Apparmor, which can interfere with Akonadi's operation and use of MySQL.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
geosophos
Registered Member
Posts
12
Karma
0
OS
Thanks for your answers. On the page https://bugs.kde.org/show_bug.cgi?id=267683#c9 the same problem is described but not really solved.

Code: Select all
kcmshell4 kcm_akonadi


gives after an reboot of the akonadi-server the following result:

Code: Select all
michael@Thinkpad:~$ kcmshell4 kcm_akonadi
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Datei oder Verzeichnis nicht gefunden
QFileSystemWatcher: failed to add paths: /home/michael/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Found mysql_install_db:  "/usr/bin/mysql_install_db"
Found mysqlcheck:  "/usr/bin/mysqlcheck"
akonadi.collectionattributetable                   OK
akonadi.collectionmimetyperelation                 OK
akonadi.collectionpimitemrelation                  OK
akonadi.collectiontable                            OK
akonadi.flagtable                                  OK
akonadi.mimetypetable                              OK
akonadi.parttable                                  OK
akonadi.pimitemflagrelation                        OK
akonadi.pimitemtable                               OK
akonadi.resourcetable                              OK
akonadi.schemaversiontable                         OK
mysql.columns_priv                                 OK
mysql.db                                           OK
mysql.event                                        OK
mysql.func                                         OK
mysql.general_log
Error    : You can't use locks with log tables.
status   : OK
mysql.help_category                                OK
mysql.help_keyword                                 OK
mysql.help_relation                                OK
mysql.help_topic                                   OK
mysql.host                                         OK
mysql.ndb_binlog_index                             OK
mysql.plugin                                       OK
mysql.proc                                         OK
mysql.procs_priv                                   OK
mysql.servers                                      OK
mysql.slow_log
Error    : You can't use locks with log tables.
status   : OK
mysql.tables_priv                                  OK
mysql.time_zone                                    OK
mysql.time_zone_leap_second                        OK
mysql.time_zone_name                               OK
mysql.time_zone_transition                         OK
mysql.time_zone_transition_type                    OK
mysql.user                                         OK
Database "akonadi" opened using driver "QMYSQL"
DbInitializer::run()
checking table  "SchemaVersionTable"
checking table  "ResourceTable"
checking table  "CollectionTable"
checking table  "MimeTypeTable"
checking table  "PimItemTable"
checking table  "FlagTable"
checking table  "PartTable"
checking table  "CollectionAttributeTable"
checking relation  "PimItemFlagRelation"
checking relation  "CollectionMimeTypeRelation"
checking relation  "CollectionPimItemRelation"
DbInitializer::run() done
skipping update 2
skipping update 3
skipping update 4
skipping update 8
skipping update 10
skipping update 12
skipping update 13
skipping update 14
skipping update 15
skipping update 16
skipping update 17
skipping update 18
skipping update 19
Akonadi::NepomukSearchEngine(0x25d7ca0) QObject(0x0) 
DataStore::unhideAllPimItems()
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Database "akonadi" opened using driver "QMYSQL"
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:  ("/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games")
PLUGINS inserting:  "akonadi_birthdays_resource" 0 ("Resource")
PLUGINS inserting:  "akonadi_contacts_resource" 7 ("Resource")
PLUGINS inserting:  "akonadi_ical_resource" 1 ("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")
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_birthdays_resource" from file "/usr/share/akonadi/agents/birthdaysresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_contacts_resource" from file "/usr/share/akonadi/agents/contactsresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_ical_resource" from file "/usr/share/akonadi/agents/icalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_imap_resource" from file "/usr/share/akonadi/agents/imapresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kabc_resource" from file "/usr/share/akonadi/agents/kabcresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kcal_resource" from file "/usr/share/akonadi/agents/kcalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_knut_resource" from file "/usr/share/akonadi/agents/knutresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kolabproxy_resource" from file "/usr/share/akonadi/agents/kolabproxyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_localbookmarks_resource" from file "/usr/share/akonadi/agents/localbookmarksresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildir_resource" from file "/usr/share/akonadi/agents/maildirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildispatcher_agent" from file "/usr/share/akonadi/agents/maildispatcheragent.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mbox_resource" from file "/usr/share/akonadi/agents/mboxresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_microblog_resource" from file "/usr/share/akonadi/agents/microblog.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mailtransport_dummy_resource" from file "/usr/share/akonadi/agents/mtdummyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_calendar_feeder" from file "/usr/share/akonadi/agents/nepomukcalendarfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_contact_feeder" from file "/usr/share/akonadi/agents/nepomukcontactfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuktag_resource" from file "/usr/share/akonadi/agents/nepomuktagresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nntp_resource" from file "/usr/share/akonadi/agents/nntpresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_notes_resource" from file "/usr/share/akonadi/agents/notesresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_pop3_resource" from file "/usr/share/akonadi/agents/pop3resource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcarddir_resource" from file "/usr/share/akonadi/agents/vcarddirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcard_resource" from file "/usr/share/akonadi/agents/vcardresource.desktop"
Akonadi server is now operational.
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Known subscriber "akonadi_maildispatcher_agent" subscribes again
Known subscriber "akonadi_maildispatcher_agent" subscribes again
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
akonadi_maildispatcher_agent(7239)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unbekannter Fehler. (Fehler beim Einholen der Ressourcen-Sammlung.)"
akonadi_maildispatcher_agent(7239) OutboxQueue::Private::localFoldersRequestResult: Failed to get outbox folder.
akonadi_maildispatcher_agent(7239)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_0" : "Unbekannter Fehler. (Fehler beim Einholen der Ressourcen-Sammlung.)"
michael@Thinkpad:~$ ^C
michael@Thinkpad:~$ kcmshell4 kcm_akonadi
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Datei oder Verzeichnis nicht gefunden
QFileSystemWatcher: failed to add paths: /home/michael/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon


Is it an reproducible bug of KDE 4.6.1?

Thanks from Germany,
Michael
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Akonadi seems to be running fine. Please post the content of /home/myname/.local/akonadi/akonadiserver.error to verify this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
geosophos
Registered Member
Posts
12
Karma
0
OS
The path /home/myname/.local/akonadi/akonadiserver.error does not exist on my system. The file "akonadiserver.error" isn't there, too. In /home/myname/.local/share/akonadi are the following files listed:

- akonadi_control.error
- akonadi_control.error.old
- mysql.conf

Furthermore it exist four folders (db_data, db_misc, file_db_data and socket-Thinkpad). Is there an problem with the paths?

Here the content of my akonadi_control.error:
Code: Select all
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_birthdays_resource" from file "/usr/share/akonadi/agents/birthdaysresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_contacts_resource" from file "/usr/share/akonadi/agents/contactsresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_ical_resource" from file "/usr/share/akonadi/agents/icalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_imap_resource" from file "/usr/share/akonadi/agents/imapresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kabc_resource" from file "/usr/share/akonadi/agents/kabcresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kcal_resource" from file "/usr/share/akonadi/agents/kcalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_knut_resource" from file "/usr/share/akonadi/agents/knutresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kolabproxy_resource" from file "/usr/share/akonadi/agents/kolabproxyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_localbookmarks_resource" from file "/usr/share/akonadi/agents/localbookmarksresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildir_resource" from file "/usr/share/akonadi/agents/maildirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildispatcher_agent" from file "/usr/share/akonadi/agents/maildispatcheragent.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mbox_resource" from file "/usr/share/akonadi/agents/mboxresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_microblog_resource" from file "/usr/share/akonadi/agents/microblog.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mailtransport_dummy_resource" from file "/usr/share/akonadi/agents/mtdummyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_calendar_feeder" from file "/usr/share/akonadi/agents/nepomukcalendarfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_contact_feeder" from file "/usr/share/akonadi/agents/nepomukcontactfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuktag_resource" from file "/usr/share/akonadi/agents/nepomuktagresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nntp_resource" from file "/usr/share/akonadi/agents/nntpresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_notes_resource" from file "/usr/share/akonadi/agents/notesresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_pop3_resource" from file "/usr/share/akonadi/agents/pop3resource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcarddir_resource" from file "/usr/share/akonadi/agents/vcarddirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcard_resource" from file "/usr/share/akonadi/agents/vcardresource.desktop"

Thanks for your help,
Michael
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Those akonadi_control errors can be ignored safely. Are you able to use KMail now?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
geosophos
Registered Member
Posts
12
Karma
0
OS
Yes, I'm able to start and use kmail (and kopete and so on) without any problems. But after any start of kmail the following error-message does appear:

Image

Have a look at my akondi-settings:

Image Image

All seems correctly. But why does appear the above mentioned error-message since I've changed to 4.6.1?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please provide a translation of the bottom three items which failed? If they are referencing to *.old error files, they can be ignored.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
geosophos
Registered Member
Posts
12
Karma
0
OS
- Older error protocol of akonadi server was found
- Current error protocol of akonadi control program was found
- Older error protocol of akonadi server was found
geosophos
Registered Member
Posts
12
Karma
0
OS
Here the result of akonadi-server test:

Code: Select all
Akonadi Server Self-Test Report
===============================

Test 1:  SUCCESS
--------

Database driver found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system.

File content of '/home/michael/.config/akonadi/akonadiserverrc':
[QMYSQL]
Name=akonadi
Host=
Options="UNIX_SOCKET=/home/michael/.local/share/akonadi/socket-Thinkpad/mysql.socket"
ServerPath=/usr/sbin/mysqld-akonadi
StartServer=true

[Debug]
Tracer=null

[%General]
Driver=QMYSQL


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

Test 3:  SUCCESS
--------

MySQL server found.
Details: You have currently configured Akonadi to use the MySQL server '/usr/sbin/mysqld-akonadi'.
Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld'; its location varies depending on the distribution.

Test 4:  SUCCESS
--------

MySQL server is executable.
Details: MySQL server found: /usr/sbin/mysqld-akonadi  Ver 5.1.49-1ubuntu8.1 for debian-linux-gnu on x86_64 ((Ubuntu))


Test 5:  SUCCESS
--------

MySQL server log contains no errors.
Details: The MySQL server log file &apos;<a href='/home/michael/.local/share/akonadi/db_data/mysql.err'>/home/michael/.local/share/akonadi/db_data/mysql.err</a>&apos; does not contain any errors or warnings.

File content of '/home/michael/.local/share/akonadi/db_data/mysql.err':
110316 14:25:28 [Note] Plugin 'FEDERATED' is disabled.
110316 14:25:29  InnoDB: Started; log sequence number 0 152418
110316 14:25:29 [Note] /usr/sbin/mysqld-akonadi: ready for connections.
Version: '5.1.49-1ubuntu8.1'  socket: '/home/michael/.local/share/akonadi/socket-Thinkpad/mysql.socket'  port: 0  (Ubuntu)


Test 6:  SUCCESS
--------

MySQL server default configuration found.
Details: The default configuration for the MySQL server was found and is readable at <a href='/etc/akonadi/mysql-global.conf'>/etc/akonadi/mysql-global.conf</a>.

File content of '/etc/akonadi/mysql-global.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]
skip_grant_tables
skip_networking

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
#sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
#sql_mode=strict_trans_tables

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb
# case-insensitive table names, avoids trouble on windows
lower_case_table_names=1
character_set_server=utf8
collation_server=utf8_general_ci
table_cache=200
thread_cache_size=3
#log_bin=mysql-bin
#expire_logs_days=3
#sync_bin_log=0
# error log file name, relative to datadir
log_error=mysql.err
log_warnings=2
# log all queries, useful for debugging but generates an enormous amount of data
#log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for debugging only)
#log_slow_queries=mysql.slow
#long_query_time=1
# log queries not using indices, debug only, disable for production use
#log_queries_not_using_indexes=1
# maximum blob size
max_allowed_packet=32M
max_connections=256
# makes sense when having the same query multiple times
# makes no sense with prepared statements and/or transactions
query_cache_type=0
query_cache_size=0

innodb_file_per_table=1
innodb_log_buffer_size=1M
innodb_additional_mem_pool_size=1M
# messure database size and adjust
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
innodb_buffer_pool_size=80M
# size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
innodb_log_file_size=64M
innodb_flush_log_at_trx_commit=2

# Do not drop the connection to the DB after 8 hours of inactivity
wait_timeout=1296000

[client]
default-character-set=utf8


Test 7:  SKIP
--------

MySQL server custom configuration not available.
Details: The custom configuration for the MySQL server was not found but is optional.

Test 8:  SUCCESS
--------

MySQL server configuration is usable.
Details: The MySQL server configuration was found at <a href='/home/michael/.local/share/akonadi/mysql.conf'>/home/michael/.local/share/akonadi/mysql.conf</a> and is readable.

File content of '/home/michael/.local/share/akonadi/mysql.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]
skip_grant_tables
skip_networking

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
#sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
#sql_mode=strict_trans_tables

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb
# case-insensitive table names, avoids trouble on windows
lower_case_table_names=1
character_set_server=utf8
collation_server=utf8_general_ci
table_cache=200
thread_cache_size=3
#log_bin=mysql-bin
#expire_logs_days=3
#sync_bin_log=0
# error log file name, relative to datadir
log_error=mysql.err
log_warnings=2
# log all queries, useful for debugging but generates an enormous amount of data
#log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for debugging only)
#log_slow_queries=mysql.slow
#long_query_time=1
# log queries not using indices, debug only, disable for production use
#log_queries_not_using_indexes=1
# maximum blob size
max_allowed_packet=32M
max_connections=256
# makes sense when having the same query multiple times
# makes no sense with prepared statements and/or transactions
query_cache_type=0
query_cache_size=0

innodb_file_per_table=1
innodb_log_buffer_size=1M
innodb_additional_mem_pool_size=1M
# messure database size and adjust
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
innodb_buffer_pool_size=80M
# size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
innodb_log_file_size=64M
innodb_flush_log_at_trx_commit=2

# Do not drop the connection to the DB after 8 hours of inactivity
wait_timeout=1296000

[client]
default-character-set=utf8


Test 9:  SUCCESS
--------

akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
Result:
Akonadi 1.5.0


Test 10:  SUCCESS
--------

Akonadi control process registered at D-Bus.
Details: The Akonadi control process is registered at D-Bus which typically indicates it is operational.

Test 11:  SUCCESS
--------

Akonadi server process registered at D-Bus.
Details: The Akonadi server process is registered at D-Bus which typically indicates it is operational.

Test 12:  SUCCESS
--------

Nepomuk search service registered at D-Bus.
Details: The Nepomuk search service is registered at D-Bus which typically indicates it is operational.

Test 13:  SUCCESS
--------

Nepomuk search service uses an appropriate backend.
Details: The Nepomuk search service uses one of the recommended backends.

Test 14:  SKIP
--------

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.

Test 15:  SUCCESS
--------

Resource agents found.
Details: At least one resource agent has been found.

Directory listing of '/usr/share/akonadi/agents':
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
Directory listing of '/usr/share/akonadi/agents':
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

Environment variable XDG_DATA_DIRS is set to '/usr/share:/usr/share:/usr/local/share'

Test 16:  SUCCESS
--------

No current Akonadi server error log found.
Details: The Akonadi server did not report any errors during its current startup.

Test 17:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/michael/.local/share/akonadi/akonadiserver.error.old'>/home/michael/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/michael/.local/share/akonadi/akonadiserver.error.old':
D-Bus session bus went down - quitting


Test 18:  ERROR
--------

Current Akonadi control error log found.
Details: The Akonadi control process reported errors during its current startup. The log can be found in <a href='/home/michael/.local/share/akonadi/akonadi_control.error'>/home/michael/.local/share/akonadi/akonadi_control.error</a>.

File content of '/home/michael/.local/share/akonadi/akonadi_control.error':
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_birthdays_resource" from file "/usr/share/akonadi/agents/birthdaysresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_contacts_resource" from file "/usr/share/akonadi/agents/contactsresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_ical_resource" from file "/usr/share/akonadi/agents/icalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_imap_resource" from file "/usr/share/akonadi/agents/imapresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kabc_resource" from file "/usr/share/akonadi/agents/kabcresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kcal_resource" from file "/usr/share/akonadi/agents/kcalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_knut_resource" from file "/usr/share/akonadi/agents/knutresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kolabproxy_resource" from file "/usr/share/akonadi/agents/kolabproxyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_localbookmarks_resource" from file "/usr/share/akonadi/agents/localbookmarksresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildir_resource" from file "/usr/share/akonadi/agents/maildirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildispatcher_agent" from file "/usr/share/akonadi/agents/maildispatcheragent.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mbox_resource" from file "/usr/share/akonadi/agents/mboxresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_microblog_resource" from file "/usr/share/akonadi/agents/microblog.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mailtransport_dummy_resource" from file "/usr/share/akonadi/agents/mtdummyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_calendar_feeder" from file "/usr/share/akonadi/agents/nepomukcalendarfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_contact_feeder" from file "/usr/share/akonadi/agents/nepomukcontactfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuktag_resource" from file "/usr/share/akonadi/agents/nepomuktagresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nntp_resource" from file "/usr/share/akonadi/agents/nntpresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_notes_resource" from file "/usr/share/akonadi/agents/notesresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_pop3_resource" from file "/usr/share/akonadi/agents/pop3resource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcarddir_resource" from file "/usr/share/akonadi/agents/vcarddirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcard_resource" from file "/usr/share/akonadi/agents/vcardresource.desktop"


Test 19:  ERROR
--------

Previous Akonadi control error log found.
Details: The Akonadi control process reported errors during its previous startup. The log can be found in <a href='/home/michael/.local/share/akonadi/akonadi_control.error.old'>/home/michael/.local/share/akonadi/akonadi_control.error.old</a>.

File content of '/home/michael/.local/share/akonadi/akonadi_control.error.old':
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_birthdays_resource" from file "/usr/share/akonadi/agents/birthdaysresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_contacts_resource" from file "/usr/share/akonadi/agents/contactsresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_ical_resource" from file "/usr/share/akonadi/agents/icalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_imap_resource" from file "/usr/share/akonadi/agents/imapresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kabc_resource" from file "/usr/share/akonadi/agents/kabcresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kcal_resource" from file "/usr/share/akonadi/agents/kcalresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_knut_resource" from file "/usr/share/akonadi/agents/knutresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_kolabproxy_resource" from file "/usr/share/akonadi/agents/kolabproxyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_localbookmarks_resource" from file "/usr/share/akonadi/agents/localbookmarksresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildir_resource" from file "/usr/share/akonadi/agents/maildirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_maildispatcher_agent" from file "/usr/share/akonadi/agents/maildispatcheragent.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mbox_resource" from file "/usr/share/akonadi/agents/mboxresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_microblog_resource" from file "/usr/share/akonadi/agents/microblog.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_mailtransport_dummy_resource" from file "/usr/share/akonadi/agents/mtdummyresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_calendar_feeder" from file "/usr/share/akonadi/agents/nepomukcalendarfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuk_contact_feeder" from file "/usr/share/akonadi/agents/nepomukcontactfeeder.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nepomuktag_resource" from file "/usr/share/akonadi/agents/nepomuktagresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_nntp_resource" from file "/usr/share/akonadi/agents/nntpresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_notes_resource" from file "/usr/share/akonadi/agents/notesresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_pop3_resource" from file "/usr/share/akonadi/agents/pop3resource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcarddir_resource" from file "/usr/share/akonadi/agents/vcarddirresource.desktop"
void AgentManager::readPluginInfos(const QDir&) Duplicated agent identifier "akonadi_vcard_resource" from file "/usr/share/akonadi/agents/vcardresource.desktop"
D-Bus session bus went down - quitting
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The failure of tests 17, 18 and 19 can be ignored, as they have no consequence on the operation of Akonadi. You should be able to use KMail without issues, simply ignore the dialog and dismiss it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
SteDi
Registered Member
Posts
1
Karma
0
OS
I have got the same problem, over here. Ignoring the errors would be nice, but KMail will not start with errors in Akonadi self test.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you start KMail in Konsole, what is the output?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]