Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 08:13:03 -0500
From:      "Kristopher E. Borodiansky" <elit@home.com>
To:        "Tyler K McGeorge" <treznor@sunflower.com>, <questions@FreeBSD.ORG>
Subject:   Re: Apache won't start
Message-ID:  <002701c06a86$963cc1e0$a9db0241@union1.nj.home.com>
References:  <001601c06a5e$34009f60$103b7c18@treznor> <001e01c06a70$3282fae0$a9db0241@union1.nj.home.com> <000c01c06a70$10897860$103b7c18@treznor>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Ty,

    Yes, try ps auxgw|more and look for any processes that could be using port 80 possibly, as one approach. Another approach, is netstat -a|grep 80 or netstat -a |grep http. Also, see what's started up at boot, you could possibly already have apache running.

    Regards,

Kris
  ----- Original Message ----- 
  From: Tyler K McGeorge 
  To: questions@FreeBSD.ORG 
  Sent: Wednesday, December 20, 2000 5:31 AM
  Subject: Re: Apache won't start


  I've tried starting it up as a number of users. Root, a superuser a regular user. Doesn't seem to make a difference. I've tried scanning for anything on that port. There is something running on the port, I can connect to it. I just can figure out what kind of service it is. Any ideas?
    ----- Original Message ----- 
    From: Kristopher E. Borodiansky 
    To: Tyler K McGeorge ; questions@FreeBSD.ORG 
    Sent: Wednesday, December 20, 2000 4:32 AM
    Subject: Re: Apache won't start


    Ty,

        First, are you starting it up as root? Second, is there already apache running on that machine, or another service that's binding to 80? I'd take a look into that...

        Regards,

    Kris
      ----- Original Message ----- 
      From: Tyler K McGeorge 
      To: questions@FreeBSD.ORG 
      Sent: Wednesday, December 20, 2000 3:23 AM
      Subject: Apache won't start


      Hello everybody,

      The other day, I had to reboot my machine ( I know, it's sad, but it had to be done). When it came back up, Apache wouldn't start up. It gave the error in error_log that it couldn't bind to port 80. I've bound it to port 81 since, and that was successful. I've toyed with /etc/inetd.conf without much success. I'm open to suggestions.

      Ty

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Ty,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Yes, try ps auxgw|more and look 
for any processes that could be using port 80 possibly, as one approach. Another 
approach, is netstat -a|grep 80 or netstat -a |grep http. Also, see what's 
started up at boot, you could possibly already have apache running.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=treznor@sunflower.com href="mailto:treznor@sunflower.com">Tyler K 
  McGeorge</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=questions@FreeBSD.ORG 
  href="mailto:questions@FreeBSD.ORG">questions@FreeBSD.ORG</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 20, 2000 5:31 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Apache won't start</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>I've tried starting it up as a number of users. 
  Root, a superuser a regular user. Doesn't seem to make a difference. I've 
  tried scanning for anything on that port. There is something running on the 
  port, I can connect to it. I just can figure out what kind of service it is. 
  Any ideas?</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=elit@home.com href="mailto:elit@home.com">Kristopher E. 
    Borodiansky</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=treznor@sunflower.com 
    href="mailto:treznor@sunflower.com">Tyler K McGeorge</A> ; <A 
    title=questions@FreeBSD.ORG 
    href="mailto:questions@FreeBSD.ORG">questions@FreeBSD.ORG</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 20, 2000 4:32 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Apache won't start</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial size=2>Ty,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; First, are you starting it 
    up as root? Second, is there already apache running on that machine, or 
    another service that's binding to 80? I'd take a look into 
    that...</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Regards,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Kris</FONT></DIV>
    <BLOCKQUOTE dir=ltr 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
      <A title=treznor@sunflower.com href="mailto:treznor@sunflower.com">Tyler K 
      McGeorge</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=questions@FreeBSD.ORG 
      href="mailto:questions@FreeBSD.ORG">questions@FreeBSD.ORG</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 20, 2000 
      3:23 AM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Apache won't start</DIV>
      <DIV><BR></DIV>
      <DIV><FONT face=Arial size=2>Hello everybody,</FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>The other day, I had to reboot my machine ( I 
      know, it's sad, but it had to be done). When it came back up, Apache 
      wouldn't start up. It gave the error in error_log that it couldn't bind to 
      port 80. I've bound it to port 81 since, and that was successful. I've 
      toyed with /etc/inetd.conf without much success. I'm open to 
      suggestions.</FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial 
size=2>Ty</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c06a86$963cc1e0$a9db0241>