Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th August 2008, 20:45
FOBioPatel FOBioPatel is offline
Junior Member
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Question power failure caused ISPConfig to start up with a weird problem

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/s...mail/index.php

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

Please advise...
Reply With Quote
Sponsored Links
  #2  
Old 18th August 2008, 22:18
FOBioPatel FOBioPatel is offline
Junior Member
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

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
Reply With Quote
  #3  
Old 19th August 2008, 14:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Are there any errors in your logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 19th August 2008, 15:25
FOBioPatel FOBioPatel is offline
Junior Member
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 by FOBioPatel; 19th August 2008 at 15:30.
Reply With Quote
  #5  
Old 19th August 2008, 15:37
FOBioPatel FOBioPatel is offline
Junior Member
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 20th August 2008, 14:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
ifconfig
?

Can you try to restart the network on the command line? Do you get any errors then?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 20th August 2008, 14:49
FOBioPatel FOBioPatel is offline
Junior Member
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...



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
Reply With Quote
  #8  
Old 21st August 2008, 19:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Maybe it's a firewall problem. What's the output of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 21st August 2008, 19:54
FOBioPatel FOBioPatel is offline
Junior Member
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #10  
Old 22nd August 2008, 13:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Looks good. Maybe it's a hardware problem (RAM maybe)? You can check RAM with memtest.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig Virtual Hosts + Perfect setup Problem ? orasis Installation/Configuration 5 16th March 2007 10:46
email/ftp problem after moving ispconfig mystix Installation/Configuration 3 14th September 2006 19:41
Weird problem when sending email from a PHP form. edge Installation/Configuration 5 5th September 2006 16:57
ISPConfig not starting on power up matto1376 General 1 6th August 2006 13:51
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 16:37


All times are GMT +2. The time now is 11:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.