LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-10-2001, 12:07 AM   #1
jackopa
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat
Posts: 23

Rep: Reputation: 15
problem with hostname


Each time system is rebooted I get a message " lpd get localhost xxx bad localhost could not look up internet address for xxx" . I have to open a terminal and run hostname command with correct hostname and then log in again to get correct hostname. When shutting system down message for lpd says " failed". At next boot same thing happens again with wrong hostname.
 
Old 11-11-2001, 01:21 AM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Check your /etc/sysconfig/network file to make sure the proper hostname is entered there.
Specifically, look at the "HOSTNAME=" and "DOMAIN=" lines. If they don't contain the correct host/domain names, edit the file to make it so.
 
Old 11-12-2001, 02:13 AM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Just to close this thread:

Jackopa,

I got your email, and I'm glad we were able to resolve the problem so quickly.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname problem c_dave1 Linux - Networking 8 07-11-2005 11:38 PM
Hostname - Problem ??? aurelio26 Linux - Newbie 3 10-04-2004 12:06 AM
hostname problem jnewing Red Hat 1 06-01-2004 06:23 PM
hostname problem bm1 Linux - Networking 11 05-12-2003 02:14 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:52 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
Open Source Consulting | Domain Registration