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 /
>> home/seb/railsproject/cpericard
>> 
>> 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.
>> 
>> Gaspard
> 
> 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
    allow 127.0.0.1

check process mongrel-3003 with pidfile 
/home/seb/railsproject/cpericard/log/mongrel.3003.pid
  start program = "/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 
/home/seb/railsproject/cpericard"
  stop program = "/usr/bin/mongrel_rails stop -P 
/home/seb/railsproject/cpericard/log/mongrel.3003.pid -c 
/home/seb/railsproject/cpericard"
group mongrel

thanks for all your help !
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to