FW: Can't bind to port 80

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: PatrickRhodesPatrick.Rhodes@asu.edu
Date:  
Subject: FW: Can't bind to port 80
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF849C.F9CBD334
Content-Type: text/plain;
    charset="iso-8859-1"


Thanks for all the help! We had the http line not commented out in the
inetd.conf file. Works fine now!

Patrick


-----Original Message-----
From: Barney Anda [mailto:barney@freewill.tzo.com]
Sent: Wednesday, March 01, 2000 6:30 PM
To: Patrick Rhodes
Subject: RE: Can't bind to port 80


Something loaded from inetd is binding to port 80 instead.  Look in
/etc/inetd.conf for ideas.    


Barney Anda ()
http://freewill.tzo.com/~barney

On Wed, 1 Mar 2000, Patrick Rhodes wrote:

> Well, we have found a solution - sort of.
>
> If you start the httpd FIRST, then start the INET daemon second, then

it'll
> work correctly. Do it in reverse order, and you can't bind to port 80

with
> the httpd daemon. Any ideas why?
>
> and YES, we only have ONE "Port 80" directive. :-)
>
> Patrick
>
>
> -----Original Message-----
> From: D. Taylor [mailto:dtaylor@www.dssolutions.com]
> Sent: Wednesday, March 01, 2000 5:42 PM
> To: 'PLUG'
> Subject: Re: Can't bind to port 80
>
>
>
> netstat
> lsof
>
> Have you touched apache.conf? You do have just ONE "Port 80"
> and ONE "Listen 80" directive, right? Have you been playing
> with virtual hosts again?
>
>
> D
>
> On Wed, 1 Mar 2000, Patrick Rhodes wrote:
>
> > Date: Wed, 01 Mar 2000 16:34:16 -0700
> > From: Patrick Rhodes <>
> > Reply-To:
> > To: 'PLUG' <>
> > Subject: Can't bind to port 80
> >
> > Our Apache server has been running for months on a RedHat 6.0 Linux

server
> > (on port 80). Today, it seemed to have crashed (still investigating

why).
> > Now we can't get it to come back up on port 80, but it'll work just fine
> on
> > port 81. The logs say it can't bind to port 80.
> >
> > 2 things:
> > 1) Is there a way to see what ports are available and/or being used?
> >
> > 2) Any suggestions on how to fix this?
> >
> > Thanks for any and all help - we've been beating our brains trying to

fix
> > it. We also tried upgrading to RedHat 6.1, so now we are on Apache

1.3.9,
> > but the same problem is there. We have rebuilt the binary a couple of
> > times, rebooted the server, stop and started various daemons countless
> times
> > to no avail.
> >
> > If you have apache set to port 80 in it's .conf file, when you execute
> httpd
> > it'll start and stop right away - that's when you look in the logs and

see
> > that it has the binding problem.
> >
> > Patrick
> >
>
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


------_=_NextPart_001_01BF849C.F9CBD334
Content-Type: text/html;
    charset="iso-8859-1"


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>FW: Can't bind to port 80</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Thanks for all the help!&nbsp; We had the http line not commented out in the inetd.conf file.&nbsp; Works fine now!</FONT>
</P>

<P><FONT SIZE=2>Patrick</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Barney Anda [<A HREF="mailto:barney@freewill.tzo.com">mailto:barney@freewill.tzo.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Wednesday, March 01, 2000 6:30 PM</FONT>
<BR><FONT SIZE=2>To: Patrick Rhodes</FONT>
<BR><FONT SIZE=2>Subject: RE: Can't bind to port 80</FONT>
</P>
<BR>

<P><FONT SIZE=2>Something loaded from inetd is binding to port 80 instead.&nbsp; Look in</FONT>
<BR><FONT SIZE=2>/etc/inetd.conf for ideas.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
</P>

<P><FONT SIZE=2>Barney Anda ()</FONT>
<BR><FONT SIZE=2><A HREF="http://freewill.tzo.com/~barney" TARGET="_blank">http://freewill.tzo.com/~barney</A></FONT>
</P>

<P><FONT SIZE=2>On Wed, 1 Mar 2000, Patrick Rhodes wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; Well, we have found a solution - sort of.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; If you start the httpd FIRST, then start the INET daemon second, then it'll</FONT>
<BR><FONT SIZE=2>&gt; work correctly.&nbsp; Do it in reverse order, and you can't bind to port 80 with</FONT>
<BR><FONT SIZE=2>&gt; the httpd daemon.&nbsp; Any ideas why?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; and YES, we only have ONE &quot;Port 80&quot; directive.&nbsp; :-)</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Patrick</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: D. Taylor [<A HREF="mailto:dtaylor@www.dssolutions.com">mailto:dtaylor@www.dssolutions.com</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: Wednesday, March 01, 2000 5:42 PM</FONT>
<BR><FONT SIZE=2>&gt; To: 'PLUG'</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: Can't bind to port 80</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; netstat</FONT>
<BR><FONT SIZE=2>&gt; lsof</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Have you touched apache.conf?&nbsp; You do have just ONE &quot;Port 80&quot;</FONT>
<BR><FONT SIZE=2>&gt; and ONE &quot;Listen 80&quot; directive, right?&nbsp; Have you been playing</FONT>
<BR><FONT SIZE=2>&gt; with virtual hosts again?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; D</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; On Wed, 1 Mar 2000, Patrick Rhodes wrote:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Date: Wed, 01 Mar 2000 16:34:16 -0700</FONT>
<BR><FONT SIZE=2>&gt; &gt; From: Patrick Rhodes &lt;&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Reply-To: </FONT>
<BR><FONT SIZE=2>&gt; &gt; To: 'PLUG' &lt;&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Subject: Can't bind to port 80</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Our Apache server has been running for months on a RedHat 6.0 Linux server</FONT>
<BR><FONT SIZE=2>&gt; &gt; (on port 80).&nbsp; Today, it seemed to have crashed (still investigating why).</FONT>
<BR><FONT SIZE=2>&gt; &gt; Now we can't get it to come back up on port 80, but it'll work just fine</FONT>
<BR><FONT SIZE=2>&gt; on</FONT>
<BR><FONT SIZE=2>&gt; &gt; port 81.&nbsp; The logs say it can't bind to port 80.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; 2 things:</FONT>
<BR><FONT SIZE=2>&gt; &gt; 1) Is there a way to see what ports are available and/or being used?</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; 2) Any suggestions on how to fix this?</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Thanks for any and all help - we've been beating our brains trying to fix</FONT>
<BR><FONT SIZE=2>&gt; &gt; it.&nbsp; We also tried upgrading to RedHat 6.1, so now we are on Apache 1.3.9,</FONT>
<BR><FONT SIZE=2>&gt; &gt; but the same problem is there.&nbsp; We have rebuilt the binary a couple of</FONT>
<BR><FONT SIZE=2>&gt; &gt; times, rebooted the server, stop and started various daemons countless</FONT>
<BR><FONT SIZE=2>&gt; times</FONT>
<BR><FONT SIZE=2>&gt; &gt; to no avail.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; If you have apache set to port 80 in it's .conf file, when you execute</FONT>
<BR><FONT SIZE=2>&gt; httpd</FONT>
<BR><FONT SIZE=2>&gt; &gt; it'll start and stop right away - that's when you look in the logs and see</FONT>
<BR><FONT SIZE=2>&gt; &gt; that it has the binding problem.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Patrick</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; Plug-discuss mailing list&nbsp; -&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss" TARGET="_blank">http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss</A></FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BF849C.F9CBD334--