2021-06-21 20:37:30 0 [ERROR] mysqld: Can't lock aria control file '/test/MD140621-mariadb-10.3.30-linux-x86_64-opt/data/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
|
2021-06-21 20:38:01 0 [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 '/test/MD140621-mariadb-10.3.30-linux-x86_64-opt/data/aria_log_control'
|
2021-06-21 20:38:01 0 [ERROR] Plugin 'Aria' init function returned error.
|
2021-06-21 20:38:01 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
|
2021-06-21 20:38:01 0 [Note] InnoDB: Using Linux native AIO
|
2021-06-21 20:38:01 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
|
2021-06-21 20:38:01 0 [Note] InnoDB: Uses event mutexes
|
2021-06-21 20:38:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2021-06-21 20:38:01 0 [Note] InnoDB: Number of pools: 1
|
2021-06-21 20:38:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
|
2021-06-21 20:38:01 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
|
2021-06-21 20:38:01 0 [Note] InnoDB: Completed initialization of buffer pool
|
2021-06-21 20:38:01 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
|
2021-06-21 20:38:01 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
|
2021-06-21 20:38:01 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
|
2021-06-21 20:38:01 0 [Note] InnoDB: Retrying to lock the first data file
|
2021-06-21 20:38:02 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
|
2021-06-21 20:38:02 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
|
2021-06-21 20:38:03 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
|
2021-06-21 20:38:03 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
|
2021-06-21 20:38:04 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
|
2021-06-21 20:38:04 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
|
...
|
2021-06-21 20:39:41 0 [Note] InnoDB: Unable to open the first data file
|
2021-06-21 20:39:41 0 [ERROR] InnoDB: Operating system error number 11 in a file operation.
|
2021-06-21 20:39:41 0 [ERROR] InnoDB: Error number 11 means 'Resource temporarily unavailable'
|
2021-06-21 20:39:41 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
|
2021-06-21 20:39:41 0 [ERROR] InnoDB: Cannot open datafile './ibdata1'
|
2021-06-21 20:39:41 0 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
|
2021-06-21 20:39:41 0 [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file
|
2021-06-21 20:39:41 0 [Note] InnoDB: Starting shutdown...
|
2021-06-21 20:39:43 0 [ERROR] Plugin 'InnoDB' init function returned error.
|
2021-06-21 20:39:43 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
|
2021-06-21 20:39:43 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2021-06-21 20:39:43 0 [ERROR] Unknown/unsupported storage engine: InnoDB
|
2021-06-21 20:39:43 0 [ERROR] Aborting
|
While mysqladmin shutdown will hang, a SHUTDOWN command issued at the client will not hang (expected as SHUTDOWN does not wait for shutdown to finalized), but the PID will still be live for an undefined amount of time.
This is an additional concern as an automatic restart will run into issues.
SET GLOBAL innodb_disallow_writes=ON;
SHUTDOWN;
Leads to:
10.3.30 75a65d3201a4486af96cf3277b6c5a4ba460eef7 (Optimized)
2021-06-21 20:37:30 0 [ERROR] mysqld: Can't lock aria control file '/test/MD140621-mariadb-10.3.30-linux-x86_64-opt/data/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
2021-06-21 20:38:01 0 [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 '/test/MD140621-mariadb-10.3.30-linux-x86_64-opt/data/aria_log_control'
2021-06-21 20:38:01 0 [ERROR] Plugin 'Aria' init function returned error.
2021-06-21 20:38:01 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2021-06-21 20:38:01 0 [Note] InnoDB: Using Linux native AIO
2021-06-21 20:38:01 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-06-21 20:38:01 0 [Note] InnoDB: Uses event mutexes
2021-06-21 20:38:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-06-21 20:38:01 0 [Note] InnoDB: Number of pools: 1
2021-06-21 20:38:01 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-06-21 20:38:01 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-06-21 20:38:01 0 [Note] InnoDB: Completed initialization of buffer pool
2021-06-21 20:38:01 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-06-21 20:38:01 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2021-06-21 20:38:01 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2021-06-21 20:38:01 0 [Note] InnoDB: Retrying to lock the first data file
2021-06-21 20:38:02 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2021-06-21 20:38:02 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2021-06-21 20:38:03 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2021-06-21 20:38:03 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2021-06-21 20:38:04 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2021-06-21 20:38:04 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
...
2021-06-21 20:39:41 0 [Note] InnoDB: Unable to open the first data file
2021-06-21 20:39:41 0 [ERROR] InnoDB: Operating system error number 11 in a file operation.
2021-06-21 20:39:41 0 [ERROR] InnoDB: Error number 11 means 'Resource temporarily unavailable'
2021-06-21 20:39:41 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2021-06-21 20:39:41 0 [ERROR] InnoDB: Cannot open datafile './ibdata1'
2021-06-21 20:39:41 0 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2021-06-21 20:39:41 0 [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file
2021-06-21 20:39:41 0 [Note] InnoDB: Starting shutdown...
2021-06-21 20:39:43 0 [ERROR] Plugin 'InnoDB' init function returned error.
2021-06-21 20:39:43 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-06-21 20:39:43 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-06-21 20:39:43 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-06-21 20:39:43 0 [ERROR] Aborting