|
From: | Sergio J. |
Subject: | Re: Monit doesn't start |
Date: | Thu, 21 Oct 2010 13:08:56 +0200 |
Hi Sergio,
I have made the change as you show below and now i'm getting this:
ldap1:/etc/monit# /etc/init.d/monit syntax
/etc/monit/monitrc:96: Error: syntax error '@'
I think my problem isn't with "set httpd" option, because i have put it off, and i still getting the same error message:
BRST Oct 21 09:02:14] info : Starting monit daemon
[BRST Oct 21 09:02:14] info : Monit started
[BRST Oct 21 09:02:14] error : monit: unable to read data from the file--On Thu, Oct 21, 2010 at 8:51 AM, Sergio J. <address@hidden> wrote:Add this in your monit.conf
set httpd port 2812 and
use address localhost # only accept connection from localhost
allow localhost # allow localhost to connect to the server and
allow admin:monit # require user 'admin' with password 'monit'
allow @monit # allow users of group 'monit' to connect (rw)
allow @users readonly # allow users of group 'users' to connect readonly2010/10/21 Amarildo Magalhães <address@hidden>
--Dear Sirs,
We have been using monit for a long time and everthing was working well, but today when we get into our server, we saw that monit was stopped.
We did not make any changes, it was working fine and simply stopped.
We have checked the file syntax:
ldap1:/var/run# /etc/init.d/monit syntax
Control file syntax OK
We have checked permissions, disk space and everthing is ok too.
This is what we get back from the log file:
[BRST Oct 21 08:35:38] info : Starting monit daemon with http interface at [*:2812]
[BRST Oct 21 08:35:38] info : Starting monit HTTP server at [*:2812]
[BRST Oct 21 08:35:38] info : monit HTTP server started
[BRST Oct 21 08:35:38] info : Monit started
[BRST Oct 21 08:35:39] error : monit: unable to read data from the file
So after that error monit: unable to read data from the file, it doesn't start.
Have someone knows something about this error? We have decided to report to the general list, because we made a lot of searchs at Google and didn't find nothing.
Regards,
--
Amarildo Magalhães
Analista de Tecnologia da Informação
Instituto Federal de Minas Gerais - Campus Ouro Preto
http://www.ifmg.edu.br
http://www.cefetop.edu.br
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
Atenciosamente,
Amarildo Magalhães
Analista de Tecnologia da Informação
Instituto Federal de Minas Gerais - Campus Ouro Preto
http://www.ifmg.edu.br
http://www.cefetop.edu.br
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |