-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Task [mariadb : Start MariaDB Service] fails on Centos7 vm #214
Comments
Had a quick look, this is because the install for mariadb uses the old log file location which SELinux labelling doesn't like. Will update config file to use mariadb default log location (/var/log/mariadb/mariadb.log) |
…nsible#214. Retested on CentOS7 and RHEL7.
I have tried changing the log file location but still the issue is not resolved, mariadb is not able to start |
TASK [mariadb : Start MariaDB Service] ***************************************************************************************************** |
@sumitsu25 did you try from a new VM? If retrying on the same instance, you may need to remove mariadb/mysql packages to try again. |
Good concise answer JP. Recreate to node from scratch and if duplicated, examine GIT or SubV json files for change dates and who. Back one code revision and see if all good. Then smack the developer on the forhead. :-) |
Hi everyone! This worked for me. First, make sure the following variables are set (my.cnf):
Before re-starting MariaDB Server and after modifying datadir, make sure datadir is empty. Steps for unistalling and re-starting MariaDB Server are the followings (you'll need to be root user):
|
States the control process exits with an error code, and suggests running "systemctl status mariadb.service" and "journalctl -xe". However, there are no entries in journalctl and systemctl just has (Result: exit-code) instead of a way to debug the issue.
The text was updated successfully, but these errors were encountered: