|
From: | Francois |
Subject: | Re: [monit] monit on freebsd |
Date: | Fri, 14 Mar 2008 18:24:49 -0700 |
The hosts file on all my freebsd systems looks like this:::1 localhost127.0.0.1 localhostI just tried removing the first entry. After doing so I still cannot connect to the relevant port on 127.0.0.1. However, if I then stopped and restarted the ferret server I was then able to connect to the relevant port on 127.0.0.1.So it seems that if that ::1 entry is present in /etc/hosts the ferret server will somehow bind to that instead of 127.0.0.1But before I permanently remove that ::1 entry I'll have to see if I can learn more about it to ensure that removing it doesn't cause any unwanted side effects.- cheersFrancoisOn Fri, Mar 14, 2008 at 4:09 PM, Jan-Henrik Haukeland <address@hidden> wrote:
Open /etc/hosts and add this line.127.0.0.1 localhostOn 14. mars. 2008, at 23.50, Francois wrote:--I'm trying to monitor a ferret server on my freebsd 6.3 machine. It runs on port 9011 so I have a line like this as part of my monit configuration:if failed port 9011 then alert
unfortunately monit always reports a failure.Some facts:- Monit is running on the the same machine as the ferret server- from the command line of the server I can do the following:address@hidden /var/tmp]# telnet localhost 9011Trying ::1...Connected to localhost.choopa.com.Escape character is '^]'.And as can be seen I get connected.
- However, if I try to connect via 127.0.0.1 instead of using localhost I get an error:
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |