MySql log file problem prevents Akonadi startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Akonadi |
Incomplete
|
Medium
|
|||
akonadi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I upgraded an older PC from KUbuntu Karmic to Lucid by doing a clean install to the root partition, and keeping existing files in the separate '/home' partition untouched. I now cannot use KMail any more, because Akonadi fails to start up. This is the error output that I get when I tried running 'akonadictl start' from the console:
I tried running 'akonadictl start' from the command line, and it fails to start -- apparently because I haven't installed MySql. Console output is below:
Connecting to deprecated signal QDBusConnection
[akonadiserver] search paths: ("/home/
[akonadiserver] Found mysql_install_db: "/usr/bin/
[akonadiserver] Found mysql_upgrade: "/usr/bin/
"akonadiserver" [out] "Looking for 'mysql' as: /usr/bin/mysql
"
"akonadiserver" [out] "Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
"
"akonadiserver" [out] "Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=
"
[akonadiserver] /usr/bin/
[akonadiserver] FATAL ERROR: Upgrade failed
[akonadiserver] Database process exited unexpectedly during initial connection!
[akonadiserver] executable: "/usr/sbin/
[akonadiserver] arguments: ("--defaults-
[akonadiserver] stdout: ""
[akonadiserver] stderr: ""
[akonadiserver] exit code: 1
[akonadiserver] process error: "Unknown error"
[akonadiserver] "[
[akonadiserver] 0: akonadiserver(
[akonadiserver] 1: akonadiserver() [0x8052726]
[akonadiserver] 2: [0xb5d400]
[akonadiserver] 3: [0xb5d422]
[akonadiserver] 4: /lib/tls/
[akonadiserver] 5: /lib/tls/
[akonadiserver] 6: /usr/lib/
[akonadiserver] 7: akonadiserver(
[akonadiserver] 8: /usr/lib/
[akonadiserver] 9: /usr/lib/
[akonadiserver] 10: /usr/lib/
[akonadiserver] 11: akonadiserver(
[akonadiserver] 12: /usr/lib/
[akonadiserver] 13: /usr/lib/
[akonadiserver] 14: /usr/lib/
[akonadiserver] 15: /usr/lib/
[akonadiserver] 16: akonadiserver(
[akonadiserver] 17: /lib/tls/
[akonadiserver] 18: akonadiserver() [0x804cdc1]
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
[repeated three more times]
summary: |
- Akonadi startup error with no MySql + MySql log file problem prevents Akonadi startup |
Changed in akonadi: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
I had the same problem, and it was fixed running:
sudo aa-complain mysqld d/apparmor reload
sudo aa-complain mysqld-akonadi
sudo /etc/init.
akonadictl start