[kdepim-users] akonadi error 10

Andre Bischof a.bischof at gmx.net
Wed Aug 19 15:28:10 BST 2009


Kevin Krammer schrieb:
...
>> First error thrown by akonadi is error 10, about server process not
>> being registered at d-bus. I've read about problems with apparmor, but
>> I'm not using it (AFAIK).
> 
> Yes, works fine here on unstable so I doubt apparmor is being used in testing.

# ps wwwauxf |grep apparmor
root      8479  0.0  0.0   2276   764 pts/3    S+   15:59   0:00  |   \_ 
grep apparmor

thus no apparmor is running

>> I tried alot, also by starting akonadi via system settings, with
>> internal as well as with my "web-mysql-server", deleting akonadi in
>> .config and .local, but nothing changes.
> 
> When running with internal server, can you check if you then have any mysql 
> processes running as that user?

Strange enough, looking in pstree I see:
|-mysqld(frisco)---9*[{mysqld}]
      |-mysqld_safe-+-logger
      |             `-mysqld(mysql)---12*[{mysqld}]

But this could be of former attempts getting akonadi running. So I did:

/etc/init.d/mysql stop (to stop even the mysql server for web)
killall -s 15 mysqld (this stopped the processes running as frisco, the 
KDE user)

I then started the internal server via system settings :: Advanced :: 
Akonadi Configuration. It tells me again that the server process is not 
registered with dbus (first error), long log here:

http://pastebin.com/m3666b36b

watch -d -n2 'ps wwwauxf |grep mysql'
told me:

frisco    9117  0.1  0.3 134336 12820 ?        Sl   16:09   0:00      \_ 
/usr/sbin/mysqld 
--defaults-file=/home/frisco/.local/share/akonadi//mysql.conf 
--datadir=/home/frisco/.loca
l/share/akonadi/db_data/ 
--socket=/home/frisco/.local/share/akonadi/db_misc/mysql.socket
frisco    9099  0.5  0.4 170716 19004 ?        Sl   16:09   0:00 
/usr/sbin/mysqld 
--defaults-file=/home/frisco/.local/share/akonadi//mysql.conf 
--datadir=/home/frisco/.local/share/
akonadi/db_data/ 
--socket=/home/frisco/.local/share/akonadi/db_misc/mysql.socket

Why is mysqld being run twice? Is that supposed to be normal behaviour? 
There's a doubled slash with the defaults-files, could that be cause of 
trouble?

And they keep running after closing akonadi's setting dialog:

|-mysqld,9099,frisco 
--defaults-file=/home/frisco/.local/share/akonadi//mysql.conf 
--datadir=/home/frisco/.local/share/akonadi/db_data/...
   |   |-{mysqld},9101
   |   |-{mysqld},9102
   |   |-{mysqld},9103
   |   |-{mysqld},9104
   |   |-{mysqld},9108
   |   |-{mysqld},9109
   |   |-{mysqld},9111
   |   |-{mysqld},9112
   |   `-{mysqld},9113

I did not clear .local and .config with this run (just to give you 
mostly thorough information).

> Is /home/frisco/.local/share/akonadi/db_misc/mysql.socket being created?

# la /home/frisco/.local/share/akonadi/db_misc
insgesamt 8,0K
drwxr-xr-x 2 frisco users 4,0K 19. Aug 16:16 .
drwxr-xr-x 4 frisco users 4,0K 19. Aug 16:16 ..
srwxrwxrwx 1 frisco users    0 19. Aug 16:16 mysql.socket


> If not, what happens if you run this manually:
> 
> /usr/sbin/mysqld \
> --defaults-file=/home/frisco/.local/share/akonadi/mysql.conf \
> --datadir=/home/frisco/.local/share/akonadi/db_data/ \
> --socket=/home/frisco/.local/share/akonadi/db_misc/mysql.socket

I deleted all mysql processes again, then did the command above.

frisco at linux$ /usr/sbin/mysqld 
--defaults-file=/home/frisco/.local/share/akonadi/mysql.conf 
--datadir=/home/frisco/.local/share/akonadi/db_data/ 
--socket=/home/frisco/.local/share/akonadi/db_misc/mysql.socket
090819 16:22:54 [Warning] Changed limits: max_open_files: 1024 
max_connections: 256  table_cache: 379

It's running then again like mentioned above:
|-mysqld,9894,frisco 
--defaults-file=/home/frisco/.local/share/akonadi//mysql.conf 
--datadir=/home/frisco/.local/share/akonadi/db_data/...
   |   |-{mysqld},9896
   |   |-{mysqld},9897
   |   |-{mysqld},9898
   |   |-{mysqld},9899
   |   |-{mysqld},9900
   |   |-{mysqld},9901
   |   |-{mysqld},9902
   |   |-{mysqld},9903
   |   `-{mysqld},9904

I have to admit that I can't control whether it's operational know or 
not, it's just running.

I started akonaditray from KDE's utility menu, which gives me an entry 
in the system tray telling "Akonadi is not running". Hm?

Any more clues?

Cheers
Frisco
-- 
Personal weblog and more: http://bischof.homelinux.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3544 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20090819/4167ba3f/attachment.bin>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list