Apache not starting after a fresh cPanel install

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 fixesTechnical

Tags:

About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

RSSComments (0)

Trackback URL

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
InstaCarma provides outsourced web hosting technical support, helpdesk management, datacenter automation, cloud service management. Sales - 1800 810 6547 - visit www.instacarma.com