Hi,
I was running cqrlog, when I got some trouble with another application. I had to hard reset my PC as shutdown from another console did not have success.
Unfortunately somehow the cqrlog database was damaged. Everytime I try to start cqrlog, I got an error.
Error during connection to database: Server connect failed.
I looked up .config/cqrlog/database/mysql.err
but I don't know, how to repair a MYSQL database.
Errors from mysql.err are:
140824 20:07:06 [ERROR] mysqld: Can't lock aria control file '/home/rolf/.config/cqrlog/database/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
140824 20:07:37 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/home/rolf/.config/cqrlog/database/aria_log_control'
140824 20:07:37 [ERROR] Plugin 'Aria' init function returned error.
140824 20:07:37 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
140824 20:07:37 InnoDB: The InnoDB memory heap is disabled
140824 20:07:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140824 20:07:37 InnoDB: Compressed tables use zlib 1.2.8
140824 20:07:37 InnoDB: Using Linux native AIO
140824 20:07:37 InnoDB: Initializing buffer pool, size = 80.0M
140824 20:07:37 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140824 20:07:37 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
...
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140824 20:09:17 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
140824 20:09:17 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
140824 20:09:17 InnoDB: Could not open or create data files.
140824 20:09:17 InnoDB: If you tried to add new data files, and it failed here,
140824 20:09:17 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140824 20:09:17 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140824 20:09:17 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140824 20:09:17 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140824 20:09:17 InnoDB: remove old data files which contain your precious data!
140824 20:09:17 [ERROR] Plugin 'InnoDB' init function returned error.
140824 20:09:17 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140824 20:09:17 [Note] Plugin 'FEEDBACK' is disabled.
140824 20:09:17 [ERROR] Unknown/unsupported storage engine: innodb
140824 20:09:17 [ERROR] Aborting
I tried to use mysqlcheck, but it requires a database password. Does anyone have an idea, how to continue ? Thanks for any hints.
73,
Rolf
Rolf the next time you restart with REISUB
http://en.wikipedia.org/wiki/Magic_SysRq_key
Hi Rolf,
compress whole database directory and send it to my email, please. I'll try to fix it. Do you have autobackup function enabled?
73 Petr
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com