[CentOS] Re: Server closing all the ports after inactivity Could not connect to webserver

Wed Sep 6 05:52:10 UTC 2006
John Summerfied <debian at herakles.homelinux.org>

Ugo Bellavance wrote:
> Anil wrote:
> 
>> Hi All
>> I am running Centos -4.4 final with all the updates My webserver stop 
>> responding after about half an hour od inactivity.I just gets a 
>> timeout message. When I try to refresh the page 3-4 times it start 
>> active again.
>> Infact all the ports on the server are closed  during the inactive 
>> period even though I have ssh,ftp and http enabled on it. When the 
>> server is responding I can see (with a port scan)the ports are open.
>> I tried disabling the firewall(on the centos server) altogether 
>> because the server sits behind another firewall.
>> If I do a restart of the httpd or do any other network related stuff 
>> on the server it opens the ports again.
>> Any help is appreciated
>> Regards
>> Anil
> 
> 
> Looks like a network connexion problem... router, firewall, NIC...


More likely, I think, that the system's closed down to save power (like 
my Apple Powerbook G4 does).

Check BIOS and power-saving options and your logs.



-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

Please do not reply off-list