[MDEV-24788] MariaDB 10.5: Can't lock aria control file '/var/lib/mysql/aria_log_control' for exclusive use, error: 11 Created: 2021-02-05 Updated: 2023-01-12 Resolved: 2021-12-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria |
| Affects Version/s: | None |
| Fix Version/s: | 10.5.14, 10.6.6, 10.7.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nuno | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hello, I'm testing MariaDB 10.5 on a new server. MariaDB starts without any errors or warnings. > mysql.log:2021-02-05 6:28:12 0 [Note] /usr/sbin/mariadbd: ready for connections. However, while MariaDB is running, I run: > mysqld --verbose --help 1>/dev/null I get: > 2021-02-05 6:31:51 0 [ERROR] mysqld: Can't lock aria control file '/var/lib/mysql/aria_log_control' for exclusive use, error: 11. Will retry for 0 seconds Any ideas why? This doesn't happen with MariaDB 10.4. > # ll /var/lib/mysql Thank you |
| Comments |
| Comment by Daniel Black [ 2021-05-19 ] |
|
This occurs in 10.5 because of https://github.com/MariaDB/server/commit/8eba777c2bbad7721c818936a3a0ced3b2fcd59c monty is this acceptable - https://github.com/MariaDB/server/compare/10.5...bb-10.5-danielblack-MDEV-24788-mysqld--help-cannot-lock-aria-control?expand=1 opt_help implies aria_readonly which in ha_maria_init means no recovery is done. In this case is it acceptable to not exclusively lock the control file? |