The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
apache error murad.jaber SUN Solaris 2 03-16-2008 11:04 PM
Error installing apache ncatdesigner UNIX for Dummies Questions & Answers 3 03-07-2008 08:37 AM
Apache Error amitsayshii UNIX for Dummies Questions & Answers 1 09-26-2006 07:59 AM
Apache Forbidden Error perleo Linux 1 10-30-2004 06:45 AM
403 Error in Apache? solvman UNIX for Advanced & Expert Users 6 07-30-2002 06:55 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2005
moxxx68's Avatar
Registered User
 

Join Date: Mar 2004
Posts: 301
Serverhost 127.0.0 error message on apache

my apache 2.0 is up and running but after trying to reconfigure it for specifics I ended up with a permanent eror message that I can't seem to get rid of .. when I run the server ( just / */apachect1 start )
the message reads "cannot locate name localhost for server 127.0.0"
so far I have tried to change the LIsten options and have tried two different IPaddresses from the ifconfig file
su -
ifconfig | grep 'inet addr' | fgrep -v 127.0.0
and used the IP addres and the IBcast address on two different ports and connot get rid of IP 127.0.0 error message
any suggestions welcome.
moxxx68
__________________
moxxx68
http://www.estarinformado.com.ar/apicmaxmiel/bee-diez.gif

Last edited by moxxx68; 01-07-2005 at 10:49 PM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-08-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
A couple of questions. Within httpd.conf do you have a line such as
ServerName localhost:8080

i.e. using "localhost" as the servername, or do you have the IP address?

What does "grep 127.0.0 /etc/hosts" give?

The loopback IP address should be 127.0.0.1 - you've lost the "1" somewhere.

From what's posted it looks to me like apache is trying to resolve localhost using /etc/hosts that has an incorrect entry (i.e. an incorrect localhost entry).

Let us know what you find!

Cheers
ZB
Reply With Quote
  #3 (permalink)  
Old 01-08-2005
moxxx68's Avatar
Registered User
 

Join Date: Mar 2004
Posts: 301
i have already been back into /etc/hosts and replaced what I changed with 127.0.0.1 localhost.localdomain..
also in the httpd.conf file i don't have a line that requests a server name i have line for a Listen post and a line for Serveradmin is as close as I get to servername... no i tried using the IP address with 8080 and removed it... where would I place this? with the Listen or with the Serveradmin. finally my listen port is set to 8080 and serveradmin to localhost.localdomain.
moxxx68
__________________
moxxx68
http://www.estarinformado.com.ar/apicmaxmiel/bee-diez.gif
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0