Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.