https://bugs.kde.org/show_bug.cgi?id=423684
Bug ID: 423684 Summary: Akonadi crashing due to MySQL Socket is gone Product: Akonadi Version: 5.13.3 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: server Assignee: kdepim-b...@kde.org Reporter: malte.ge...@googlemail.com Target Milestone: --- After a while akonadi is crashing, because of a communication error. The MySQL sockets seems to disappear, even if the MySQL server is still running. # MySQL Server still running after Akonadi crash /usr/sbin/mysqld-akonadi --defaults-file=/home/maltegerth/.local/share/akonadi/mysql.conf --datadir=/home/maltegerth/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid # Socket file is missing $ ll /run/user/1000/akonadi/mysql.socket ls: cannot access '/run/user/1000/akonadi/mysql.socket': No such file or directory # Akonadi error log 2020-06-29T21:17:29 [INFO ] org.kde.pim.akonadiserver: Starting up the Akonadi Server... 2020-06-29T21:18:34 [CRITICAL] org.kde.pim.akonadiserver: Failed to connect to database! 2020-06-29T21:18:34 [CRITICAL] org.kde.pim.akonadiserver: Database error: "Can't connect to local MySQL server through socket '/run/user/1000/akonadi/mysql.socket' (2) QMYSQL: Unable to connect" 2020-06-29T21:18:40 [INFO ] org.kde.pim.akonadiserver: Shutting down AkonadiServer.. # MySQL error log 2020-06-29 21:17:29 0 [ERROR] mysqld-akonadi: Can't lock aria control file '/home/maltegerth/.local/share/akonadi/db_data/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds 2020-06-29 21:18:00 0 [ERROR] mysqld-akonadi: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/home/maltegerth/.local/share/akonadi/db_data/aria_log_control' 2020-06-29 21:18:00 0 [ERROR] Plugin 'Aria' init function returned error. 2020-06-29 21:18:00 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed. 2020-06-29 21:18:00 0 [Note] InnoDB: Using Linux native AIO 2020-06-29 21:18:00 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-06-29 21:18:00 0 [Note] InnoDB: Uses event mutexes 2020-06-29 21:18:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-06-29 21:18:00 0 [Note] InnoDB: Number of pools: 1 2020-06-29 21:18:00 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-06-29 21:18:00 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2020-06-29 21:18:00 0 [Note] InnoDB: Completed initialization of buffer pool 2020-06-29 21:18:00 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2020-06-29 21:18:00 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 2020-06-29 21:18:00 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 2020-06-29 21:18:00 0 [Note] InnoDB: Retrying to lock the first data file 2020-06-29 21:18:01 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 2020-06-29 21:18:01 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 2020-06-29 21:18:02 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 -- You are receiving this mail because: You are watching all bug changes.