[Rails] Re: monit newbie problem

2008-10-07 Thread Frioffol Friofool
Daniel Bush wrote: Frioffol Friofool wrote: Hi, I tried to make monit up on my server to manage ruby on rails application. I have some problem when i try to start monit : Hi, What do you get when you run: # /usr/local/bin/monit -t -c /usr/local/src/monitrc Daniel [EMAIL

[Rails] Re: monit newbie problem

2008-10-07 Thread Frioffol Friofool
Gaspard Bucher wrote: I'm not sure you need to include the '/usr/bin/ruby' in your start program. The following setup works for me: check process mongrel-8007 with pidfile /var/zena/current/log/mongrel. 8007.pid start program = /var/lib/gems/1.8/bin/mongrel_rails start -d -e production

[Rails] monit newbie problem

2008-10-07 Thread Frioffol Friofool
Hi, I tried to make monit up on my server to manage ruby on rails application. I have some problem when i try to start monit : [EMAIL PROTECTED] seb]# /usr/local/bin/monit start all 'mongrel_rails_3003' start: /usr/bin/ruby 'mongrel_rails_3003' failed to start [EMAIL PROTECTED] seb]# monit

[Rails] Re: monit newbie problem

2008-10-07 Thread Frioffol Friofool
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

[Rails] Re: monit newbie problem

2008-10-07 Thread Frioffol Friofool
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