[kdepim-users] kdepim akonadi Issue

Ingo Klöcker kloecker at kde.org
Sat Feb 13 19:20:47 GMT 2016


On Saturday 13 February 2016 16:40:10 Nilesh Kokane wrote:
> Hello,
> 
> while starting akonadi i'm getting the following error.
> 
> rface::serviceOwnerChanged(QString,QString,QString)
> search paths:  ("/home/nilesh/bin", "/usr/local/sbin",
> "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin",
> "/usr/games", "/usr/local/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"
> Did not find MySQL server default configuration (mysql-global.conf)
> terminating service threads
> terminating connection threads
> stopping db process
> Failed to remove Unix socket
> Failed to remove runtime connection config file
> Application 'akonadiserver' exited normally...
> 
> 
> I did installed mysql. The config file seems to be in
> /etc/akonadi/mysql-global.conf exist . How to set the location so that
> akonadi will get the required .conf??

On my system (OpenSUSE 13.2) Akonadi finds mysql-global.conf in 
/etc/akonadi/mysql-global.conf.

You can check where Akonadi is looking for the file with strace, e.g. as 
follows.

First we stop Akonadi; this takes a few seconds
# akonadictl stop

When akonadiserver is no longer running then restart Akonadi with 
strace:

# strace -f akonadictl start 2>&1 1>/dev/null | grep mysql-global.conf


I got the following output:

[pid 11221] stat("/home/ingo/.config/akonadi/mysql-global.conf", 
0x7ffcca0c4e50) = -1 ENOENT (No such file or directory)
[pid 11221] stat("/etc/xdg/akonadi/mysql-global.conf", 0x7ffcca0c4e50) = 
-1 ENOENT (No such file or directory)
[pid 11221] stat("/etc/akonadi/mysql-global.conf", {st_mode=S_IFREG|
0644, st_size=3385, ...}) = 0
[pid 11221] access("/etc/akonadi/mysql-global.conf", R_OK) = 0
[pid 11221] stat("/etc/akonadi/mysql-global.conf", {st_mode=S_IFREG|
0644, st_size=3385, ...}) = 0
[pid 11221] stat("/home/ingo/.config/akonadi/mysql-global.conf", 
0x7ffcca0c4e50) = -1 ENOENT (No such file or directory)
[pid 11221] stat("/etc/xdg/akonadi/mysql-global.conf", 0x7ffcca0c4e50) = 
-1 ENOENT (No such file or directory)
[pid 11221] stat("/etc/akonadi/mysql-global.conf", {st_mode=S_IFREG|
0644, st_size=3385, ...}) = 0
[pid 11221] access("/etc/akonadi/mysql-global.conf", R_OK) = 0


Note that the strace process keeps running until Akonadi is stopped 
again.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20160213/d7f08086/attachment.sig>


More information about the kdepim-users mailing list