Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Okay, I made a mistake and I'll be the first to admit I'm new at this setup. I built a bare bones kit, installed Ubuntu on it, and attempted to set up a source control server for a project some friend and I were going to work on.

Unfortunately, I screwed up. I followed a dodgy tutorial from 2005 and when it didn't work, started mixing and matching trying to get to the source of my problem.

So now I sit before you, a broken and miserable man.

Desperate to escape this annoying echo of 'Unable to resolve host', I uninstalled apache and subversion. That did not fix it.

Next I tried to edit my /etc/hosts, going so far as to remove the reference to ' computername'. Still I'm plagued.

I know I messed up, is there any way to track down this wayward bug?

share|improve this question
You didn't identify the source of the error or what you're trying to do. – Warner Mar 19 '10 at 2:30

edit your /etc/hosts and add these lines : localhost localhost.localnet

share|improve this answer

Your /etc/resolve.conf should contain something like


They should point to some valid DNS servers. For this example I added the google DNS hosts as that should work from everywhere.

share|improve this answer
up vote 0 down vote accepted

Sorry guys, there's no tracking down this bug but I appreciate the input. I figured I was so close to a clean install anyway I might as well just kill the whole thing and start over. I got it working... somewhat..

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.