LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-08-2004, 01:26 PM   #1
iansworld
Member
 
Registered: Oct 2004
Location: Mission Viejo, CA
Distribution: suse 9.1
Posts: 30

Rep: Reputation: 15
Question hostname not found?


I just installed Suse 9.1. I keep getting a "hostname not found" message when shell windows open up. It stalls for a few seconds. Some apps, like emacs and gdb do this too.

What do I need to change to stop this annoying behavior?

- Ian
 
Old 12-08-2004, 07:03 PM   #2
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Re: hostname not found?

Quote:
Originally posted by iansworld
I just installed Suse 9.1. I keep getting a "hostname not found" message when shell windows open up. It stalls for a few seconds. Some apps, like emacs and gdb do this too.

What do I need to change to stop this annoying behavior?

- Ian
I would first check your /etc/hosts file. It should look something like this:

Code:
#
# /etc/hosts: static lookup table for host names
#

127.0.0.1	localhost
your IP address machines name machines alias

# End of file
Obviously, substitute "your IP address" for your IP address, "machine name" for the name of your computer and "machine alias" a name you can use to refer to your computer. The last two can be the same and you will set them in this file so it can be anything. The 127.0.0.1 address is the local loopback IP and that must (normally) be present. Localhost is the name of this address. Leave that line alone. I am surprised Suse didn't ask you to set this up during installation - Suse is a pretty sophisticated distro. Hope this helps.

Last edited by Sargek; 12-08-2004 at 07:05 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix / Warnings hostname verification failed: Host not found rioguia Linux - Software 2 10-21-2004 02:15 PM
PDC 20276 - Promise Fasttrack 133 found but still not found.. FransE Linux - Hardware 3 02-16-2004 07:44 AM
unresolved hostname www.google.com not found invalidunicode Slackware 4 06-10-2003 12:54 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM
hostname: not found php Linux - General 2 11-19-2001 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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