Re: kdepim akonadi Issue

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <1649260.Lb3MmKIqkM@thufir>
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

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAla/ghAACgkQGnR+RTDgudjTJwCeJbzm3blAvcvxMsvYCWsnRph5
DrsAoKxUVvjQ2EzQ1uvpN2TMTxRP9glT
=td5M
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.