![]() |
Server monitor incorrect reporting
I have a new ISPonfig 3.0.4 setup on a debian wheezy system that I am working through.
However under Monitor --> Server State in the ISPConfig3 screen it shows a problem or two.... clicking through it shows this: Web-Server: Offline FTP-Server: Online SMTP-Server: Offline POP3-Server: Offline IMAP-Server: Offline DNS-Server: Online mySQL-Server: Offline Yes all these services are installed and yes they are actually all working - kinda obvious the web and mysql ones are else I wouldn't even get to the ISPConfig web panel.... Looking at .../lib/classes/monitor_tools.inc.php - which is where I think these things are derived, it appears all the monitor is doing is checking the port of each service to see if it's up. So why is it not working on some of these services? Any ideas? This is debian wheezy btw, but checking ports, that shouldn't make a difference. |
What's the output of
Code:
netstat -tap |
Quote:
Code:
Active Internet connections (servers and established) |
Ah ha!
Found it myself by following the php code and doing manual tests. Seems Wheezy likes to add ::1 localhost for ipv6 configuration in /etc/hosts and this is messing with the checkTcp as it's trying on ipv6 instead of ipv4. Got rid of the ipv6 localhost leaving only the ipv4 localhost in /etc/hosts and now all the services are showing up just fine. Thanks anyway Falko. |
| All times are GMT +2. The time now is 04:59. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.