Comments - Ubuntu 22.04. "Starting MariaDB database server mariadbd [fail]"

2 years, 3 months ago Marko Mäkelä

As far as I can tell, those messages would be output if io_setup() in libaio fails. Perhaps libaio support was removed from the WSL2 kernel in the update? Those messages should disappear if you configure innodb_use_native_aio=OFF.

The Linux kernel in Ubuntu 20.04 and later supports a newer interface io_uring. MariaDB Server 10.6 and later can be built with io_uring or libaio, but never with both.

 
2 years, 3 months ago Daniel Black

Related, Ubuntu 22.04 is the LTS Ubuntu version where io_uring became available.

5.10.60.1 is where uring is documented to be added https://docs.microsoft.com/en-us/windows/wsl/kernel-release-notes.

Before 5.12 (https://github.com/axboe/liburing/issues/246#issuecomment-816965961) uring requires a memory locked amount, so try raising that urlimit for the startup.

The warning shouldn't prevent mariadbd from starting. Is there another fatal error in the logs?

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.