power failure caused ISPConfig to start up with a weird problem

Discussion in 'Installation/Configuration' started by FOBioPatel, Aug 18, 2008.

  1. FOBioPatel

    FOBioPatel New Member

    My services show the following:

    Code:
    Web-Server:  	Offline
    FTP-Server: 	Offline
    SMTP-Server: 	Offline
    POP3-Server: 	Offline
    BIND-Server: 	Offline
    mySQL-Server: 	Online
    
    The web server is working, despite showing that 'offline' status. I assume everything else is working as well, but my webmail has stopped working. Squirrelmail complains:

    http://debian.responsiveweb.com:81/squirrelmail/index.php

    Error connecting to IMAP server: localhost.
    110 : Connection timed out

    Please advise...
     
  2. FOBioPatel

    FOBioPatel New Member

    and before someone asks me for a netsat -tap output:

    Code:
    debian:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:mysql                 *:*                     LISTEN     2469/mysqld
    tcp        0      0 *:sunrpc                *:*                     LISTEN     2008/portmap
    tcp        0      0 *:81                    *:*                     LISTEN     3733/ispconfig_http
    tcp        0      0 *:auth                  *:*                     LISTEN     2927/inetd
    tcp        0      0 *:ftp                   *:*                     LISTEN     5365/proftpd: (acce
    tcp        0      0 216.128.67.248:domain   *:*                     LISTEN     2296/named
    tcp        0      0 debian.responsiv:domain *:*                     LISTEN     2296/named
    tcp        0      0 *:smtp                  *:*                     LISTEN     4057/master
    tcp        0      1 debian.responsive:59001 debian.responsivew:pop3 SYN_SENT   5722/perl
    tcp        0      1 debian.responsive:59002 debian.responsivew:pop3 SYN_SENT   4890/perl
    tcp6       0      0 *:imaps                 *:*                     LISTEN     2668/couriertcpd
    tcp6       0      0 *:pop3s                 *:*                     LISTEN     2699/couriertcpd
    tcp6       0      0 *:pop3                  *:*                     LISTEN     2679/couriertcpd
    tcp6       0      0 *:imap2                 *:*                     LISTEN     2648/couriertcpd
    tcp6       0      0 *:www                   *:*                     LISTEN     3959/apache2
    tcp6       0      0 *:ssh                   *:*                     LISTEN     3058/sshd
    tcp6       0      0 *:smtp                  *:*                     LISTEN     4057/master
    tcp6       0      0 *:https                 *:*                     LISTEN     3959/apache2
    tcp6       0      0 debian.responsivewe:ssh ::ffff:63.116.4.1:21817 ESTABLISHED6194/0
    tcp6       0      0 debian.responsivewe:www 66-90-205-42.dyn.:33438 ESTABLISHED3969/apache2
    tcp6       0      0 debian.responsivewe:www node-8545.tor.pppo:3913 ESTABLISHED4526/apache2
    tcp6       0      0 debian.responsivewe:www node-8545.tor.pppo:1381 ESTABLISHED4541/apache2
    tcp6       0      0 debian.responsivewe:ssh ::ffff:63.116.4.1:21617 TIME_WAIT  -
    tcp6       0      0 debian.responsivewe:www host54.the-dma.or:42616 ESTABLISHED4525/apache2
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your logs?
     
  4. FOBioPatel

    FOBioPatel New Member

    what is the path of the logfile you need to see? I am not sure what to look for...

    I can't find any relevant errors in the apache error.log, or in the mail.err.0 logfile under /var/log/apache2 and /var/log

    apache's error.log has many lines which read as follows:
    Code:
    [Tue Aug 19 09:24:41 2008] [error] an unknown filter was not added: PHP
    
    This line appears about 2 to 3 times every second, which is troubling... and occassionally I see the following:

    Code:
    [Tue Aug 19 08:03:03 2008] [error] an unknown filter was not added: PHP
    [Tue Aug 19 08:03:03 2008] [error] an unknown filter was not added: PHP
    [Tue Aug 19 08:03:04 2008] [warn] (101)Network is unreachable: connect to listener on [::]:443
    [Tue Aug 19 08:03:05 2008] [warn] (101)Network is unreachable: connect to listener on [::]:443
    [Tue Aug 19 08:03:06 2008] [warn] (101)Network is unreachable: connect to listener on [::]:443
     
    Last edited: Aug 19, 2008
  5. FOBioPatel

    FOBioPatel New Member

    I am doing some more Google-ing and found the following:

    Code:
    debian:~# nmap -sV localhost
    
    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-19 09:34 EDT
    Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
    Nmap finished: 1 IP address (0 hosts up) scanned in 2.124 seconds
    debian:~# nmap -sV localhost
    
    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-19 09:34 EDT
    Stats: 0:00:00 elapsed; 0 hosts completed (0 up), 0 undergoing Host Discovery
    Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
    Nmap finished: 1 IP address (0 hosts up) scanned in 2.053 seconds
    debian:~# nmap -sV debian.responsiveweb.com
    
    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-19 09:35 EDT
    Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
    Nmap finished: 1 IP address (0 hosts up) scanned in 0.245 seconds
    debian:~# nmap -sV 216.128.68.247
    
    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-19 09:35 EDT
    Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
    Nmap finished: 1 IP address (0 hosts up) scanned in 2.070 seconds
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ifconfig
    ?

    Can you try to restart the network on the command line? Do you get any errors then?
     
  7. FOBioPatel

    FOBioPatel New Member

    ifconfig output:

    Code:
    debian:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0C:29:4F:05:4D  
              inet addr:216.128.67.247  Bcast:216.128.67.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:29ff:fe4f:54d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2304183 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1008651 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1073417732 (1023.6 MiB)  TX bytes:970188583 (925.2 MiB)
              Base address:0x1070 Memory:f4820000-f4840000 
    
    eth0:0    Link encap:Ethernet  HWaddr 00:0C:29:4F:05:4D  
              inet addr:216.128.67.248  Bcast:216.128.67.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Base address:0x1070 Memory:f4820000-f4840000 
    
    /etc/init.d/networking restart

    Code:
    debian:~# /etc/init.d/networking restart
    Reconfiguring network interfaces...SIOCDELRT: No such process
    done.
    
    The GUI in Debian shows that I do not have network access, which is odd - I am online...

    [​IMG]

    I tried to PING localhost and got impatient:

    Code:
    debian:~# ping localhost
    PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
    
    --- localhost.localdomain ping statistics ---
    151 packets transmitted, 0 received, 100% packet loss, time 150008ms
    
    I tried to PING the server using its hostname and IP:

    Code:
    debian:~# ping 216.128.67.247
    PING 216.128.67.247 (216.128.67.247) 56(84) bytes of data.
    
    --- 216.128.67.247 ping statistics ---
    4 packets transmitted, 0 received, 100% packet loss, time 2999ms
    
    debian:~# ping debian.responsiveweb.com
    PING debian.responsiveweb.com (216.128.67.247) 56(84) bytes of data.
    
    --- debian.responsiveweb.com ping statistics ---
    7 packets transmitted, 0 received, 100% packet loss, time 6000ms
    
    I tried to ping a website I am running in ISPConfig (which is up, and working just fine, despite the ISPConfig webserver showing that it is 'offline')

    Code:
    debian:~# ping www.responsiveweb.com
    PING www.responsiveweb.com (216.128.67.247) 56(84) bytes of data.
    
    --- www.responsiveweb.com ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 4000ms
    
    And then of course; I had to PING google.com

    Code:
    debian:~# ping www.google.com
    PING google.navigation.opendns.com (208.67.217.230) 56(84) bytes of data.
    64 bytes from google.navigation.opendns.com (208.67.217.230): icmp_seq=1 ttl=56 time=1.37 ms
    64 bytes from google.navigation.opendns.com (208.67.217.230): icmp_seq=2 ttl=56 time=1.61 ms
    
    --- google.navigation.opendns.com ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1003ms
    rtt min/avg/max/mdev = 1.377/1.496/1.616/0.125 ms
    
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Maybe it's a firewall problem. What's the output of
    Code:
    iptables -L
    ?
     
  9. FOBioPatel

    FOBioPatel New Member

    Code:
    debian:~# iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Looks good. Maybe it's a hardware problem (RAM maybe)? You can check RAM with memtest.
     
  11. FOBioPatel

    FOBioPatel New Member

    /etc/init.d/networking restart

    and my problem solved itself. I swear I did that 100 times before and even rebooted the server; but this time it did the trick.

    Thanks again!
     

Share This Page