PDA

View Full Version : bind and smtp servers listed as "offline"


tjd
18th April 2007, 14:21
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?

till
18th April 2007, 14:39
Please post the output of:

netstat -tap

tjd
18th April 2007, 14:52
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

till
18th April 2007, 14:57
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.

tjd
18th April 2007, 15:00
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

tjd
18th April 2007, 15:06
--[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]--

falko
19th April 2007, 15:07
Please add the following line to /etc/hosts:
127.0.0.1 localhost.localdomain localhost

tjd
23rd April 2007, 04:09
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.