LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-23-2005, 11:55 PM   #1
Joe47
Member
 
Registered: Dec 2002
Location: San Diego California
Distribution: Fedora Core 6
Posts: 64

Rep: Reputation: 15
Login problem


Could not look up internet address for localhost.localdomain.
This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding
localhost.localdomain to the file /etc/hosts.

I get the above message every time after I have put in my username and password
in FC3. Any help would be appreciated. Joe
 
Old 02-24-2005, 02:21 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Check if tyhe following line is present in your /etc/hosts file:

127.0.0.1 localhost.localdomain localhost

PS: there should be one entry for 127.0.0.1, so if the localhost.localdomain part is missing, add it to the 127.0.0.1 line.

Hope this helps.
 
Old 02-24-2005, 05:42 AM   #3
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
yes, this should help, good for you GNOME gives you this hint nowadays, I've searched for hours once on that one .

grtz,
Elluva
 
Old 02-27-2005, 03:05 PM   #4
Joe47
Member
 
Registered: Dec 2002
Location: San Diego California
Distribution: Fedora Core 6
Posts: 64

Original Poster
Rep: Reputation: 15
druuna
I tried su to root & without to look at /etc/hosts and there is nothing it is empty
[joe@localhost ~]$ emacs /etc/hosts
[joe@localhost ~]$ su
Password:
[root@localhost joe]# emacs /etc/hosts
[root@localhost joe]#
 
Old 02-27-2005, 03:19 PM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

If it is empty/does not excist, fill/create it.
This is probably the fastest way to do it:

echo "127.0.0.1 localhost.localdomain localhost" >> /etc/hosts

Hope this helps.
 
Old 03-01-2005, 01:24 AM   #6
Joe47
Member
 
Registered: Dec 2002
Location: San Diego California
Distribution: Fedora Core 6
Posts: 64

Original Poster
Rep: Reputation: 15
druuna
Thanks it worked Joe
 
  


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
problem in login linuxthebest Linux - Newbie 3 08-09-2005 09:20 PM
Login problem Frederik Valeur Linux - Software 3 06-12-2005 09:46 PM
Login Problem KAAZ Linux - Distributions 2 10-26-2004 10:56 PM
Login Problem sratz Linux - Security 1 07-15-2004 09:40 AM
Login problem with RH 7.1 bildnisse Linux - Newbie 2 01-01-2002 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:13 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