Ошибка устрановки
Posted: Tue Jul 30, 2013 6:47 am
Привет! 2 раза пытался установить на новый сервер. Оба раза установка была прервана из-за неудачного запуска mysql. Полагаю ошибка именно в конфиге http://c.vestacp.com/0.9.8/rhel/mysql-512.cnf
Последние строки перед сбоем установки.
Лог mysqld
После того как добавил в my.cnf - "innodb_use_native_aio = 0" mysqld сразу же запустился.
Последние строки перед сбоем установки.
Code: Select all
--2013-07-30 02:02:33-- http://c.vestacp.com/0.9.8/rhel/mysql-512.cnf
Resolving c.vestacp.com... 50.22.60.3
Connecting to c.vestacp.com|50.22.60.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 672 [text/plain]
Saving to: `/etc/my.cnf'
100%[========================================================================================================================================================================>] 672 --.-K/s in 0s
2013-07-30 02:02:34 (76.4 MB/s) - `/etc/my.cnf' saved [672/672]
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h req.pp.ua password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
[ OK ]
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
Error: mysqld start failed
Code: Select all
[root@req ~]# tail -100 /var/log/mysqld.log
130730 02:02:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130730 2:02:40 [Note] Plugin 'FEDERATED' is disabled.
130730 2:02:40 InnoDB: The InnoDB memory heap is disabled
130730 2:02:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130730 2:02:40 InnoDB: Compressed tables use zlib 1.2.3
130730 2:02:40 InnoDB: Using Linux native AIO
130730 2:02:40 InnoDB: Warning: io_setup() failed with EAGAIN. Will make 5 attempts before giving up.
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.
130730 2:02:43 InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
130730 2:02:43 InnoDB: Fatal error: cannot initialize AIO sub-system
130730 2:02:43 [ERROR] Plugin 'InnoDB' init function returned error.
130730 2:02:43 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130730 2:02:43 [ERROR] Unknown/unsupported storage engine: InnoDB
130730 2:02:43 [ERROR] Aborting
130730 2:02:43 [Note] /usr/libexec/mysqld: Shutdown complete
130730 02:02:43 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended