[Error] AH00112: Warning: DocumentRoot[/home/...] does not exist
AH00112: Warning
Hi all.
My client deletes the web directory leading to an error in the httpd configuration file. I can fix it by running rebuildhttpdconf command. However the problem will continue if my client continues to delete the folder instead of having to delete the addon/subdomain.
I haven't found a way to fix it yet. If you have encountered an error please help me.
Thank for all.
-
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 -
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.
Comments
2 comments