centos - MariaDB service fails immediately after installation - CentOS7 -
mariadb service not start after installation, fresh centos7 install no apache or php yet. though has webmin panel installed nothing other that.
the error message getting following:
job mariadb.service failed because control process exited error code. see "systemctl status mariadb.service" , "journalctl -xe" details.
my issue permission problem -
i found in /var/log/mariadb/mariadb.log
[error] mysqld: can't create/write file '/var/run/mariadb/mariadb.pid' (errcode: 13)
[error] can't start server: can't create pid file: permission denied
so changed owner of /var/run/mariadb root mysql
started fine after that.
Comments
Post a Comment