[Kde-pim] Akonadi server fails to start

Shantanu Tushar Jha jhahoneyk at gmail.com
Mon May 24 15:56:28 BST 2010


Hi,
    Forgot to paste the output, here it is -

akonahunny at hunny-laptop:~$ akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (backend: Virtuoso)
hunny at hunny-laptop:~$ akonadictl start
Starting Akonadi Server...
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[akonadiserver] search paths:  ("/home/hunny/kde/bin",
"/home/hunny/kde/src/qt-kde/bin", "/usr/local/bin", "/usr/local/sbin",
"/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games",
"/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec",
"/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
[akonadiserver] Found mysql_install_db:  "/usr/bin/mysql_install_db"
[akonadiserver] Found mysql_upgrade:  "/usr/bin/mysql_upgrade"
"akonadiserver" [out] "Looking for 'mysql' as: /usr/bin/mysql
"
"akonadiserver" [out] "Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
"
Error: akonadi_control was started but didn't register at D-Bus session bus.
Make sure your system is setup correctly!
"akonadiserver" [out] "Running 'mysqlcheck' with connection arguments:
'--port=3306' '--socket=/var/run/mysqld/mysqld.sock'
'--socket=/home/hunny/kde/share/akonadi/db_misc/mysql.socket'
"
hunny at hunny-laptop:~$ [akonadiserver] /usr/bin/mysqlcheck: Got error: 2002:
Can't connect to local MySQL server through socket
'/home/hunny/kde/share/akonadi/db_misc/mysql.socket' (2) when trying to
connect
[akonadiserver] FATAL ERROR: Upgrade failed
[akonadiserver] Database process exited unexpectedly during initial
connection!
[akonadiserver] executable: "/usr/sbin/mysqld-akonadi"
[akonadiserver] arguments:
("--defaults-file=/home/hunny/kde/share/akonadi//mysql.conf", "--datadir",
"/home/hunny/kde/share/akonadi/db_data/",
"--socket=/home/hunny/kde/share/akonadi/db_misc/mysql.socket")
[akonadiserver] stdout: ""
[akonadiserver] stderr: "Could not open required defaults file:
/home/hunny/kde/share/akonadi//mysql.conf
[akonadiserver] Fatal error in defaults handling. Program aborted
[akonadiserver] 100524 20:26:16 [Warning] Can't create test file
/home/hunny/kde/share/akonadi/db_data/hunny-laptop.lower-test
[akonadiserver] 100524 20:26:16 [Warning] Can't create test file
/home/hunny/kde/share/akonadi/db_data/hunny-laptop.lower-test
[akonadiserver] 100524 20:26:16 [Note] Plugin 'FEDERATED' is disabled.
[akonadiserver] /usr/sbin/mysqld-akonadi: Table 'mysql.plugin' doesn't exist
[akonadiserver] 100524 20:26:16 [ERROR] Can't open the mysql.plugin table.
Please run mysql_upgrade to create it.
[akonadiserver] 100524 20:26:16  InnoDB: Operating system error number 13 in
a file operation.
[akonadiserver] InnoDB: The error means mysqld does not have the access
rights to
[akonadiserver] InnoDB: the directory.
[akonadiserver] InnoDB: File name ./ibdata1
[akonadiserver] InnoDB: File operation call: 'create'.
[akonadiserver] InnoDB: Cannot continue operation.
[akonadiserver] "
[akonadiserver] exit code: 1
[akonadiserver] process error: "Unknown error"
[akonadiserver] "[
[akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x2f) [0x8059ccb]
[akonadiserver] 1: akonadiserver() [0x8059fe9]
[akonadiserver] 2: /lib/tls/i686/cmov/libc.so.6(+0x2a6e8) [0xad16e8]
[akonadiserver] 3: /lib/ld-linux.so.2(+0x832) [0x539832]
[akonadiserver] 4: /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0xad4a82]
[akonadiserver] 5:
/home/hunny/kde/src/qt-kde/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0xf5)
[0x81ec43]
[akonadiserver] 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x13d)
[0x805b023]
[akonadiserver] 7:
/home/hunny/kde/src/qt-kde/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x16f)
[0x8cfa4d]
[akonadiserver] 8: /home/hunny/kde/src/qt-kde/lib/libQtCore.so.4(+0x109594)
[0x8b6594]
[akonadiserver] 9: /home/hunny/kde/src/qt-kde/lib/libQtCore.so.4(+0x12c78e)
[0x8d978e]
[akonadiserver] 10:
/home/hunny/kde/src/qt-kde/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x50)
[0x8dab88]
[akonadiserver] 11: akonadiserver(_ZN6QDebug6StreamD1Ev+0x21) [0x8055499]
[akonadiserver] 12: akonadiserver(_ZN6QDebugD1Ev+0xbc) [0x8055578]
[akonadiserver] 13:
/home/hunny/kde/lib/libakonadiprivate.so.1(_ZN13DbConfigMysql19startInternalServerEv+0x2866)
[0xda1786]
[akonadiserver] 14:
/home/hunny/kde/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x116)
[0xd1c822]
[akonadiserver] 15:
/home/hunny/kde/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xfc)
[0xd1a8a6]
[akonadiserver] 16:
/home/hunny/kde/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x3e)
[0xd1c6da]
[akonadiserver] 17: akonadiserver(main+0x45e) [0x805510d]
[akonadiserver] 18: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0xabdbd6]
[akonadiserver] 19: akonadiserver() [0x8054bf1]
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255
(Unknown error)

Thanks,

On Mon, May 24, 2010 at 6:44 PM, Shantanu Tushar Jha <jhahoneyk at gmail.com>wrote:

> Hi,
>    Recently after rebuilding trunk for some troubleshooting, Akonadi
> fails to start. If I try to manually start it, I get the following
> output. I guess there's something wrong with my config, just need some
> pointers on how to troubleshoot. Help appreciated.
>
> Kindly CC as I'm not subscribed to the pim list,
> Thanks,
>
> --
> Shantanu Tushar    (UTC +0530)
> http://www.shantanutushar.com
>



-- 
Shantanu Tushar    (UTC +0530)
http://www.shantanutushar.com
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list