VPS Centos 7x64 MariaDB не работает
Добавлено: 2015-10-11, 22:26:13
Подскажите что, может быть? Почему не работает. После установки, при первом же запуске выдаёт
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
Код: Выделить всё
[root@ ~]# systemctl status mariadb.service
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled)
Active: failed (Result: exit-code) since Sun 2015-10-11 22:24:52 MSK; 19s ago
Process: 11442 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 11441 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 11414 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 11441 (code=exited, status=0/SUCCESS)
Oct 11 22:24:51 v87599.kvm.test-hf.su systemd[1]: Starting MariaDB database server...
Oct 11 22:24:51 v87599.kvm.test-hf.su mysqld_safe[11441]: 151011 22:24:51 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Oct 11 22:24:51 v87599.kvm.test-hf.su mysqld_safe[11441]: 151011 22:24:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Oct 11 22:24:51 v87599.kvm.test-hf.su mysqld_safe[11441]: 151011 22:24:51 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
Oct 11 22:24:52 v87599.kvm.test-hf.su systemd[1]: mariadb.service: control process exited, code=exited status=1
Oct 11 22:24:52 v87599.kvm.test-hf.su systemd[1]: Failed to start MariaDB database server.
Oct 11 22:24:52 v87599.kvm.test-hf.su systemd[1]: Unit mariadb.service entered failed state.
Код: Выделить всё
[root@ ~]# journalctl -xn
-- Logs begin at Sun 2015-10-11 22:14:17 MSK, end at Sun 2015-10-11 22:24:52 MSK. --
Oct 11 22:23:03 v87599.kvm.test-hf.su systemd[1]: mariadb.service: control process exited, code=exited status=1
Oct 11 22:23:03 v87599.kvm.test-hf.su systemd[1]: Failed to start MariaDB database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mariadb.service has failed.
--
-- The result is failed.
Oct 11 22:23:03 v87599.kvm.test-hf.su systemd[1]: Unit mariadb.service entered failed state.
Oct 11 22:24:51 v87599.kvm.test-hf.su systemd[1]: Starting MariaDB database server...
-- Subject: Unit mariadb.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mariadb.service has begun starting up.
Oct 11 22:24:51 v87599.kvm.test-hf.su mysqld_safe[11441]: 151011 22:24:51 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Oct 11 22:24:51 v87599.kvm.test-hf.su mysqld_safe[11441]: 151011 22:24:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Oct 11 22:24:51 v87599.kvm.test-hf.su mysqld_safe[11441]: 151011 22:24:51 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
Oct 11 22:24:52 v87599.kvm.test-hf.su systemd[1]: mariadb.service: control process exited, code=exited status=1
Oct 11 22:24:52 v87599.kvm.test-hf.su systemd[1]: Failed to start MariaDB database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mariadb.service has failed.
--
-- The result is failed.
Oct 11 22:24:52 v87599.kvm.test-hf.su systemd[1]: Unit mariadb.service entered failed state.
[root@ ~]#