[opensuse-factory] Why wont mariadb [Factory] start
Hello, Why wont mariadb [Factory]start. How can it be fixed/started ? So far I found/tried the following[1] Cheers Glenn [1] - sources used: http://ftp5.gwdg.de/pub/opensuse/repositories/server:/database/openSUSE_Fact... # rpm -qa | grep -i mariadb | sort mariadb-5.5.32-128.3.x86_64 mariadb-client-5.5.32-128.3.x86_64 mariadb-errormessages-5.5.32-128.3.x86_64 # rcmysql start redirecting to systemctl start mysql Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -n' for details. # systemctl status mysql.service mysql.service - LSB: Start the MySQL database server Loaded: loaded (/etc/init.d/mysql) Active: failed (Result: exit-code) since Sat, 2013-07-27 21:14:03 EST; 1min 26s ago Process: 14739 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/mysql.service Jul 27 21:13:33 test.site mysql[14739]: Try 'chown --help' for more information. Jul 27 21:13:33 test.site mysql[14739]: /etc/init.d/mysql: line 334: :mysql: command not found Jul 27 21:13:33 test.site mysql[14739]: Will update MySQL now, if you encounter any problems, please read following file: Jul 27 21:13:33 test.site mysql[14739]: /usr/share/doc/packages/mariadb/README.SuSE Jul 27 21:13:33 test.site mysql[14739]: Running protected MySQL... Jul 27 21:14:03 test.site mysql[14739]: error: /var/tmp/mysql-protected.f6lOVv/mysql.sock file didn't appeared... Jul 27 21:14:03 test.site mysql[14739]: Try checking "/var/log/mysql/mysqld-upgrade-run.log"... Jul 27 21:14:03 test.site mysql[14739]: ..failed Jul 27 21:14:03 test.site systemd[1]: Failed to start LSB: Start the MySQL database server. Jul 27 21:14:03 test.site systemd[1]: Unit mysql.service entered failed state # journalctl -n -- Logs begin at Sat, 2013-07-27 15:11:36 EST, end at Sat, 2013-07-27 21:15:02 EST. -- Jul 27 21:13:33 test.site mysql[14739]: /usr/share/doc/packages/mariadb/README.SuSE Jul 27 21:13:33 test.site mysql[14739]: Running protected MySQL... Jul 27 21:14:03 test.site mysql[14739]: error: /var/tmp/mysql-protected.f6lOVv/mysql.sock file didn't appeared... Jul 27 21:14:03 test.site mysql[14739]: Try checking "/var/log/mysql/mysqld-upgrade-run.log"... Jul 27 21:14:03 test.site mysql[14739]: ..failed Jul 27 21:14:03 test.site systemd[1]: mysql.service: control process exited, code=exited status=1 Jul 27 21:14:03 test.site systemd[1]: Failed to start LSB: Start the MySQL database server. Jul 27 21:14:03 test.site systemd[1]: Unit mysql.service entered failed state Jul 27 21:15:02 test.site /usr/sbin/cron[15261]: pam_unix(crond:session): session opened for user root by (uid=0) Jul 27 21:15:02 test.site /USR/SBIN/CRON[15261]: pam_unix(crond:session): session closed for user root # Jul 27 21:13:33 test.site mysql[14739]: /etc/init.d/mysql: line 334: :mysql: command not found # head -334 /etc/init.d/mysql | tail -1 chown -R mysq;:mysql "$log_dir" # which mysql /usr/bin/mysql # mysql -V mysql Ver 15.1 Distrib 5.5.32-MariaDB, for Linux (x86_64) using readline 5.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 27.07.2013 13:44, schrieb doiggl@velocitynet.com.au:
Maybe a typo in /etc/init.d/mysql? chown -R mysq;:mysql "$log_dir" --> chown -R mysql:mysql "$log_dir" regards, Hendrik -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 27.07.2013 13:44, schrieb doiggl@velocitynet.com.au:
Maybe a typo in /etc/init.d/mysql? chown -R mysq;:mysql "$log_dir" --> chown -R mysql:mysql "$log_dir" regards, Hendrik -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Hendrik Woltersdorf