Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 14, 2010 7:19 am 
Offline
Junior Member

Joined: Tue Oct 13, 2009 9:47 pm
Posts: 22
Website: http://imknight.net
Location: Singapore / Malaysia
hi all,

i have setup my linode follow the instruction using the spawn-fcgi

http://library.linode.com/web-servers/n ... .10-karmic

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 ?


Top
   
 Post subject:
PostPosted: Wed Apr 14, 2010 11:49 am 
Offline
Senior Newbie

Joined: Fri Apr 09, 2010 1:53 pm
Posts: 17
This is the same as the problem with my system.

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


Top
   
 Post subject:
PostPosted: Thu Apr 15, 2010 4:51 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
No, this doesn't seem right.

Check which name your php processes are running under:
Code:
ps -e | grep php

It may be php-cgi or something similar. Now sudo killall <processname> and start as normal via /etc/init.d/php-fastcgi. If there are no errors, edit the stop and restart cases in the init file to reflect the correct process name.


Top
   
 Post subject:
PostPosted: Fri Apr 16, 2010 12:17 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
paulengstler wrote:
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group