Your configuration has no access list for http interface, thus the http
thread won't start ... you will find following message in your log (you
can run monit using -v option as well):
--8<--
Jan 9 23:52:45 unicorn monit[3523]: monit: monit httpd not started
since no connect allowed
--8<--
Monit tries (erroneously) join the non-existing thread on quit ... i
will fix it.
You can fix the problem by setting the ACL for the http thread - you can
use password protection, IP ACL or combination of both, for example:
--8<--
set httpd port 8135 and allow monit:monit
--8<--
Thanks for report :)
Martin
Adam Greene wrote:
Hello,
I installed monit from source on CentOS.
-bash-3.00# uname -a
Linux <node name> 2.6.9-42.0.2.EL.xs148xenU #1 SMP Sun Oct 15 08:31:21
EDT 2006 i686 athlon i386 GNU/Linux
If the config file doesn't contain any monitoring checks, it boots up
just fine. However, if I quit it, I see this:
-bash-3.00# pwd
/etc/monit.d
-bash-3.00# ls
includes monitrc
-bash-3.00# monit
Starting monit daemon with http interface at [*:8135]
-bash-3.00# monit quit
monit daemon with pid [30556] killed
*** glibc detected *** double free or corruption (!prev): 0x090e7448 ***
Aborted
now if I put a basic cron check in the config file, it won't even
startup...it will fail with this:
-bash-3.00# pwd
/etc/monit.d
-bash-3.00# ls
includes monitrc
-bash-3.00# monit
Segmentation fault
I've tried recompiling with:
export MALLOC_CHECK_=0
but no luck. I'm totally stumped! Does anyone have any ideas on how
to proceed?
thanks!
Adam
ps. The config file in question:
set daemon 120
set logfile syslog facility log_daemon
set mailserver 127.0.0.1
set alert address@hidden
set mail-format { from: address@hidden }
set httpd port 8135
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general