failed to start mysql in Fedora 17. I am using root account to run the below commands and selinux is disabled.service mysqld startRedirecting to /bin/systemctl start  mysqld.serviceJob for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.systemctl status mariadb.servicemariadb.service - MariaDB database server   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled)   Active: failed (Result: exit-code) since Tue 2014-09-23 11:29:32 SGT; 10s ago  Process: 4251 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)  Process: 4250 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=1/FAILURE)  Process: 4222 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS) Main PID: 4250 (code=exited, status=1/FAILURE)Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: 140923 11:29:32 mysqld_safe WSREP: Running position recovery with --log_error='/var/...er.pid'Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 138: /var/log/mariadb/mariadb.log: Permission deniedSep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 182: /var/log/mariadb/mariadb.log: Permission deniedSep 23 11:29:32 acer-4930g mysqld_safe[4250]: 140923 11:29:32 mysqld_safe WSREP: Failed to recover position:Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: ''Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 138: /var/log/mariadb/mariadb.log: Permission deniedSep 23 11:29:32 acer-4930g systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURESep 23 11:29:32 acer-4930g systemd[1]: mariadb.service: control process exited, code=exited status=1Sep 23 11:29:32 acer-4930g systemd[1]: Failed to start MariaDB database server.Sep 23 11:29:32 acer-4930g systemd[1]: Unit mariadb.service entered failed state.Hint: Some lines were ellipsized, use -l to show in full.journalctl -xn-- Logs begin at Sat 2014-04-26 15:18:22 SGT, end at Tue 2014-09-23 11:29:34 SGT. --Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 138: /var/log/mariadb/mariadb.log: Permission deniedSep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 182: /var/log/mariadb/mariadb.log: Permission deniedSep 23 11:29:32 acer-4930g mysqld_safe[4250]: 140923 11:29:32 mysqld_safe WSREP: Failed to recover position:Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: ''Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 138: /var/log/mariadb/mariadb.log: Permission deniedSep 23 11:29:32 acer-4930g systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURESep 23 11:29:32 acer-4930g systemd[1]: mariadb.service: control process exited, code=exited status=1Sep 23 11:29:32 acer-4930g 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 23 11:29:32 acer-4930g systemd[1]: Unit mariadb.service entered failed state.Sep 23 11:29:34 acer-4930g PackageKit[4204]: daemon quitgetenforce PermissiveThen I changed ownership of the mariadb log file from root to mysql but still failed:[root@acer-4930g ~]# ls -ld /var/log/mariadb/drwxr-x---. 2 mysql mysql 4096 Sep 23 11:02 /var/log/mariadb/[root@acer-4930g ~]# ls -l /var/log/mariadb/mariadb.log -rw-rw----. 1 root root 554 Sep 23 11:02 /var/log/mariadb/mariadb.log[root@acer-4930g ~]# chown -R mysql:mysql /var/log/mariadb -chR[root@acer-4930g ~]# systemctl restart mariadb.service Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.[root@acer-4930g ~]# systemctl status mariadb.service mariadb.service - MariaDB database server   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled)   Active: failed (Result: exit-code) since Tue 2014-09-23 14:58:09 SGT; 3min 4s ago  Process: 6890 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)  Process: 6889 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=1/FAILURE)  Process: 6861 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS) Main PID: 6889 (code=exited, status=1/FAILURE)Sep 23 14:58:09 acer-4930g mysqld_safe[6889]: 140923 14:58:08 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade ...ate it.Sep 23 14:58:09 acer-4930g mysqld_safe[6889]: 140923 14:58:08 [ERROR] Aria engine is not enabled or did not start. The Aria engine...-tablesSep 23 14:58:09 acer-4930g mysqld_safe[6889]: 140923 14:58:08 [ERROR] AbortingSep 23 14:58:09 acer-4930g mysqld_safe[6889]: 140923 14:58:08  InnoDB: Starting shutdown...Sep 23 14:58:09 acer-4930g mysqld_safe[6889]: 140923 14:58:09  InnoDB: Shutdown completed; log sequence number 1597945Sep 23 14:58:09 acer-4930g mysqld_safe[6889]: 140923 14:58:09 [Note] /usr/libexec/mysqld: Shutdown complete'Sep 23 14:58:09 acer-4930g systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURESep 23 14:58:09 acer-4930g systemd[1]: mariadb.service: control process exited, code=exited status=1Sep 23 14:58:09 acer-4930g systemd[1]: Failed to start MariaDB database server.Sep 23 14:58:09 acer-4930g systemd[1]: Unit mariadb.service entered failed state.Hint: Some lines were ellipsized, use -l to show in full.
Start Mysql/Mariadb in Fedora failed
fedora;mysql;mariadb