[+] Baza MySQL nie chce się włączyć
: 04 sierpnia 2013, 11:58
Witam.
Przy próbie instalacji bazy danych MySQL (po wpisaniu haseł) dostaję taką informację:
A kilkanaście sekund później taką:
Próbowałem takowych rozwiązań:
System na VPS-ie to Debian 7, zainstalowany na openvz. Zakupiony w ultimahost.pl (pakiet ovz.4096MB). Niestety, ale po reinstalacji systemu problem powrócił.
Proszę o pomoc.
Przy próbie instalacji bazy danych MySQL (po wpisaniu haseł) dostaję taką informację:
Kod: Zaznacz cały
[ ok ] Stopping MySQL database server: mysqld.130804 11:45:29 [Note] Plugin 'FEDERATED' is disabled.
130804 11:45:29 InnoDB: The InnoDB memory heap is disabled
130804 11:45:29 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130804 11:45:29 InnoDB: Compressed tables use zlib 1.2.7
130804 11:45:29 InnoDB: Using Linux native AIO
130804 11:45:29 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.
130804 11:45:32 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
130804 11:45:32 InnoDB: Fatal error: cannot initialize AIO sub-system
130804 11:45:32 [ERROR] Plugin 'InnoDB' init function returned error.
130804 11:45:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130804 11:45:32 [ERROR] Unknown/unsupported storage engine: InnoDB
130804 11:45:32 [ERROR] Aborting
130804 11:45:32 [Note] /usr/sbin/mysqld: Shutdown complete
A kilkanaście sekund później taką:
Kod: Zaznacz cały
Unable to set password for the MySQL "root" user An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. You should check the account's password after the package installation.
Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for more information.
Kod: Zaznacz cały
apt-get -f install
Kod: Zaznacz cały
mysql_secure_installation (ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
Kod: Zaznacz cały
innodb_use_native_aio=0 w my.cnf
Kod: Zaznacz cały
deb [URL]http://ftp.de.debian.org/debian/[/URL] wheezy main contrib non-free
deb-src [URL]http://ftp.de.debian.org/debian/[/URL] wheezy main contrib non-free
deb [URL]http://security.debian.org/[/URL] wheezy/updates main contrib non-free
deb-src [URL]http://security.debian.org/[/URL] wheezy/updates main contrib non-free
deb [URL]http://ftp.de.debian.org/debian/[/URL] wheezy-updates main contrib non-free
deb-src [URL]http://ftp.de.debian.org/debian/[/URL] wheezy-updates main contrib non-free
Proszę o pomoc.