Summary: | akonadi does not start after restore | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Axel Braun <axel.braun> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | REPORTED --- | ||
Severity: | grave | CC: | dvratil, tonal.promsoft |
Priority: | NOR | ||
Version: | 5.3.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | mysql error log |
Description
Axel Braun
2017-01-06 14:43:36 UTC
> log_akonadiserver: stderr: "170106 15:35:40 [Note] /usr/sbin/mysqld (mysqld 10.0.28-MariaDB) starting as process 9072 ...\n" > log_akonadiserver: exit code: 1 Looks like mysqld dies on start up. Maybe the database is corrupted? Can happen if you did the backup while MySQL was running and possibly changing and not fully flushing all the data files. > docb@T520:~> /usr/sbin/mysqld --defaults-file=/home/docb/.local/share/akonadi/mysql.conf --datadir=/home/docb/.local/share/akonadi/db_data/ --socket=/tmp/akonadi-docb.uL1G8Q/mysql.socket > 170106 15:41:07 [Note] /usr/sbin/mysqld (mysqld 10.0.28-MariaDB) starting as process 9147 ... Does the mysqld process return immediately, or does it keep running? If it returns, then it mean it still crashed. Yes, I could recover mysql in between by setting the parameter [mysqld] innodb_force_recovery = 3 in ~/.local/share/akonadi/mysql.conf. mysql error log is attached In the recovery mode it is read only. so I shutted it down and tried a restart: docb@T520:~> akonadictl stop Akonadi is not running. docb@T520:~> akonadictl start Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) docb@T520:~> akonadictl status Akonadi Control: stopped Akonadi Server: stopped Akonadi Server Search Support: available (Remote Search) Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_invitations_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_vcard_resource, akonadi_vcarddir_resource docb@T520:~> akonadictl stop Akonadi is not running. docb@T520:~> akonadictl start --verbose log_akonadicontrol: Unable to register service as "org.freedesktop.Akonadi.Control.lock" Maybe it's already running? Error: akonadi_control was started but didn't register at D-Bus session bus. Make sure your system is set up correctly! docb@T520:~> log_akonadiserver: Failed to connect to database! log_akonadiserver: Database error: "Can't connect to local MySQL server through socket '/tmp/akonadi-docb.rjb6l2/mysql.socket' (2 \"Datei oder Verzeichnis nicht gefunden\") QMYSQL: Unable to connect" /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-docb.rjb6l2/mysql.socket' (2 "No such file or directory")' Check that mysqld is running and that the socket: '/tmp/akonadi-docb.rjb6l2/mysql.socket' exists! log_akonadicontrol: Application 'akonadiserver' exited normally... So it still fails.... Created attachment 103267 [details]
mysql error log
|