SMTP-server offline after /etc/hosts change

Discussion in 'Installation/Configuration' started by dlucy, Jul 16, 2011.

  1. dlucy

    dlucy New Member

    I've got a relatively-new ISPConfig 3 install using "Perfect Server CentOS with ISPConfig" that was working fine. I upgraded to PHP 5.3, but everything else is stock.

    Just today I updated my /etc/hosts file from

    Code:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    209.160.65.42   ns4.adlinea.net
    209.160.20.169  ns5.adlinea.net
    209.160.71.26   ns6.adlinea.net
    209.160.71.33   ns7.adlinea.net
    ::1             localhost6.localdomain6 localhost6
    to

    Code:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    209.160.65.42   ns4.adlinea.net ns4 sls-gc15p7.dca2.superbservers.com
    209.160.20.169  sup3_169.adlinea.net sup3_169
    209.160.71.26   sup3_26.adlinea.net sup3_26
    209.160.71.33   new_superb.adlinea.net new_superb
    ::1             localhost6.localdomain6 localhost6
    And I did a full-system update

    Code:
    yum update
    And now the Monitor page in ISPConfig shows a warning and it claims

    Code:
    SMTP-server: offline
    I've checked to make sure postfix is still running

    Code:
    [root@sls-gc15p7 log]# /etc/init.d/postfix status
    master (pid 2158) is running...
    and rebooted the machine, too.

    None of this works. ISPconfig's Monitor page still show SMTP-server offline.

    What should I check next?

    Output of netstat -tap

    Code:
    [root@sls-gc15p7 log]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
    tcp        0      0 *:imaps                     *:*                         LISTEN      2078/dovecot        
    tcp        0      0 *:pop3s                     *:*                         LISTEN      2078/dovecot        
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      2101/amavisd (maste 
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      2158/master         
    tcp        0      0 *:mysql                     *:*                         LISTEN      2049/mysqld         
    tcp        0      0 *:submission                *:*                         LISTEN      2158/master         
    tcp        0      0 *:pop3                      *:*                         LISTEN      2078/dovecot        
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      1961/clamd          
    tcp        0      0 new_superb.adlinea.net:5711 *:*                         LISTEN      3088/pure-ftpd (IDL 
    tcp        0      0 *:imap                      *:*                         LISTEN      2078/dovecot        
    tcp        0      0 *:ftp                       *:*                         LISTEN      2194/pure-ftpd (SER 
    tcp        0      0 *:smtp                      *:*                         LISTEN      2158/master         
    tcp        0      0 localhost.localdomain:57698 localhost.localdomain:mysql ESTABLISHED 2172/amavisd (ch2-a 
    tcp        0      0 localhost.localdomain:41856 localhost.localdomain:mysql ESTABLISHED 2173/amavisd (ch1-a 
    tcp        0      0 sup3_26.adlinea.net:imap    bda-74-82-81-208.bis6:33358 ESTABLISHED 2425/imap           
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:57698 ESTABLISHED 2049/mysqld         
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:41856 ESTABLISHED 2049/mysqld         
    tcp       70      0 localhost.localdomain:45607 localhost.localdomain:10025 CLOSE_WAIT  2173/amavisd (ch1-a 
    tcp        0      0 ns4.adlinea.net:37350       wordpress.com:http          TIME_WAIT   -                   
    tcp        0      0 ns4.adlinea.net:37351       wordpress.com:http          TIME_WAIT   -                   
    tcp        0      0 new_superb.adlinea.net:ftp  pool-96-248-6-85.rcmd:52110 ESTABLISHED 3088/pure-ftpd (IDL 
    tcp        0      0 *:imaps                     *:*                         LISTEN      2078/dovecot        
    tcp        0      0 *:pop3s                     *:*                         LISTEN      2078/dovecot        
    tcp        0      0 *:pop3                      *:*                         LISTEN      2078/dovecot        
    tcp        0      0 *:imap                      *:*                         LISTEN      2078/dovecot        
    tcp        0      0 *:webcache                  *:*                         LISTEN      2178/httpd          
    tcp        0      0 *:http                      *:*                         LISTEN      2178/httpd          
    tcp        0      0 *:tproxy                    *:*                         LISTEN      2178/httpd          
    tcp        0      0 *:ftp                       *:*                         LISTEN      2194/pure-ftpd (SER 
    tcp        0      0 *:ssh                       *:*                         LISTEN      1947/sshd           
    tcp        0      0 *:https                     *:*                         LISTEN      2178/httpd          
    tcp        0   3312 ns4.adlinea.net:ssh         pool-96-248-6-85.rcmd:49766 ESTABLISHED 2387/0              
    tcp        0      0 new_superb.adlinea.net:http msnbot-207-46-195-107:63002 TIME_WAIT   -                   
    tcp        0      0 sup3_26.adlinea.net:http    b3091083.crawl.yahoo.:52701 TIME_WAIT   -                   
    tcp        0      0 new_superb.adlinea.net:http b3091020.crawl.yahoo.:60410 TIME_WAIT   -                   
    tcp        0   4281 new_superb.adlinea.net:http ::ffff:119.63.196.39:65418  FIN_WAIT1   -                   
     
  2. dlucy

    dlucy New Member

    Obsolete

    I am confusing errors and config from two nearly-identical servers. Please ignore this particular thread.
     
: smtp

Share This Page