[Bug 310238] New: akonadi manages to call mysqlcheck on a local database server, instead of localhost

Hans-Peter Jansen hpj at urpla.net
Sat Nov 17 00:10:40 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=310238

            Bug ID: 310238
          Severity: normal
           Version: 4.9
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: akonadi manages to call mysqlcheck on a local database
                    server, instead of localhost
    Classification: Unclassified
                OS: Linux
          Reporter: hpj at urpla.net
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: general
           Product: Akonadi

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...

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list