This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Akonadi not starting on Kubuntu 13.04

Tags: None
(comma "," separated)
haukew
Registered Member
Posts
22
Karma
0
OS
Yes, i know, Ubuntu 13.04 is still in Alpha, but maybe you guys can help me with this anyway :)

Maybe it's also worth mentioning that i have my .kde-directory set up a bit weird: I have 2 hard-disks, a normal HDD and a SSD.
My / is on the SSD except /home, which is on the HDD. And except from this again is my ~/.kde which is just a symlink to /kde - to speed up boot time, because this is on the SSD again...

So my problem is that akonadi just won't start; when i launch it via the system-settings, it stops with that the MySQL-serverprotocol contains errors, more specifically /home/hauke/.local/share/akonadi/db_data/mysql.err . This is what this file reads like:

Code: Select all
130220 17:38:06 [Note] Plugin 'FEDERATED' is disabled.
130220 17:38:06 InnoDB: The InnoDB memory heap is disabled
130220 17:38:06 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130220 17:38:06 InnoDB: Compressed tables use zlib 1.2.7
130220 17:38:06 InnoDB: Using Linux native AIO
/usr/sbin/mysqld: Can't create/write to file '/tmp/ibwuvZmi' (Errcode: 13)
130220 17:38:06  InnoDB: Error: unable to create temporary file; errno: 13
130220 17:38:06 [ERROR] Plugin 'InnoDB' init function returned error.
130220 17:38:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130220 17:38:06 [ERROR] Unknown/unsupported storage engine: innodb
130220 17:38:06 [ERROR] Aborting

130220 17:38:06 [Note] /usr/sbin/mysqld: Shutdown complete

I already tried to remove /tmp/ibwuvZmi, to chmod 777 it etc. No effect.

When i try to start Akonadi via the terminal, this is what comes out:

