[kde-freebsd] Akonadi still fails to start

Raphael Kubo da Costa kubito at gmail.com
Sat Jul 3 22:28:42 CEST 2010


On Saturday 03 July 2010 17:13:45 Jerry wrote:
> On Sat, 3 Jul 2010 16:37:25 -0300
> 
> Raphael Kubo da Costa <kubito at gmail.com> articulated:
> > On Saturday 03 July 2010 14:34:44 Jerry wrote:
> > > On Sat, 3 Jul 2010 13:53:48 -0300
> > > 
> > > Raphael Kubo da Costa <kubito at gmail.com> articulated:
> > > > On Saturday 03 July 2010 13:18:45 Jerry wrote:
> > > > > On Sat, 3 Jul 2010 14:45:08 +0000
> > > > > 
> > > > > Mina R Waheeb <syncer at gmail.com> articulated:
> > > > > > On Saturday 03 July 2010 1:35:31 pm Jerry wrote:
> > > > > > > On Sat, 3 Jul 2010 13:09:11 +0000
> > > > > > > 
> > > > > > > Mina R Waheeb <syncer at gmail.com> articulated:
> > > > > > > > I have same problems here when try to start it as embedded
> > > > > > > > database but It works as just fine when using external
> > > > > > > > database and I didn't dig why the embedded adopter gives an
> > > > > > > > error.
> > > > > > > 
> > > > > > > How did you go about modifying it to use the external database?
> > > > > > > I tried, but it still refused to start.
> > > > > > 
> > > > > > I didn't make anything especial, Just installed MySQL server and
> > > > > > created database "desktop", and configure akonadi from Akonadi
> > > > > > Configuration Utility [1] to use "External MySQL Server". It just
> > > > > > works out of the box.
> > > > > > 
> > > > > > Regards,
> > > > > > Mina R Waheeb
> > > > > > 
> > > > > > [1] I have attach my akonadiserverrc which contains the config of
> > > > > > the external server and it should be located in
> > > > > > ~/.config/akonadi/akonadiserverrc
> > > > > 
> > > > > I used your config with only minor changes. It still fails. Tests
> > > > > #6, 7, & 11 always fail. I have just about given up on it. It
> > > > > doesn't seem to be time effective to try and get this thing
> > > > > working.
> > > > 
> > > > Those are the tests related to starting the daemons. Can you rebuild
> > > > with debug symbols and see what "akonadictl start" tells you on the
> > > > terminal?
> > > 
> > > Certainly!
> > > 
> > > $ akonadictl start
> > > Connecting to deprecated signal
> > > QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> > > Starting Akonadi Server...
> > > 
> > >    done.
> > > 
> > > $ Connecting to deprecated signal
> > > QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> > > [akonadiserver] search paths:  ("/usr/local/kde4/bin", "/sbin", "/bin",
> > > "/usr/local/bin", "/usr/sbin", "/usr/bin", "/usr/local/sbin",
> > > "/usr/games", "/usr/X11R6/bin", "/home/gerard/scripts",
> > > "/home/gerard/.gnupg", "/usr/local/etc/rc.d", "/usr/local/etc/postfix",
> > > ".", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec",
> > > "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin")
> > > [akonadiserver] QSqlDatabasePrivate::removeDatabase: connection
> > > 'initConnection' is still in use, all queries will cease to work.
> > > [akonadiserver] "[
> > > [akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at
> > > /usr/local/kde4/bin/akonadiserver [akonadiserver] 1: 0x7fffffffffc4
> > > [akonadiserver] ]
> > > [akonadiserver] "
> > > ProcessControl: Application 'akonadiserver' returned with exit code 255
> > > (Unknown error) [akonadiserver] search paths:  ("/usr/local/kde4/bin",
> > > "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin",
> > > "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin",
> > > "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d",
> > > "/usr/local/etc/postfix", ".", "/usr/sbin", "/usr/local/sbin",
> > > "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec",
> > > "/opt/local/lib/mysql5/bin") [akonadiserver]
> > > QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is
> > > still in use, all queries will cease to work. [akonadiserver] "[
> > > [akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at
> > > /usr/local/kde4/bin/akonadiserver [akonadiserver] 1: 0x7fffffffffc4
> > > [akonadiserver] ]
> > > [akonadiserver] "
> > > ProcessControl: Application 'akonadiserver' returned with exit code 255
> > > (Unknown error) [akonadiserver] search paths:  ("/usr/local/kde4/bin",
> > > "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin",
> > > "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin",
> > > "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d",
> > > "/usr/local/etc/postfix", ".", "/usr/sbin", "/usr/local/sbin",
> > > "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec",
> > > "/opt/local/lib/mysql5/bin") [akonadiserver]
> > > QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is
> > > still in use, all queries will cease to work. [akonadiserver] "[
> > > [akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at
> > > /usr/local/kde4/bin/akonadiserver [akonadiserver] 1: 0x7fffffffffc4
> > > [akonadiserver] ]
> > > [akonadiserver] "
> > > ProcessControl: Application 'akonadiserver' returned with exit code 255
> > > (Unknown error) [akonadiserver] search paths:  ("/usr/local/kde4/bin",
> > > "/sbin", "/bin", "/usr/local/bin", "/usr/sbin", "/usr/bin",
> > > "/usr/local/sbin", "/usr/games", "/usr/X11R6/bin",
> > > "/home/gerard/scripts", "/home/gerard/.gnupg", "/usr/local/etc/rc.d",
> > > "/usr/local/etc/postfix", ".", "/usr/sbin", "/usr/local/sbin",
> > > "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec",
> > > "/opt/local/lib/mysql5/bin") [akonadiserver]
> > > QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is
> > > still in use, all queries will cease to work. [akonadiserver] "[
> > > [akonadiserver] 0: 0x4147e1 <_Z11akBacktracev+865> at
> > > /usr/local/kde4/bin/akonadiserver [akonadiserver] 1: 0x7fffffffffc4
> > > [akonadiserver] ]
> > > [akonadiserver] "
> > > ProcessControl: Application 'akonadiserver' returned with exit code 255
> > > (Unknown error) "akonadiserver" crashed too often and will not be
> > > restarted!
> > 
> > Hmm, you don't seem to have compiled them with debug symbols enabled. I
> > don't remember what options you had to pass to the ports stuff, does
> > anyone remember?
> 
> Are you sure? This is the output of the file command:
> 
> $ file /usr/local/kde4/bin/akonadictl
> /usr/local/kde4/bin/akonadictl: ELF 64-bit LSB executable, x86-64, version
> 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0
> (800505), not stripped
> 
> I used: "make -DWITH_DEBUG install" which is suppose to be the correct
> command if I recall correctly. In any case, the 'file' command seems to
> indicate that it was not stripped of debug symbols.

Actually, what I mean is that at least akonadi should be built with -
DCMAKE_BUILD_TYPE=Debug, not sure if -DWITH_DEBUG does that.

The goal is to see a full backtrace instead of that single line over there.


More information about the kde-freebsd mailing list