a bit of a newbie here so mind my obliviousness. I'm trying to install mariadb on a fresh Centos 7 server, though upon running "systemctl start mariadb.service" I get this malarkey:
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
"journalctl -xn" outputs:
The process /usr/libexec/mariadb-prepare-db-dir could not be executed and failed.
And "systemctl status mariadb.service" outputs:
Process: 27729 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=203/EXEC)
Dec 30 20:37:54 localhost.localdomain systemd: Failed at step EXEC spawning /usr/libexec/mariadb-prepare-db-dir: Permission denied
I've checked the file permissions and it seems to be in order... Running from sudo also produces the same result. If anyone has any tips, they would be greatly appreciated.