Frioffol Friofool wrote:
Gaspard Bucher wrote:
You misunderstood me. Try running your command * in the shell *
to test it first. You also get any error messages. So you should type:
# env -i /usr/bin/mongrel_rails start -d -e development -p 3003 -a
127.0.0.1 -P /home/seb/railsproject/cpericard/log/mongrel.3003.pid -c /
and see how it works.
Setting "env -i" in the shell reproduces the environment used in
monit, so it lets you test your command as if it was run by monit.
sorry ! and thanks for your help gaspard
i tried this command and mongrel is starting.
now it's working !
i didn't change anything.
my definitive conf file is :
set daemon 60
set httpd port 2812 and
use address 127.0.0.1
check process mongrel-3003 with pidfile
start program = "/usr/bin/mongrel_rails start -d -e development -p
3003 -a 127.0.0.1 -P
stop program = "/usr/bin/mongrel_rails stop -P
thanks for all your help !