[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit] Re: Trying to run ferret without success

From: John Dixon
Subject: [monit] Re: Trying to run ferret without success
Date: Mon, 13 Apr 2009 09:41:25 -0400

I don't know if it would have worked in your instance, but I've launched
monit verbose and Interactive.  It spits out better stuff to the screen
that I have seen elsewhere.  It seems like it might put better log
information out there if you add verbose to the init script that starts
it.  Not sure if that helps, but it's what I do.
On Sun, 2009-04-12 at 12:02 -0400, address@hidden

> > monit also strips the environment when
> > executing script - see:
> There's the answer. It turns out the limited environment means that
> the ferret_server script couldn't find the ruby executable. This
> works:
> start program = "/bin/bash -c 'export PATH=/usr/local/bin:$PATH;cd
> /var/www/tm/current && script/ferret_server -e production start'" as
> uid tm and gid tm
> I wish I'd had some error message saying "env: ruby - no such file or
> directory" or something along those lines about 3 hours ago. Idunno
> what's been swallowing it, or what right place I'm not looking in.
> Thanks for your help.
John Dixon | Crayon Interface

20 East 8th Street Suite 200 | Holland, MI 49423

616.396.5372 (office) | 616.706.8074 (mobile) | 616.396.5399 (fax)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]