[Bug 241977] New: Akonadi prints a fatal error but starts anyways
Andre Heinecke
aheinecke at intevation.de
Thu Jun 17 10:51:54 BST 2010
https://bugs.kde.org/show_bug.cgi?id=241977
Summary: Akonadi prints a fatal error but starts anyways
Product: Akonadi
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: server
AssignedTo: vkrause at kde.org
ReportedBy: aheinecke at intevation.de
CC: kdepim-bugs at kde.org
Version: unspecified (using Devel)
OS: Linux
On GNU/Linux, MacOS you get:
[akonadiserver] /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local
MySQL server through socket
'/home/andre/.local/share/akonadi/db_misc/mysql.socket' (2) when trying to
connect
[akonadiserver] FATAL ERROR: Upgrade failed
Akonadi then appears to be started correctly anyways.
Then the Message FATAL ERROR is incorrect and confuses the user.
Reproducible: Always
Steps to Reproduce:
Using internal mysql server configuration on a clean installation "akdonadictl
start" prints this ERROR as one of the first messages.
Expected Results:
Akonadi waits for the Database to initialize, then tries to connect and does
not show a Fatal error
akonadictl start
Starting Akonadi Server...
done.
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
(komo_dev)andre at komodowaran:~/shared/develop/kde_trunk$ [akonadiserver] search
paths: ("/home/andre/sha
red/develop/kde_trunk/bin",
"/home/andre/shared/develop/kde_trunk/../kde_shared/qt/bin", "/usr/local/bin
", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin",
"/bin", "/usr/games", "/usr/sb
in", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec",
"/opt/mysql/libexec", "/opt/local/lib/mysq
l5/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
"
"akonadiserver" [out] "Running 'mysqlcheck' with connection arguments:
'--port=3306' '--socket=/var/run/
mysqld/mysqld.sock'
'--socket=/home/andre/.local/share/akonadi/db_misc/mysql.socket'
"
[akonadiserver] /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local
MySQL server through socket
'/home/andre/.local/share/akonadi/db_misc/mysql.socket' (2) when trying to
connect
[akonadiserver] FATAL ERROR: Upgrade failed
[akonadiserver] Database "akonadi" opened using driver "QMYSQL"
[akonadiserver] DbInitializer::run()
[akonadiserver] checking table "SchemaVersionTable"
[akonadiserver] checking table "ResourceTable"
[akonadiserver] checking table "CollectionTable"
[akonadiserver] checking table "MimeTypeTable"
[akonadiserver] checking table "PimItemTable"
[akonadiserver] checking table "FlagTable"
[akonadiserver] checking table "PartTable"
[akonadiserver] checking table "CollectionAttributeTable"
[akonadiserver] checking relation "PimItemFlagRelation"
[akonadiserver] checking relation "CollectionMimeTypeRelation"
[akonadiserver] checking relation "CollectionPimItemRelation"
[akonadiserver] DbInitializer::run() done
[akonadiserver] skipping update 2
[akonadiserver] skipping update 3
[akonadiserver] skipping update 4
[akonadiserver] skipping update 8
[akonadiserver] skipping update 10
[akonadiserver] skipping update 12
[akonadiserver] skipping update 13
[akonadiserver] skipping update 14
[akonadiserver] skipping update 15
[akonadiserver] skipping update 16
[akonadiserver] Database "akonadi" opened using driver "QMYSQL"
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list