unable to restart spawn fcgi
i have setup my linode follow the instruction using the spawn-fcgi
now my node can serve php without problem, but i m unable to restart the fastcgi,when i try to initial /etc/init.d/php-fastcgi restart, i will be getting
php: no process found
spawn-fcgi: bind failed: Address already in use
can any one advice anything i need to fix ?
3 Replies
The "problem" occures since the instances are running as a daemon, which means that they are not reachable for the command "kill" by the root.
If you start them manually you will see that the instances are listed in "ps x" and you are even able to kill them.
Fixing this is only possible by restarting your server - I think
Paul
Check which name your php processes are running under:
ps -e | grep php
It may be php-cgi or something similar. Now sudo killall
@paulengstler:
The "problem" occures since the instances are running as a daemon, which means that they are not reachable for the command "kill" by the root.
That makes no sense whatsoever, root can kill whatever it wants to.