R-Ts NetWorks

Server the Best

Apache not starting after a fresh cPanel install


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

Advertisements

October 13, 2012 - Posted by | Linux

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: