Re: akonadi error 10
Kevin Krammer <[email protected]>
| Newsgroups | gmane.comp.kde.users.pim |
|---|---|
| Message-ID | <[email protected]> |
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@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 _______________________________________________ KDE PIM users mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKjB02nKMhG6pzZJIRApyrAJ9zQT/y6773jx+a3vJ1hdwzIlRj8QCfXxuq iQsJy38wxR2m/bLEXm5UMN4= =DkQr -----END PGP SIGNATURE-----