Author Topic: akonadiserver crashed  (Read 296 times)

Offline Roc4fun

  • Hero Member
  • *****
  • Posts: 619
  • The life so short, the craft so long to learn
akonadiserver crashed
« on: December 20, 2012, 06:17:28 AM »
Hi All,  The KDE4.9.2 slow startup thread made me think my install is rather slow to start too.  I looked in .xsession-errors and found lots of the following...

ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/bin", "/bin", "/usr/local/bin", "/usr/X11R6/bin/", "/usr/games", "/usr/lib/kde4/libexec", "sbin", "/usr/sbin", "/usr/lib/qt4/bin", "/usr/bin", "/usr/sbin", "/usr/lib/kde4/libexec", "/bin", "/sbin", "/usr/X11R6/bin", "/usr/games", "/usr/local/bin", "/usr/local/sbin", "/home/dave/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld"
arguments: ("--defaults-file=/home/dave/.local/share/akonadi/mysql.conf", "--datadir=/home/dave/.local/share/akonadi/db_data/", "--socket=/home/dave/.local/share/akonadi/socket-localhost.localdomain/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver(_Z11akBacktracev+0x36) [0x808e136]
1: akonadiserver() [0x808e43c]
2: [0xb77d8400]
3: [0xb77d8424]
4: /lib/i686/libc.so.6(gsignal+0x51) [0xb6e9e311]
5: /lib/i686/libc.so.6(abort+0x17e) [0xb6e9fe3e]
6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x82) [0xb751a412]
7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8090f98]
8: /usr/lib/libQtCore.so.4(_Z5qFreePv+0x9) [0xb751dd49]
]
"

I've chosen not to use akonadi as I rarely search my desktop.  My thinking was if I don't use it, why have it running.  So, in System Settings Akonadai Configuration I have set it not to start.  I suspect these error messages are due to the server not running, but some other processes looking for it.

What's the right thing? 

Stay as is.  Have my desktop continue to be confused about the internal database.

Turn off whatever services are trying to use Akonadai.  What will I give up?

Run Akonadai figuring the properly running service will be happier than one in error.

Perhaps I'm over thinking this and just shouldn't worry about it.  My desktop seems pretty happy ;-)

Dave

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: akonadiserver crashed
« Reply #1 on: December 20, 2012, 06:54:10 AM »
You can stop Akonadi in

Config Your Desktop > Workspace Appearance and Behavior > Akonadi Configuration

or from konsole

To start the Akonadi server,

akonadictl start

To stop the Akonadi server,

akonadictl stop

To restart a running Akonadi server,

akonadictl restart

To query the status of the Akonadi server,

akonadictl status

To stop Akonadi starting at login

Open ~/.config/akonadi/akonadiserverrc and set “StartServer” to false

To stop the desktop being searched/indexed by Nepomuk/Strigi go to

Config Your Desktop > Workspace Appearance and Behavior > Desktop Search - Basic Settings Tab

Enable/Disable  Nepomuk Semantic Desktop

Enable/Disable  Nepomuk File Indexer

Enable/Disable  Nepomuk Email Indexer
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Roc4fun

  • Hero Member
  • *****
  • Posts: 619
  • The life so short, the craft so long to learn
Re: akonadiserver crashed
« Reply #2 on: December 20, 2012, 07:13:33 AM »
Thanks menotu, 

I've always had all my indexing turned off.

I had Akonadi server set not to run in SystemSettings, but unexpectedly, akonadiserverrc StartServer was set to true.  That may have been what was causing the errors.

I'll monitor and see what happens.

Thanks as always.

Dave


Offline Roc4fun

  • Hero Member
  • *****
  • Posts: 619
  • The life so short, the craft so long to learn
Re: akonadiserver crashed
« Reply #3 on: December 20, 2012, 01:30:32 PM »
I'm still getting the same messages in xsession-errors after changing the StartServer choice from true to false and restarting.

I can confirm the Akonadi server isn't running and all instances of indexing have been turned off.

System Activity reports I have an instance of mysql running.  That is the database Akonadi is set to use.  Could that be the issue?