[LRUG] Monit fails to stop/start/restart Mongrel

Andrew Stewart boss at airbladesoftware.com
Fri May 30 04:20:02 PDT 2008


On 30 May 2008, at 12:09, Alex Tomlins wrote:

> Try using the following as your command:
>
> /usr/bin/env PATH=/usr/local/bin:$PATH mongrel_rails cluster::start - 
> C /etc/mongrel_cluster/photocms.conf --clean --only 8002
>
> I think the problem comes when mongrel_rails tries to spawn mongrel  
> which also needs the path to ruby...  using env as above adds /usr/ 
> local/bin to the path so everything can find it...

That makes perfect sense.  I tried it, but unfortunately it didn't work.

So I wonder if this is a permissions problem instead/as well as a path  
one....

Regards,
Andy

-------
AirBlade Software
http://airbladesoftware.com







More information about the Chat mailing list