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

While I restart httpd service I see a thousand of warnings like the following:

Warning: DocumentRoot [/home/u79894/domains/edsdsdics.com.mx/private_html/lms] does not exist 
Warning: DocumentRoot [/home/admin/domains/suspended/sketch] does not exist 
Warning: DocumentRoot [/home/admin/domains/suspended/sketch] does not exist 
Warning: DocumentRoot [/home/u79507/domains/centsdrointegdraldelaesaludd.com/private_html] does not exist 
Warning: DocumentRoot [/home/u79875/domains/someberapyikal.com.mx/public_html] does not exist 
Warning: DocumentRoot [/home/u80030/domains/elesdfo.com.mx/public_html/raptor] does not exist 
Warning: DocumentRoot [/home/siecweb/domains/sidsdeb.net/public_html/clasesdenatacionsl] does not exist 
Warning: DocumentRoot [/home/siecweb/domains/snirterwebi.net/public_html/cursosaquahod] does not exist 
Warning: DocumentRoot [/home/arrietad/domains/arsdfr.com.mx/public_html] does not exist

How can I remove these warnings? Can I do this by a script?

share|improve this question

These warnings just mean that you've got some VirtualHosts set up with a DocumentRoot pointing to a non-existent directory; you should just remove the VirtualHosts from your Apache configuration.

How that's done depends on your configuration; I get the impression that you haven't set these up manually yourself, are you using some kind of control-panel to manage these sites?

share|improve this answer
    
yes, its a directadmin server – Ajo Augustine Apr 1 '11 at 14:49

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.