vanderkerkoff
November 20th, 2008, 09:05 AM
Here's the problem
If I add code to watch my mysql install to my god config file, and remove the normal mysql startup script from defaults, and add the god init script I've written which should boot god on reboot, which should start all the things I'm watching with god, this happens.
E [2008-11-20 12:20:10] ERROR: PID file directory '/var/run/mysqld' does not exist
I suspect that this directory is created by the mysql start script. I've just checked that by running
sudo /etc/init.d/mysql start
Mysql starts, and the mysqld directory is created. But that is exactly the same script I'm running in the w.start section of my god config file
w.start = "cd /etc/init.d && ./mysql start"
Does anyone have any ideas how to get around this issue?
If I add code to watch my mysql install to my god config file, and remove the normal mysql startup script from defaults, and add the god init script I've written which should boot god on reboot, which should start all the things I'm watching with god, this happens.
E [2008-11-20 12:20:10] ERROR: PID file directory '/var/run/mysqld' does not exist
I suspect that this directory is created by the mysql start script. I've just checked that by running
sudo /etc/init.d/mysql start
Mysql starts, and the mysqld directory is created. But that is exactly the same script I'm running in the w.start section of my god config file
w.start = "cd /etc/init.d && ./mysql start"
Does anyone have any ideas how to get around this issue?