[kdepim-users] akonadi error - fails to start

Sandro Knauß mail at sandroknauss.de
Tue Nov 18 10:50:06 GMT 2014


Hi

yes a empty QT_PLUGIN_DIR is okay, than the defaults are used:

inside akonadi it sets QT_PLUGIN_DIR to ( if the env has no QT_PLUGIN_DIR):

AKONDILIB = "/usr/lib64"
QT_PLUGIN_DIR = AKONADILIB ":" AKONADILIB "/qt4/plugins/:" AKONADILIB 
"/kde4/:" AKONADILIB "/kde4/plugins/:/usr/lib/qt4/plugins/"

so look through the other dirs if there are sqldrivers too.

sandro

--
> 
> QT_PLUGIN_DIR is emty:
> 
> irk at azid:~> echo $QT_PLUGIN_DIR
> 
> dirk at azid:~>
> 
> dirk at azid:~> ls /usr/lib64/qt4/plugins/sqldrivers
> libqsqlite3.so  libqsqlite.so  libqsqlmysql.so
> 
> Is empty QT_PLUGIN_DIR o.k.?
> 
> --
> Dirk
> 
> > --
> > 
> > Am Montag, 17. November 2014, 20:59:32 schrieb dirk:
> >> Am 17.11.2014 20:16, schrieb Pablo Sanchez:
> >>> [ Comments below, in-line ]
> >>> 
> >>> On 11/17/2014 02:03 PM, dirk wrote:
> >>>> Hi Pablo,
> >>>> 
> >>>> I have posted the output of akonadictl start.
> >>>> 
> >>>> It seems to begin before the fist line i have posted but on my screen
> >>>> there are only the same signs and i am not be able to scoll upwards to
> >>>> the beginning.
> >>>> To write the output in a file like akonadictl start > akonadi.err does
> >>>> not work. The file is always empty.
> >>> 
> >>> Hi Dirk,
> >>> 
> >>> To get the output to a file, please try the following:
> >>> 
> >>> $ akonadictl stop
> >>> $ killall mysql
> >>> 
> >>> # confirm mysql is dead ...
> >>> $ ps -fu $USER | fgrep -i mysql
> >>> 
> >>> # ensure bash is being used
> >>> $ bash
> >>> $ akonadictl start > akonadictl.err 2>&1
> >>> 
> >>> btw, I may not be able to help you solve the root-cause but at least
> >>> we'll have the error log for someone more knowledgeable to be able to
> >>> help you.  :)
> >>> 
> >>> Cheers!
> >>> 
> >>> --
> >>> Pablo Sanchez - Blueoak Database Engineering, Inc
> >>> Ph:    819.459.1926         Blog:  http://pablo-blog.blueoakdb.com
> >>> iNum:  883.5100.0990.1054
> >>> 
> >>> _______________________________________________
> >>> KDE PIM users mailing list
> >>> Subscription management:
> >>> https://mail.kde.org/mailman/listinfo/kdepim-users
> >> 
> >> Hi Pablo,
> >> it worked. Here is the output. Between the snip there are a lot of:
> >> "%00%00". The file size is 794k,.
> >> 
> >> 
> >> Starting Akonadi Server...
> >> 
> >>      done.
> >> 
> >> Connecting to deprecated signalQT_PLUGIN_DIR
> >> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> >> search paths:  ("/home/dirk/bin", "/usr/local/bin", "/usr/bin", "/bin",
> >> "/usr/bin/X11", "/usr/X11R6/bin", "/usr/games", "/usr/lib/mit
> >> /bin", "/usr/lib/mit/sbin", "/usr/sbin", "/usr/local/sbin",
> >> "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/l
> >> ib/mysql5/bin", "/opt/mysql/sbin")
> >> Found mysql_install_db:  "/usr/bin/mysql_install_db"
> >> Found mysqlcheck:  "/usr/bin/mysqlcheck"
> >> QSqlDatabase: QMYSQL driver not loaded
> >> QSqlDatabase: available drivers: QSQLITE QSQLITE3 QMYSQL3
> >> QMYS%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
> >> %0
> >> 0%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
> >> %00 %00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
> >> %00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%
> >> 00
> >> %00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%
> >> 00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0
> >> 0%
> >> 00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0
> >> 
> >> snip
> >> 
> >>    ...
> >> 
> >> snip
> >> 
> >> 00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0
> >> 0%0
> >> 0%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0
> >> 0%00
> >> %00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
> >> %00%
> >> 00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%
> >> 00%0
> >> 0%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0
> >> 0%00 %00%00%00%00%0 Invalid database object during database server
> >> startup "[
> >> 0: akonadiserver(_Z11akBacktracev+0x34) [0x458664]
> >> 1: akonadiserver() [0x4589a1]
> >> 2: /lib64/libc.so.6(+0x34da0) [0x7f61db23cda0]
> >> 3: /lib64/libc.so.6(gsignal+0x35) [0x7f61db23cd25]
> >> 4: /lib64/libc.so.6(abort+0x148) [0x7f61db23e1a8]
> >> 5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
> >> [0x7f61dcd179a4]
> >> 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x9b) [0x45a83b]
> >> 7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4)
> >> [0x7f61dcdb07c4] 8: /usr/lib64/libQtCore.so.4(+0x11b46f)
> >> [0x7f61dcdbb46f]
> >> 9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7f61dcdc3a6b]
> >> 10: akonadiserver(_ZN6QDebugD1Ev+0x3f) [0x4524ff]
> >> 11: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x2c5c)
> >> [0x4e2dbc]
> >> 12:
> >> akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xc7)
> >> [0x45b5e7]
> >> 13: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xac) [0x45cc5c]
> >> 14: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x47) [0x45e347]
> >> 15: akonadiserver(main+0x10a) [0x451bca]
> >> 16: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f61db229455]
> >> 17: akonadiserver() [0x452371]
> >> ]
> >> "
> >> ProcessControl: Application 'akonadiserver' returned with exit code 255
> >> (Unknown error)
> >> "akonadiserver" crashed too often and will not be restarted!
> >> 
> >> 
> >> --
> >> Dirk
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> KDE PIM users mailing list
> >> Subscription management:
> >> https://mail.kde.org/mailman/listinfo/kdepim-users
> > 
> > _______________________________________________
> > KDE PIM users mailing list
> > Subscription management:
> > https://mail.kde.org/mailman/listinfo/kdepim-users

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list