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
Monit does NOT get the normal path information that a regular user on
the server would get so you have to be VERY specific in you
configuration files. Some times the best solution is to create a
startup script that you call from monit...
script:
#!/bin/bash
# Get the port number
PORT=$2
# Set
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
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
--
Posted via http://www.ruby-forum.com/.
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 /
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 -p 8007 -a 127.0.0.1 -P
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
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
8 matches
Mail list logo