Server Fault is a question and answer site for system and network administrators. 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 have a OpenVZ container running Debian 6 on my server. After every restart of the container I have to manually start the Apache2 web server using its init script. In the error log I can't find any useful information.

Every suggestion is appreciated :-).

share|improve this question
Check /var/log/apache2/error.log after container restart – Kamil Šrot Dec 8 '12 at 17:06

Is it possible that Apache2 is not registered as a service in your container? If so you may run insserv /etc/init.d/apache2 in the OpenVZ container to star apache at boot.

share|improve this answer
Unfortunately this didn't help. I executed the command you proposed, it executed without any feedback. Any other suggestions? – Ulf Klose Oct 21 '12 at 18:51
well the insserv command does not output anything, did you restart the container after running that command to see if apache is starting at boot? If it isn't can you check the apache error log to see if there are any errors there? – Ducu Oct 22 '12 at 7:24

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.