Bug 218204 - Akonadi server does not start
Summary: Akonadi server does not start
Status: RESOLVED DUPLICATE of bug 185395
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 00:08 UTC by Unknown
Modified: 2010-03-06 12:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
akonadi server error log (10.96 KB, text/plain)
2009-12-11 00:08 UTC, Unknown
Details
Logfile in ~/.local/share/akonadi/db_data/ (1.84 KB, text/plain)
2009-12-11 12:46 UTC, Unknown
Details
~/.local/share/akonadi/akonadiserver.error (11.60 KB, text/plain)
2009-12-12 08:07 UTC, Torrie Fischer
Details
KMail crash report (8.50 KB, application/octet-stream)
2010-02-25 01:06 UTC, jmaldrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2009-12-11 00:08:01 UTC
Version:           unknown (using 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.32-7-generic-pae

When starting KAddressbook for the first time on Kubuntu Lucid Lynx Alpha 1, the Akonadi server is started. However, this does not succeed and the attached error report is generated.
Comment 1 Unknown 2009-12-11 00:08:45 UTC
Created attachment 38976 [details]
akonadi server error log
Comment 2 Kevin Krammer 2009-12-11 00:28:46 UTC
Can you try if running this command helps with that?

mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/
Comment 3 Unknown 2009-12-11 12:43:55 UTC
mysql_install_db was not available by default because Lucid Lynx Alpha
1 does not install mysql-server-5.1 by default.

When running the command after installing mysql-server-5.1, the
following was returned (should I've used sudo?):

Installing MySQL system tables...
091211 12:35:56 [Warning] Can't create test file
/home/hansmbakker/.local/share/akonadi/db_data/fampbakker-pc.lower-test
091211 12:35:56 [Warning] Can't create test file
/home/hansmbakker/.local/share/akonadi/db_data/fampbakker-pc.lower-test

Installation of system tables failed!  Examine the logs in
/home/hansmbakker/.local/share/akonadi/db_data/ for more information.

You can try to start the mysqld daemon with:

    shell> /usr/sbin/mysqld --skip-grant &

and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /usr/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in /home/hansmbakker/.local/share/akonadi/db_data/
that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com/.  Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /usr/scripts/mysqlbug script!
Comment 4 Unknown 2009-12-11 12:46:13 UTC
Created attachment 38987 [details]
Logfile in ~/.local/share/akonadi/db_data/
Comment 5 Torrie Fischer 2009-12-12 08:06:03 UTC
I can confirm this with latest SVN on Fedora 11 with mysql 5.1.37.
Comment 6 Torrie Fischer 2009-12-12 08:07:47 UTC
Created attachment 39005 [details]
~/.local/share/akonadi/akonadiserver.error
Comment 7 Torrie Fischer 2009-12-12 08:09:02 UTC
Another thing I've noticed is that if I try to start the server enough times, I get multiple instances of mysqld running.
Comment 8 jmaldrich 2010-02-25 01:04:15 UTC
I am running Fedora 11 (x86_64) and after updating this morning, KMail will start, but is inaccessible as AkonadiServer will not finish starting. All I get is a bar stating that Akonadi is starting. I have attempted to use the bug reporting tool, but kio_http will not start either.
Comment 9 jmaldrich 2010-02-25 01:06:01 UTC
Created attachment 41081 [details]
KMail crash report

This is what KMail gave me when I tried to submit the bug report automagically, but could not log in. KMAIL IS UNUSABLE AT THIS POINT!
Comment 10 jmaldrich 2010-02-25 16:42:24 UTC
Note, I have resolved my problem, however, I think maybe someone ought to look at how the Akonadi install is done, as I suspect the problem was due to the fact that I had KMail open when I was installing the update. Perhaps if that was the problem, a system message should have showed up stating that KMail needed to be closed or something. I really don't know. I'm not a programmer.

The way I resolved the problem was by renaming "~/local/share/akonadi" to "akonadi-old" and then I started KMail. All appears to be working now.
Comment 11 Harald Sitter 2010-03-06 12:06:00 UTC
From looking at the logs I would say that Trever and jmaldrich have different problems. Please report those as individual bugs.

Hans' bug is repoted as #178157

*** This bug has been marked as a duplicate of bug 178157 ***
Comment 12 Harald Sitter 2010-03-06 12:09:32 UTC
Actually it is #185395 :)

*** This bug has been marked as a duplicate of bug 185395 ***