Code: Select all
$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
hauke@hauke-desktop:/HoN$ search paths:  ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/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")
Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h hauke-desktop password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld-akonadi"
arguments: ("--defaults-file=/home/hauke/.local/share/akonadi/mysql.conf", "--datadir=/home/hauke/.local/share/akonadi/db_data/", "--socket=/home/hauke/.local/share/akonadi/socket-hauke-desktop/mysql.socket")
stdout: ""
stderr: ""
exit code: 1                                                                                                                                                                                                                                                                   
process error: "Unknown error"                                                                                                                                                                                                                                                 
"[                                                                                                                                                                                                                                                                             
0: akonadiserver() [0x418114]                                                                                                                                                                                                                                                   
1: akonadiserver() [0x418451]                                                                                                                                                                                                                                                   
2: /lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7f5b5b1a00b0]                                                                                                                                                                                                                   
3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f5b5b1a0037]                                                                                                                                                                                                               
4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f5b5b1a3698]                                                                                                                                                                                                               
5: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122) [0x7f5b5cc53592]                                                                                                                                                                         
6: akonadiserver() [0x41a35b]                                                                                                                                                                                                                                                   
7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7f5b5cced9c4]                                                                                                                                                                                     
8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1165ff) [0x7f5b5ccf85ff]                                                                                                                                                                                                         
9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7f5b5cd00b9b]                                                                                                                                                                                         
10: akonadiserver() [0x48698a]                                                                                                                                                                                                                                                 
11: akonadiserver() [0x41b0b7]                                                                                                                                                                                                                                                 
12: akonadiserver() [0x41c035]                                                                                                                                                                                                                                                 
13: akonadiserver() [0x41d657]                                                                                                                                                                                                                                                 
14: akonadiserver() [0x411f13]                                                                                                                                                                                                                                                 
15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f5b5b18aea5]                                                                                                                                                                                                   
16: akonadiserver() [0x4128d1]                                                                                                                                                                                                                                                 
]                                                                                                                                                                                                                                                                               
"                                                                                                                                                                                                                                                                               
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)                                                                                                                                                                                         
search paths:  ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/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")                                                                                                                                                                                                                   
Database process exited unexpectedly during initial connection!                                                                                                                                                                                                                 
executable: "/usr/sbin/mysqld-akonadi"                                                                                                                                                                                                                                         
arguments: ("--defaults-file=/home/hauke/.local/share/akonadi/mysql.conf", "--datadir=/home/hauke/.local/share/akonadi/db_data/", "--socket=/home/hauke/.local/share/akonadi/socket-hauke-desktop/mysql.socket")                                                               
stdout: ""                                                                                                                                                                                                                                                                     
stderr: ""                                                                                                                                                                                                                                                                     
exit code: 1                                                                                                                                                                                                                                                                   
process error: "Unknown error"                                                                                                                                                                                                                                                 
"[
0: akonadiserver() [0x418114]
1: akonadiserver() [0x418451]
2: /lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7fbccd0f10b0]
3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fbccd0f1037]
4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fbccd0f4698]
5: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122) [0x7fbcceba4592]
6: akonadiserver() [0x41a35b]
7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7fbccec3e9c4]
8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1165ff) [0x7fbccec495ff]
9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7fbccec51b9b]
10: akonadiserver() [0x48698a]
11: akonadiserver() [0x41b0b7]
12: akonadiserver() [0x41c035]
13: akonadiserver() [0x41d657]
14: akonadiserver() [0x411f13]
15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fbccd0dbea5]
16: akonadiserver() [0x4128d1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/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")
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld-akonadi"
arguments: ("--defaults-file=/home/hauke/.local/share/akonadi/mysql.conf", "--datadir=/home/hauke/.local/share/akonadi/db_data/", "--socket=/home/hauke/.local/share/akonadi/socket-hauke-desktop/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x418114]
1: akonadiserver() [0x418451]
2: /lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7f6b9e5210b0]
3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f6b9e521037]
4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f6b9e524698]
5: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122) [0x7f6b9ffd4592]
6: akonadiserver() [0x41a35b]
7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7f6ba006e9c4]
8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1165ff) [0x7f6ba00795ff]
9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7f6ba0081b9b]
10: akonadiserver() [0x48698a]
11: akonadiserver() [0x41b0b7]
12: akonadiserver() [0x41c035]
13: akonadiserver() [0x41d657]
14: akonadiserver() [0x411f13]
15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f6b9e50bea5]
16: akonadiserver() [0x4128d1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
search paths:  ("/usr/lib/x86_64-linux-gnu/qt4/bin", "/usr/lib/lightdm/lightdm", "/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")
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld-akonadi"
arguments: ("--defaults-file=/home/hauke/.local/share/akonadi/mysql.conf", "--datadir=/home/hauke/.local/share/akonadi/db_data/", "--socket=/home/hauke/.local/share/akonadi/socket-hauke-desktop/mysql.socket")
stdout: ""
stderr: ""
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x418114]
1: akonadiserver() [0x418451]
2: /lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7fe3922e70b0]
3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fe3922e7037]
4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fe3922ea698]
5: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x122) [0x7fe393d9a592]
6: akonadiserver() [0x41a35b]
7: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7fe393e349c4]
8: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1165ff) [0x7fe393e3f5ff]
9: /usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7fe393e47b9b]
10: akonadiserver() [0x48698a]
11: akonadiserver() [0x41b0b7]
12: akonadiserver() [0x41c035]
13: akonadiserver() [0x41d657]
14: akonadiserver() [0x411f13]
15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fe3922d1ea5]
16: akonadiserver() [0x4128d1]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!


This is after i did rm -r ~/.local/share/akonadi/ ~/.config/akonadi/akonadiserverrc


Again, i know i use 13.04 which is still in Alpha, but help would be apreciated.

Best regards!
Hauke
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
It looks like the error is in the mysql executable itself, can you try to take a look if there are issues with it? (considering you're on an alpha, it might be that reason).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]