bind and smtp servers listed as "offline"

Discussion in 'Installation/Configuration' started by tjd, Apr 18, 2007.

  1. tjd

    tjd New Member

    Hi guys

    recently installed ISPConfig on a new rack. Just got the new hostname and changed everything to accommodate that.

    Now bind and SMTP services show up in the control panel as "offline" , but both named and postfix are running, any thoughts?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap
     
  3. tjd

    tjd New Member

    netsat output

    Ok, till. Crikey, you don't go slow do you?

    --[output follows]--

    [root@cl-t023-040cl ~]# -bash: syntax error near unexpected token `('
    [root@cl-t023-040cl ~]# Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
    -bash: Proto: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 *:mysql *:* LIST EN 2155/mysqld
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 *:ndmp *:* LIST EN 3524/perl
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 *:hosts2-ns *:* LIST EN 5546/ispconfig_http
    tcp 0 0 ip-72-55-150-165.sta:domain *:* LIST EN 4579/named
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 ip-72-55-150-166.sta:domain *:* LIST EN 4579/named
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 ip-72-55-150-165.sta:domain *:* LIST EN 4579/named
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 ip-72-55-150-164.sta:domain *:* LIST EN 4579/named
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 ip-72-55-150-163.sta:domain *:* LIST EN 4579/named
    -bash: tcp: command not found
    [root@cl-t023-040cl ~]# tcp 0 0 spacemonsta.com:domain *:* LIST EN 4579/named
    [root@cl-t023-040cl ~]# found - 0 0 roomings.co.uk:http host217-35-1:priority-e-com TIME
    --[output ends]--

    Thanks

    Ted
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the complete output of the command:

    netstat -tap

    the above looks a bit corrupted and does not contain anything about postfix :)

    As far as I can see for bind, your bind server does not listen on localhost. Please post the content of your /etc/hosts file.
     
  5. tjd

    tjd New Member

    correct output

    Sorry till, slapped in wrong bit.
    --[output follows]--
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 2155/mysqld
    tcp 0 0 *:ndmp *:* LISTEN 3524/perl
    tcp 0 0 *:hosts2-ns *:* LISTEN 5546/ispconfig_http
    tcp 0 0 ip-72-55-150-166.sta:domain *:* LISTEN 4579/named
    tcp 0 0 ip-72-55-150-165.sta:domain *:* LISTEN 4579/named
    tcp 0 0 ip-72-55-150-164.sta:domain *:* LISTEN 4579/named
    tcp 0 0 ip-72-55-150-163.sta:domain *:* LISTEN 4579/named
    tcp 0 0 spacemonsta.com:domain *:* LISTEN 4579/named
    tcp 0 0 roomings.co.uk:domain *:* LISTEN 4579/named
    tcp 0 0 cl-t023-040cl.medias:domain *:* LISTEN 4579/named
    tcp 0 0 localhost:domain *:* LISTEN 4579/named
    tcp 0 0 *:smtp *:* LISTEN 5755/master
    tcp 0 0 *:imaps *:* LISTEN 2194/dovecot
    tcp 0 0 *:pop3s *:* LISTEN 2194/dovecot
    tcp 0 0 *:pop3 *:* LISTEN 2194/dovecot
    tcp 0 0 *:imap *:* LISTEN 2194/dovecot
    tcp 0 0 *:http *:* LISTEN 5681/httpd
    tcp 0 0 *:ftp *:* LISTEN 4603/proftpd: (acce
    tcp 0 0 *:ssh *:* LISTEN 2033/sshd
    tcp 0 0 cl-t023-040cl.mediascop:ssh host81-133-105-:fjicl-tep-a ESTABLISHED 4997/sshd: root@not
    tcp 0 2780 cl-t023-040cl.mediascop:ssh host81-133-105-220:amdsched ESTABLISHED 5829/0
    --[output ends]--

    Thanks and apologies

    Ted
     
  6. tjd

    tjd New Member

    hosts output

    --[output follows]--
    ::1 localhost.localdomain localhost
    72.55.140.173 cl-t023-040cl.mediascopeplus.com mediascopeplus.com
    72.55.150.161 roomings.co.uk roomings
    72.55.150.162 spacemonsta.com spacemonsta
    --[output ends]--
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Please add the following line to /etc/hosts:
    Code:
    127.0.0.1   localhost.localdomain localhost
     
  8. tjd

    tjd New Member

    doh!

    Sometimes at three am when mental blindness sets in you really should just go to bed and not bother yr colleagues.

    Thanks, falko and sorry for the bother.
     

Share This Page