Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
-
CentOS 7
-
2017-29
Description
Starting MaxScale directly fails on CentOS 7 if the /var/run/maxscale directory doesn't exist.
[user@node2 build]$ sudo maxscale -d --user=maxscale
|
Info : MaxScale will be run in the terminal process.
|
Configuration file : /etc/maxscale.cnf
|
Log directory : /var/log/maxscale
|
Data directory : /var/lib/maxscale
|
Module directory : /usr/lib64/maxscale
|
Service cache : /var/cache/maxscale
|
 |
*
|
* Error : Failed to open PID file '/var/run/maxscale/maxscale.pid'. Error : No such file or directory
|
*
|
Normally this directory is created by either the init script or the systemd service file. MaxScale should make sure that this directory exists and if not, try to create it.