Mariadb.log # cat /var/log/mariadb/mariadb.log See "systemctl status rvice" and "journalctl -xe" for details. Job for rvice failed because the control process exited with error code. rw-rw- 1 mysql mysql 5242880 Dec 23 15:31 ib_logfile1ĭrwx- 2 mysql mysql 16384 Dec 23 01:14 my_wikiĭrwx- 2 mysql mysql 4096 performance_schemaĪttempt to Start # ls /usr/libexec/mariadb-prepare-db-dir rw-rw- 1 mysql mysql 52 Dec 23 15:45 aria_log_control If anyone could provide more information on the cause of the failure or additional steps to troubleshoot, then we would be grateful.Īnd then: # echo "" > /var/log/mariadb/mariadb.logĭr-xr-xr-x 20 root root 4096 Dec 23 15:46. We rent our VM so there is no dmesg or syslog to inspect. I don't know how systemd is running it (I have not found the commands to print the information yet). The result of running /usr/libexec/mariadb-prepare-db-dir manually with set -x as root is shown below. We also have the PID file discussed in Red Hat's Issue 1082018, systemctl start rvice wouldn't start. I found CentOS's Issue 9519, /usr/libexec/mariadb-prepare-db-dir fails (and Mariadb won't start - Failed at step EXEC spawning), but the permissions on / seem OK (see below). Lack of useful error information is making it hard for us to troubleshoot the issue.
The start problems happened after we enabled CentOS Software Collections (SCL) and performed a MediaWiki upgrade. We are having problems determining why MariaDB 5.5.58 on CentOS 7 is not starting.