[Top][All Lists]

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

Cannot add M/Monit as daemon

From: Sorin Srbu
Subject: Cannot add M/Monit as daemon
Date: Tue, 27 Jun 2017 08:04:01 +0000

Hello all,

I'm trying to get M/Monit to automatically start at boot on a CentOS
Assuming this is easiest done by demonizing M/Monit I tried and got the
below messages.

address@hidden /etc/init.d/ [0]# chkconfig mmonit_init on
service mmonit_init does not support chkconfig

address@hidden /etc/init.d/ [0]# service mmonit_init restart
Restarting mmonit: mmonitcat: /var/run/ No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or
kill -l [sigspec]

 not running.
address@hidden /etc/init.d/ [0]#

address@hidden /var/run/ [0]# whereis
mmonit: /usr/local/mmonit
address@hidden /var/run/ [0]#

address@hidden /usr/local/mmonit/ [0]# ls -al
total 16
drwxr-xr-x   4 root root 4096 Apr 19 07:31 ./
drwxr-xr-x. 13 root root 4096 Apr 19 07:29 ../
drwxr-xr-x  10 root root 4096 Apr 19 07:29 mmonit-3.7.0/
drwxr-xr-x  10 root root 4096 Apr 18 23:07 mmonit-3.7.1/
address@hidden /usr/local/mmonit/ [0]#

I don't get this...

Now, the weird thing is that M/Monit _is_ running.
I just can't control it via the OS's own daemon system.

Is there any recommended practice to have M/Monit autostart on boot?


# Sorin Srbu, Sysadmin
# Uppsala University
# Dept of Medicinal Chemistry
# Div of Org Pharm Chem
# Box 574
# SE-75123 Uppsala
# Sweden        
# Phone: +46 (0)18-4714482
# Visit: BMC, Husargatan 3, D5:512b
# Web:
# O<  ASCII ribbon campaign - Against html E-mail 
# This message was not sent from an iProduct!
# Please consider the environment before printing this email.
# Join the campaign at
# MotD follows:
People are always available for work in the past tense.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

reply via email to

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