|Subject:||RE: Problem starting my monit|
|Date:||Mon, 14 May 2012 17:57:35 +0800|
Sorry for some of the confirmation. Here is a valid one I need to get your view I was testing monit quit. Then I tried monit validate is still working. Then I run this service monit status monit dead but subsys locked. Why even after quit the service is still running? I google it they ask to delete the file from /var/monit folder. I did that too. So then I followed this link http://mmonit.com/monit/documentation/monit.html#init_support . I added this at the end of the file /etc/innitab # Run Monit in standard run-levels mo:2345:respawn:/usr/local/bin/monit -Ic /etc/monitrc. Then I telinit q and kill -1 1. So then only I start my monit is that correct? So when I call monit quit it do quit I think that it should not be quiting right?
Subject: Re: Problem starting my monit
Date: Mon, 14 May 2012 10:24:21 +0200
you can start monit via init to make it respawn if it will die:
On RHEL you can also use Upstart:
To start monit you can either call "/etc/init.d/monit start" or just "monit" in the command line.
PLEASE: read the basics of linux administration - every utility (rpm, chkconfig, monit) has manual page, that should be your first place where to look for the informations. Spamming the mailing list with very basic monit-unrelated questions and asking for confirmations of every simple step is not good. Read the rpm manual page (you'll learn how to verify the rpm content + locate the rpm package to which the file belongs), chkconfig manual page (you'll learn how to register services and verify which are allowed to run), etc.
There are many articles which describe initial monit setup, for example this:
On May 14, 2012, at 10:10 AM, sukbir singh wrote:
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
|[Prev in Thread]||Current Thread||[Next in Thread]|