[LRUG] Monit fails to stop/start/restart Mongrel
Alex Tomlins
alex at tomlins.org.uk
Fri May 30 04:25:56 PDT 2008
Have you tried putting user and group in your mongrel config as
suggested by Geir...
When I finally got it working, I had the deployment user and group in
the mongrel conf, and the monit start and stop commands as below. (this
was on Solaris btw...)
If that doesn't work, do you want to post your full monit config, and
I'll see if I can see anything else..
Alex
Andrew Stewart wrote:
>
> 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
>
>
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
> !DSPAM:3,483fe2eb68509942852639!
>
>
--
Alex Tomlins
Email/Jabber: alex at tomlins.org.uk
There are two kinds of people in the world: those who finish what they started
More information about the Chat
mailing list