2014-09-21 17 views
5

Ich versuche maria db zu installieren und bekomme das folgende Problem.Maria DB nicht gestartet. Job für mariadb.service ist fehlgeschlagen. Siehe 'systemctl status mariadb.service' und 'journalctl -xn' für Details

[[email protected] ~]# service mysqld start 
Redirecting to /bin/systemctl start mysqld.service 
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details. 

Ich habe versucht, 'systemctl Status mariadb.service' und 'journalctl -xn' und folgt den Details.

[[email protected] ~]# systemctl status mariadb.service 
mariadb.service - MariaDB database server 
    Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled) 
    Active: failed (Result: exit-code) since Sun 2014-09-21 17:19:44 IST; 23s ago 
    Process: 2712 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE) 
    Process: 2711 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS) 
    Process: 2683 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS) 
Main PID: 2711 (code=exited, status=0/SUCCESS) 

Sep 21 17:19:42 localhost.localdomain mysqld_safe[2711]: 140921 17:19:42 mysqld_safe Logging to '/var/lib/mysql/localhost.localdomain.err'. 
Sep 21 17:19:42 localhost.localdomain mysqld_safe[2711]: 140921 17:19:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 
Sep 21 17:19:43 localhost.localdomain mysqld_safe[2711]: 140921 17:19:43 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdoma...d ended 
Sep 21 17:19:44 localhost.localdomain systemd[1]: mariadb.service: control process exited, code=exited status=1 
Sep 21 17:19:44 localhost.localdomain systemd[1]: Failed to start MariaDB database server. 
Sep 21 17:19:44 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state. 






[[email protected] ~]# journalctl -xn 
-- Logs begin at Sun 2014-09-21 02:33:29 IST, end at Sun 2014-09-21 17:20:11 IST. -- 
Sep 21 17:16:26 localhost.localdomain systemd[1]: Started dnf makecache. 
-- Subject: Unit dnf-makecache.service has finished start-up 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
-- 
-- Unit dnf-makecache.service has finished starting up. 
-- 
-- The start-up result is done. 
Sep 21 17:18:11 localhost.localdomain NetworkManager[683]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted 
Sep 21 17:19:42 localhost.localdomain 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. 
Sep 21 17:19:42 localhost.localdomain mysqld_safe[2711]: 140921 17:19:42 mysqld_safe Logging to '/var/lib/mysql/localhost.localdomain.err'. 
Sep 21 17:19:42 localhost.localdomain mysqld_safe[2711]: 140921 17:19:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 
Sep 21 17:19:43 localhost.localdomain mysqld_safe[2711]: 140921 17:19:43 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid end 
Sep 21 17:19:44 localhost.localdomain systemd[1]: mariadb.service: control process exited, code=exited status=1 
Sep 21 17:19:44 localhost.localdomain 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. 
Sep 21 17:19:44 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state. 
Sep 21 17:20:11 localhost.localdomain NetworkManager[683]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted 

Kann jemand bitte helfen?

Ich habe versucht, viele Male zu deinstallieren und zu installieren, aber den gleichen Fehler erhalten.

Vielen Dank im Voraus.

Antwort

0

I wird wie folgt gelöst:

Nach

Run: > mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/ 

Then: > mysql_secure_installation 

And then: systemctl start mariadb 

mit dieser dieser Installation kann ich gelöst.

0

Puppet Konfiguration in VM

Fehler

Job für puppetserver.service fehlgeschlagen. Weitere Informationen finden Sie unter 'systemctl status puppetserver.service' und 'journalctl -xn'.

Lösung

Erhöhung der Speichergröße

Verwandte Themen