Its looking for that .pid or that stat file...

 

/root/.monit.id

/root/.monit.state

 

For me.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Mark
Beattie
Sent: October-07-09 7:45 PM
To: [email protected]
Subject: [monit] http server could not create a server socket at port 2812
-- No such file or directory

 

Hi,

 

We had been using Monit happily on a Debian box for a long time and could
access the http server on port 2812 no problem. Today we wanted to add a
service to monitor so we modified /etc/monit/monitrc and restarted monit
with "/etc/init.d/monit restart" as usual. Monit is running, but we can no
longer access the http server console.

 

Here's a log snippet:

 

monit[28691]: Starting monit daemon with http interface at [...snip...:2812]


monit[28693]: Starting monit HTTP server at [...snip...:2812] 

monit[28693]: monit HTTP server started 

monit[28693]: Monit started 

monit[28693]: http server: Could not create a server socket at port 2812 --
No such file or directory 

monit[28693]: monit HTTP server not available 

 

To repeat the steps that caused the problem, all we did was edit the config
file and restart monit with the init.d script. Didn't change any other
config files, services, firewalls, etc.

 

Is anyone familiar with the error message "Could not create a server socket
at port 2812 -- No such file or directory"?

 

thanks

 

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to