[kdepim-users] akonadi error 10
Kevin Krammer
kevin.krammer at gmx.at
Wed Aug 19 16:41:42 BST 2009
On Wednesday, 2009-08-19, Andre Bischof wrote:
> 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
Right, as expected.
> > When running with internal server, can you check if you then have any
> > mysql processes running as that 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
It doesn't seem to be a problem with the database server (it often is that's
why I asked).
> 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?
Two instances is strange. The double slash should be ok (same here).
If I do ps wwwauxf |grep mysql I get
kevin 12810 0.0 0.0 3204 780 pts/2 S+ 17:32 0:00 \_ grep
--color=auto mysql
kevin 5623 0.0 0.4 184676 5004 ? Sl Aug12 1:16 | \_
/usr/sbin/mysqld --defaults-file=/home/kevin/.local/share/akonadi//mysql.conf
--datadir=/home/kevin/.local/share/akonadi/db_data/ --
socket=/home/kevin/.local/share/akonadi/db_misc/mysql.socket
> And they keep running after closing akonadi's setting dialog:
That's ok, it is running until explicitly stopped.
> > 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:
> I have to admit that I can't control whether it's operational know or
> not, it's just running.
It seems to be a problem in Akonadi Server, unrelated to the database.
> I started akonaditray from KDE's utility menu, which gives me an entry
> in the system tray telling "Akonadi is not running". Hm?
Well, the Akonadi service crashed and restarting it didn't work a couple of
times so the control process gave up.
Unfortunately this means we have something totally new here.
Stop Akonadi like this
% akonadictl stop
then check if there are now Akonadi processes running (e.g.output of 'ps x'
does not contain any "akonadi" strings).
Check (or kill) remaining mysql instances.
Remove ~/.config/akonadi and ~/.local/share/akonadi and
~/.kde/share/config/akonadi*rc
Check again that Akonadi is not running.
Try starting it
% akonadictl start
then
% akonadictl status
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20090819/a8fa451b/attachment.sig>
-------------- 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