LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2008, 09:11 PM   #1
fedoraDrew
LQ Newbie
 
Registered: Oct 2008
Posts: 11

Rep: Reputation: 0
apache 2.0 error 99 address already in use


I'm seeking to understand, and also to fix, why my Apache 2.2.8 configuration on Fedora 9 cannot bind to a specific IP address and listen over my closed home network.

It worked fine when I browsed test pages on the machine through the localhost address.

httpd.conf used to have:
Code:
Listen host.name.com:80
#ServerName    <-- I kept this as undefined previously, hence the hash
UseCanonicalName On
However, other machines over the network can't find this host name (or IP, if I set it to the machine's static IP). I get an error 400 from the linux box on other machines trying to access this host name (http://host.name.com). So I tried this, which seemed more appropriate:

Code:
Listen *:80
ServerName 192.168.1.66:80
but when executing "apachectl start" it gave me the error "98 address already in use".



I also tried using 192.168.1.65 (as below), which I designated as the static ip of my machine, but I then get the error 99 as in the title of this post using these params:

Code:
Listen 192.168.1.65:80
ServerName 192.168.1.66:80
UseCanonicalName On
And if I change ServerName to have .65 instead of .66 as the net portion of that ip address, I get error 98 again.

Interesting tidbits:

ps -e | grep httpd
ps -e | grep apache

yields no other running processes by those names.

netstat -lnp | grep :80

yields no other services bound to that port.

Last edited by fedoraDrew; 10-07-2008 at 11:02 PM. Reason: cut lots of fluff, added more detail to what I tried to do
 
Old 10-08-2008, 01:09 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 62
Does this help:

http://www.linuxquestions.org/questi...0.0443-110753/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2 : Address in use pyre Linux - Newbie 5 10-07-2008 11:15 PM
"Deny from" IP address using http.conf (Apache 2) not blocking the IP address griffey Linux - Security 2 02-22-2008 09:32 AM
apache error (address already in use) ciden Linux - Server 5 07-17-2007 12:35 PM
IP address not resloved in Apache raghavendra Linux - Networking 5 03-20-2005 11:07 AM
About Apache, if i want to have page name before IP address thep Linux - Newbie 1 04-15-2001 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration