Corrigido criando /etc/my.cnf
antes de instalar o MySQL contendo apenas
[mysqld]
innodb_use_native_aio = 0
Sempre que eu tento instalar o mysql-server
, ele fica nessa tela
Esteéocasodenãodigitarumasenha,masquandoeudigitoumasenha,elaéinterrompidanestateladepoisdepressionarOK
Eu já passei por várias soluções, ou seja, desinstalar completamente e reinstalar e não funcionou. A instalação foi feita sob o usuário root.
syslog
:
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 [Note] /usr/sbin/mysqld (mysqld 5.5.44-0ubuntu0.14.04.1) starting as process 16893 ...
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 [Note] Plugin 'FEDERATED' is disabled.
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 InnoDB: The InnoDB memory heap is disabled
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 InnoDB: Compressed tables use zlib 1.2.8
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 InnoDB: Using Linux native AIO
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:25 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
Jul 30 12:07:25 3877-5708-4831 mysqld_safe[16894]: InnoDB: Warning: io_setup() attempt 1 failed.
Jul 30 12:07:26 3877-5708-4831 mysqld_safe[16894]: InnoDB: Warning: io_setup() attempt 2 failed.
Jul 30 12:07:26 3877-5708-4831 mysqld_safe[16894]: InnoDB: Warning: io_setup() attempt 3 failed.
Jul 30 12:07:27 3877-5708-4831 mysqld_safe[16894]: InnoDB: Warning: io_setup() attempt 4 failed.
Jul 30 12:07:27 3877-5708-4831 mysqld_safe[16894]: InnoDB: Warning: io_setup() attempt 5 failed.
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 InnoDB: Fatal error: cannot initialize AIO sub-system
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 [ERROR] Plugin 'InnoDB' init function returned error.
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 [ERROR] Unknown/unsupported storage engine: InnoDB
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 [ERROR] Aborting
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]:
Jul 30 12:07:28 3877-5708-4831 mysqld_safe[16894]: 150730 12:07:28 [Note] /usr/sbin/mysqld: Shutdown complete
Então, eu tenho certeza que é o InnoDB que está causando o erro, mas como posso corrigir o erro e fazê-lo instalar sem bagunçar?