Bug 310238 - akonadi manages to call mysqlcheck on a database server, instead of localhost
Summary: akonadi manages to call mysqlcheck on a database server, instead of localhost
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.9
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-11-17 00:10 UTC by Hans-Peter Jansen
Modified: 2018-09-24 08:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Peter Jansen 2012-11-17 00:10:40 UTC
I have my database host entered in .my.cnf in the [client] section. Somehow akonadi manages to
run mysqlcheck on that host, instead of the local instance (all database stuff with default values).

Looking into the sources show, that mysqlcheck is called with a socket argument, which should overrule some host= setting. But that seem to be broken with openSUSE 12.2 and K:R:49.

Reproducible: Always

Steps to Reproduce:
1. add host= in [client] of .my.cnf
2. start akonadi manually "akonadictl start"
3.
Actual Results:  
servers databases are checked
/usr/bin/mysqlcheck: Got error: 2003: Can't connect to MySQL server on 'server' (111) when trying to connect

Expected Results:  
local databases of users private mysqld should be checked

Because of major issues with my nfs mounted home, I disabled "Akonadi Server Search Support".
That regularily went south hooking resources like mad for hours. Stopping akonadi resulted than in shutting down many subsystems, but this sucking virtuoso process kept going until being killed.

Manually stopping akonadi reveals some issues, the major ones are akonadi_imap_resource never shuts down normally:

akonadi_kabc_resource_1(21665)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/hp/tmp" 
akonadi_kabc_resource_0(21664)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/work/database" 
AkonadiAgentServer(21671)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/ac/.kde/share/apps/kabc" 
AkonadiAgentServer(21670)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/hp/.kde/share/apps/kabc" 
Application '/usr/bin/akonadi_birthdays_resource' exited normally...
Application '/usr/bin/akonadi_nepomuk_feeder' exited normally...
Application '/usr/bin/akonadi_googlecontacts_resource' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_googlecalendar_resource' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_kabc_resource' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_kabc_resource' exited normally...
Application '/usr/bin/akonadi_archivemail_agent' exited normally...
Application '/usr/bin/akonadi_maildispatcher_agent' exited normally...
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
Application '/usr/bin/akonadi_mailfilter_agent' exited normally...
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_imap_resource stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_imap_resource' crashed. No restart!
Application 'akonadiserver' exited normally...
Comment 1 Christophe Marin 2013-08-14 12:17:57 UTC
Should be fixed in Akonadi 1.9.1 (due to http://commits.kde.org/akonadi/b45e783ebe548280f78c0a659a6f8c6f7e09e3ea). Please check with a recent version.
Comment 2 Andrew Crouthamel 2018-09-24 02:25:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Hans-Peter Jansen 2018-09-24 08:10:41 UTC
Thanks for the reminder and sorry...