[Top][All Lists]

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

Re: not able to access httpd on port 2812

From: Rogelio
Subject: Re: not able to access httpd on port 2812
Date: Sat, 19 Mar 2011 15:51:10 -0300

I had forgotten to put "allow login:password" in the
"/etc/monit.d/monitrc" file.


Problem solved!

On Fri, Mar 18, 2011 at 8:23 PM, Rogelio <address@hidden> wrote:
> Any suggestions on how I might fix this port issue on Monit?
> I am trying to get my CentOS box to run monit, and using only a very basic 
> /etc/monit.conf config, I cannot get it serve the web page on my box
> e.g. from browser, I can't hit
> The service start and stops fine (e.g. "/etc/init.d/monit start"), and I have 
> it set to listen to port 2812 in the "/etc/monit.conf file" (so far, kept the 
> default)
> e.g. in "/etc/monit.d/monitrc" file
> set daemon  60
> set logfile syslog facility log_daemon
> set mailserver localhost
> set mail-format { from: address@hidden }
> set alert address@hidden
> set httpd port 2812
> check process sshd with pidfile /var/run/
>   start program  "/etc/init.d/sshd start"
>   stop program  "/etc/init.d/sshd stop"
>   if failed port 22 protocol ssh then restart
>   if 5 restarts within 5 cycles then timeout
> (I enabled the 2812 port using CentOS's "system-config-securitylevel" 
> command, which added the right IPtables entries)

Also on LinkedIn?  Feel free to connect if you too are an open
networker: address@hidden

reply via email to

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