Well this is a weird one...
I installed spawn-fcgi and will monitor it to see how it runs.. strangely it doesn't like to startup after a reboot, is there any way on ubuntu where I can check if it's set to run?
I've created an init script at /etc/init.d/init-fastcgi
Running this script manually does start php-cgi
Quote:
ps -ef | grep php
www-data 2719 1 0 00:54 ? 00:00:00 /usr/bin/php-cgi -q -b localhost:9000
www-data 2722 2719 1 00:54 ? 00:00:08 /usr/bin/php-cgi -q -b localhost:9000
www-data 2723 2719 0 00:54 ? 00:00:04 /usr/bin/php-cgi -q -b localhost:9000
www-data 2724 2719 0 00:54 ? 00:00:03 /usr/bin/php-cgi -q -b localhost:9000
www-data 2725 2719 0 00:54 ? 00:00:03 /usr/bin/php-cgi -q -b localhost:9000
www-data 2726 2719 0 00:54 ? 00:00:02 /usr/bin/php-cgi -q -b localhost:9000
root 4120 2694 0 01:08 pts/0 00:00:00 grep php
I ran
update-rc.d init-fastcgi defaults
There is a symbolic link in the startup folder
Quote:
ls /etc/rc0.d -lthr | grep cgi
lrwxrwxrwx 1 root root 22 2009-12-17 00:39 K20init-fastcgi -> ../init.d/init-fastcgi
but I need to manually start it after a reboot. Any log I can check for this?
Cheers,
Moses.