as currently "status" says it's down
but "start" does not really start it:
# service monit status
daemon monit dead but subsys (monit) locked
Status not available -- the monit daemon is not running
# service monit start
monit service is already running.
start() {
# Check if the service is already running?
- if [ -f /var/lock/subsys/monit ]; then
+ if [ -f /var/lock/subsys/monit ] && status monit >/dev/null; then
msg_already_running monit
return
fi
Summary(pl.UTF-8): Narzędzie do monitorowania procesów i ich restartowania
Name: monit
Version: 5.9
-Release: 3
+Release: 4
License: AGPL v3
Group: Daemons
Source0: http://mmonit.com/monit/dist/%{name}-%{version}.tar.gz