Hi all!
I'm new to this server administration, and I got myself Deploying
Rails Apps by Prag Prog to help me out. I've learned a great lot by
trial and error and some pulling of hair.
My problem now is I get inconsistent results. This configuration (as
far as I know), used to work. But...
Now, I can't seem to find a way to debug what's wrong. When I start
backgroundrb via command line, it starts fine. When I make monit do
it, I get an "Execution failed".
If I start it from the command line, and monit still has the
backgroundrb "Execution failed" status but still monitoring it, the
status becomes "running" (since I started it from command line)
However, when I stop and start from monit, or simply restart, I get
the execution failed again.
Note: I start it with the exact same code (I copy and paste the
command from my monit) except that I add "sudo" at the beginning.
Why would it fail if I start from monit but work if I start from the
command line?
Here are my config scripts:
http://pastie.org/276608
Thanks, and hoping for a solution,
--
Ramon Tayag
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general