Monitor shows services offline though they are actually online

Discussion in 'Installation/Configuration' started by syadnom, May 31, 2012.

  1. syadnom

    syadnom New Member

    My ISPConfig3 monitor page shows that my SMTP, POP3, IMAP, and mySQL server are all offline, but they are in fact online and working. Any ideas on where to start looking?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that all services are listening on localhost on their default ports.
     
  3. celocore

    celocore New Member

    I've the same problem, but with pure-ftp and mysql service. They are running and the monitor show they are offline. Both are running at 0.0.0.0 with their default port. :confused:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap | grep ftp

    and

    netstat -tap | grep mysql
     
  5. celocore

    celocore New Member

    Code:
    netstat -tap | grep ftp
    
    tcp        0      0 *:ftp                   *:*                     LISTEN      18960/pure-ftpd (SE
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      18960/pure-ftpd (SE
    
    netstat -tap | grep mysql
    
    tcp        0      0 *:mysql                 *:*                     LISTEN      29204/mysqld
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats ok. Please post the output of:

    grep localhost /etc/hosts
     
  7. celocore

    celocore New Member

    Ah... that's it!

    The line "127.0.0.1 localhost.localdomain localhost" was missing in the hosts file.

    Thx for your help Till
     

Share This Page