Centos 7.0 mariadb ½ÇÇà ¿À·ù ÇØ°á
Centos 7.0¿¡¼ mariadb ½ÇÇà½Ã ¾Æ·¡ ¸Þ¼¼Áö°¡ ³ª¿À¸é¼ ½ÇÇàÀÌ ¾ÈµÈ´Ù.
[root@localhost bin]#systemctl restart mariadb
Job for mariadb.service failed. See ¡®systemctl status mariadb.service¡® and ¡®journalctl -xn¡¯ for details.
¿©±â¼ Áß¿äÇÑ °Ç systemctl status mariadb.service ÀÌ ¸Þ¼¼Áö ÀÌ´Ù.
¾Æ·¡¿Í °°ÀÌ À§¿¡ ¸í·É¾î¸¦ ÀÔ·Â ÇÏ¸é ¾Æ·¡Ã³·³ ÇöÀç mariadb»óÅ°¡ ³ª¿Â´Ù.
[root@localhost bin]# systemctl status mariadb.service
mariadb.service – MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled)
Active: failed (Result: exit-code) since È 2015-04-14 09:20:51 KST; 12s ago
Process: 13078 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 13077 ExecStart=/usr/bin/mysqld_safe –basedir=/usr (code=exited, status=0/SUCCESS)
Process: 13050 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 13077 (code=exited, status=0/SUCCESS)
4¿ù 14 09:20:50 localhost.localdomain systemd[1]: Starting MariaDB database server¡¦
4¿ù 14 09:20:50 localhost.localdomain mysqld_safe[13077]: 150414 09:20:50 mysqld_safe Logging to ¡®/var/log/mariadb/mariadb.log¡¯.
4¿ù 14 09:20:50 localhost.localdomain mysqld_safe[13077]: 150414 09:20:50 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
4¿ù 14 09:20:51 localhost.localdomain mysqld_safe[13077]: 150414 09:20:51 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
4¿ù 14 09:20:51 localhost.localdomain systemd[1]: mariadb.service: control process exited, code=exited status=1
4¿ù 14 09:20:51 localhost.localdomain systemd[1]: Failed to start MariaDB database server.
4¿ù 14 09:20:51 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state.
[ÇØ°á ¹æ¹ý]
mysql data µð·ºÅ丮¿¡ °¡º¸¸é ¾Æ·¡ÀÇ ÆÄÀÏ 3°³°¡ ÀÖ´Ù.
-rw-rw—- 1 mysql mysql 5242880 4¿ù 14 09:22 ib_logfile0
-rw-rw—- 1 mysql mysql 5242880 4¿ù 14 09:22 ib_logfile1
-rw-rw—- 1 mysql mysql 18874368 4¿ù 14 09:22 ibdata1
ÀÌ 3°³ÀÇ ÆÄÀÏÀ» »èÁ¦ ÇÑ´Ù.
±×¸®°í systemctl start mariadb.service ÀÔ·ÂÇϸé Á¤»óÀûÀ¸·Î ½ÇÇàÀÌ µÈ °ÍÀ» È®ÀÎ ÇÒ ¼ö ÀÖ´Ù.