[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't start service and log doesn't help

From: Rubén Dávila
Subject: Can't start service and log doesn't help
Date: Tue, 21 Sep 2010 11:35:58 -0500

Hi folks, I've the following configuration for Unicorn(Rails application server):

check process
  with pidfile /var/www/vhosts/
  start program = "/etc/init.d/unicorn start /etc/unicorn/"
  stop program = "/etc/init.d/unicorn stop /etc/unicorn/"
  if mem is greater than 300.0 MB for 1 cycles then restart # eating up memory?
  if cpu is greater than 50% for 2 cycles then alert # send an email to admin
  if cpu is greater than 80% for 3 cycles then restart # hung process?


Monit can stop the service but fail for start it, here is the log:

[CDT Sep 21 10:45:24] debug    : restart service '' on user request
[CDT Sep 21 10:45:24] info     : monit daemon at 5482 awakened
[CDT Sep 21 10:45:24] info     : Awakened by User defined signal 1
[CDT Sep 21 10:45:24] info     : '' trying to restart
[CDT Sep 21 10:45:24] info     : '' stop: /etc/init.d/unicorn
[CDT Sep 21 10:45:26] info     : '' start: /etc/init.d/unicorn
[CDT Sep 21 10:45:56] error    : '' failed to start

I can't find the reason for this problem, although the start program command "/etc/init.d/unicorn start /etc/unicorn/" starts the service fine, please any idea for this issue?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]