Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer

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
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.