LinuxQuestions.org
Visit Jeremy's Blog.
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-22-2005, 08:47 PM   #1
Jack_Tripper
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Please HELP w/ server install/localhost config problems


Greetings all. I recently tried to install web server on RH9 Linux. No problem w/ installation itself. However....starting it is a problem.

I get this message: httpd failed. The error was: Starting httpd: httpd:
Could not determine the server's fully qualified
domain name, using 127.0.0.1 for ServerName
[FAILED]

Part of the problem may be my network 'localhost' setup/config. Please note when I login, I get this warning message: Could not look up internet address for CPE00e06f23ccf1-CM00e06f23ccf0.
This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding
CPE00e06f23ccf1-CM00e06f23ccf0 to the file /etc/hosts.

I can login anyway and I have working internet connection.

Now, I've tried appending "CPE00e06f23ccf1-CM00e06f23ccf0" to /etc/hosts file using the cat >> command. I still get this warning message at every login. And when in the Terminal (bash) I'm user@CPE00e06f23ccf1-CM00e06f23ccf0 instead of user@localhost. How do I go about changing the setting/s so I'm user@localhost?

Also note that I'm connected via USB to a Terayon cable modem (Ethernet card not 100%) Any helpful feedback is greatly appreciated.
 
Old 10-23-2005, 03:30 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Just open your /etc/hosts file and append CPE00e06f23ccf1-CM00e06f23ccf0 to the line that looks something like:

127.0.0.1 localhost localhost.localdomain

That hideous name is apparently your DHCP host name so you need to alias it to the local loopback IP (127.0.0.1) since apparently it's not being resolved via your DNS. You may need to add your ISP's domain name to the hostname -- try issuing the hostname command in Linux to see what your hostname actually is.

Oh, and be careful running a server on such an old distro. Make sure you have all the Red Hat and Fedora legacy patches applied. You do know that RH9 is out of support, right?
 
  


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
Newbie Server 8 Config Problems Ganbare SUSE / openSUSE 2 01-12-2005 07:21 PM
Mandrake 10.0 Server Config Problems Gib Sandwich Linux - Networking 3 08-20-2004 03:34 AM
Telnet Server Install/Config on Red Hat 9 pldobs Linux - Software 12 10-27-2003 10:15 PM
Newbie Here . . . Having Problems with Apache Server Config and DNS. flem26 Linux - Newbie 6 03-08-2003 08:37 PM
How do I config Sendmail to accept connects /only/ from localhost marvin Linux - Security 4 05-09-2001 08:26 PM

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

All times are GMT -5. The time now is 09:49 AM.

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