LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-08-2008, 12:29 AM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 166

Rep: Reputation: 15
sudo works, but says 'unable to resolve host'


My machine is named brutus, and a while back I had some trouble with diagnosing my DSL connection. I don't know what I did but now when I sudo, it always says 'unable to resolve host brutus'. The sudo works, however. It seems like ever since then my xserver has been being flaky....adept notifier in particular. Any ideas what my hamfisted keyboard pounding might have messed up? If nothing else, the warning is annoying.
 
Old 09-08-2008, 12:35 AM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Look through the similar threads at the bottom of this page.
 
Old 09-08-2008, 10:00 AM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 166

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02 View Post
Look through the similar threads at the bottom of this page.
Did you forget a link? Because I didn't see anything terribly relevant on the first forum page or two.
 
Old 09-08-2008, 11:26 AM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Check your "/etc/hosts" file. The line beginning 127.0.0.1 should have "localhost" as well as the actual name of your host.

ex:

127.0.0.1 localhost borzaq
 
Old 09-08-2008, 12:39 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Quote:
Originally Posted by Daravon View Post
Did you forget a link? Because I didn't see anything terribly relevant on the first forum page or two.
He meant if you scroll clear to the bottom of this page, there is a footer section with the heading "Similar Threads". It's at the bottom of every thread, it's just waaaaaaay down there.
 
  


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
unable to resolve host in ubuntu 8.04 pdelcast Linux - Networking 6 07-25-2008 07:01 PM
Unable to resolve ulr. /et/resolve.conf looks fine? TheBrick Linux - Networking 3 02-14-2008 05:13 AM
Unable to resolve host name MistaT Linux - Server 5 07-16-2007 05:22 PM
"Can't resolve host" as user, but works fine as root truthe Linux - Networking 2 10-22-2006 06:41 PM
DHCP not able to resolve host rmcastil Linux - Newbie 8 08-10-2005 07:31 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration