Apache not starting after a fresh cPanel install
admin | Dec 31, 2009 | Comments 0
Issue :
On a brand new server with a clean cPanel install, apache does not want to start.
root@server [~]# service httpd start
Syntax error on line 416 of /usr/local/apache/conf/httpd.conf:
UserDir “enable” keyword requires a list of usernames
root@server [~]#
Fix :
This usually happens when Apache mod_userdir Tweak is enabled in WHM before adding any accounts. This creates blank UserDir directives in the httpd.conf file which will not let Apache start.
To get around this, simply disable the tweak until the first account is created.
However, cPanel is reviewing this and should be fixed soon.
Filed Under: Quick fixes • Technical
About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

1800 810 6547