MySQL server fails to start Print

  • 371

If your MySQL server installation fails to start and in log file you get errors like:
InnoDB: Warning: io_setup() attempt 1 failed.
InnoDB: Warning: io_setup() attempt 2 failed.
InnoDB: Warning: io_setup() attempt 3 failed.
InnoDB: Warning: io_setup() attempt 4 failed.
InnoDB: Warning: io_setup() attempt 5 failed.
 the solution is to add innodb_use_native_aio=0 setting to MySQL configuration in /etc/my.cnf (or /etc/mysql/my.cnf, depending on the distribution you use).

If you have get errors like:
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
try running
apt-get --reinstall install bsdutils

Was this answer helpful?

« Back