Skip to main content

[Error] AH00112: Warning: DocumentRoot[/home/...] does not exist

Comments

2 comments

  • cPanelWilliam
    Hello! I am not aware of a way to prevent this warning from showing up in the Apache error log when a user manually removes their document root. With that said, the warning you reported shouldn't cause any issues with the Apache service itself as it's just a warning and not an error. Apache should still stay online and continue to serve your other websites when this happens. You could either resolve the warning by recreating the missing home directory via SSH with the mkdir
    command, or rebuilding the Apache configuration as you said.
    0
  • Robert Spencer
    Oddly just had one of our servers have a complete failure of Apache due to a clients account being deleted in WHM by the reseller. Searched and found this post in the top hits, so posting this here in case it happens to any one else. root@web [~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: AH00112: Warning: DocumentRoot [/home/fitnes19/public_html] does not exist AH00543: httpd: bad user name fitnes19 [FAILED]
    Ran /scripts/rebuildhttpdconf
    and then restarted httpd. cPanel: 102.0 (build 15)
    0

Please sign in to leave a comment.