httpd driving me crazy.

Rick Stevens rstevens at vitalstream.com
Wed Jan 31 17:45:34 UTC 2007


On Wed, 2007-01-31 at 11:17 -0600, Aaron Konstam wrote:
> On Tue, 2007-01-30 at 22:39 +0000, Andy Green wrote:
> > Aaron Konstam wrote:
> > 
> > > Starting httpd: (98)Address already in use: make_sock: could not bind to
> > > address [::]:80
> > > (98)Address already in use: make_sock: could not bind to address
> > 
> > > Which shows nothing Listening on port 80. One again FC6 has done me in.
> > > Any explanations? 
> > 
> > It's not FC6's fault :-)
> > 
> > The behavior is to do with a TCP connection that was made to the server 
> > while it was alive, that hangs around for some time, 60 seconds or 
> > whatever after the connection was closed on one side... that is what it 
> > is meant to do.
> > 
> > If you amend your netstat to just -n and grep on :80, you should see the 
> > client connection shown in TIME_WAIT.  After the timeout completes, you 
> > will be able to start Apache again.
> > 
> > -Andy
> > 
> That is an interesting explanation but this error occurred the first
> time I tried to start Apache so the connection was never opened in the
> first place. netstat -n |grep :80
> returns nothing.

Try "netstat -anp".

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      On a scale of 1 to 10 I'd say...  oh, somewhere in there.     -
----------------------------------------------------------------------




More information about the fedora-list mailing list