Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I am running Ubuntu 12.10 on a virtual machine(VMWare). No sometimes, about 50% of the time, when I start the machine up, it freezes at a point, most of the time at the point shown in the attached image(see image).

When resetting the virtual machine once or twice, it boots normally again.

How can I fix this?

enter image description here

share|improve this question
up vote 1 down vote accepted

Google says you just have to explicitly set it in /etc/apache2/httpd.conf:

ServerName localhost

Restart apache afterwards.

share|improve this answer
Thank you.But I do not have such a file: httpd.conf in /etc/apache2. I only have an apache2.conf file, and it does not have a line: ServerName . Should I set it like you said in the apache2.conf file? – DextrousDave Dec 11 '12 at 9:28
If I remember this right, it is sometimes httpd and sometimes apache2. I thinks it is safe to try adding it to apache2.conf. And yes, there is no ServerName in the conf by default. – Pavel A Dec 11 '12 at 9:39
@DextrousDave, did it work? – Pavel A Dec 12 '12 at 18:52
So far so good. Did not have a freeze on startup. I will monitor this and come back to you if it happens again. Thank you for your help. Much appreciated – DextrousDave Dec 13 '12 at 14:21

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.