Serversphere.com Blog - Alerts - News
New cPanel 11.25.0 Installation Apache configuration syntax errors
- Entry: Emergency Alert
- Category: cPanel
- Posted: Jan 12th, 2010 11:01 PM
- By: SS-Darren
Servers with no accounts and mod_userdir tweak may experience error when adding first account.
The release of 11.25.0-RELEASE_42399 and 11.25.0-CURRENT_42399 introduced a configuration issue that may cause Apache configuration syntax errors on servers with no accounts when the mod_userdir tweak is enabled. The condition will present itself upon addition of the first account to the server. This issue is quickly addressed by rebuilding the Apache configuration file.
Symptoms:
The following error can be seen in the cpanel error_log and when attempting to restart Apache: UserDir "enable" keyword requires a list of usernames
Newly created websites would be sent to defaultwebpage.cgi instead of the appropriate document root.
Resolutions:
1) New builds, 11.25.0-CURRENT_42400 and 11.25.0-RELEASE_42400, have been published to address the issue. This issue will not be present on subsequent new installations. Upgrading a currently affected system will resolve this issue.
2) Rebuilding the Apache configuration after the addition of the first account will permanently resolve this issue.
Note:
The Apache configuration may be rebuilt as a result of other changes made in the WHM. Your new installation may not experience this issue as a result the the Apache configuration being rebuilt automatically.
The release of 11.25.0-RELEASE_42399 and 11.25.0-CURRENT_42399 introduced a configuration issue that may cause Apache configuration syntax errors on servers with no accounts when the mod_userdir tweak is enabled. The condition will present itself upon addition of the first account to the server. This issue is quickly addressed by rebuilding the Apache configuration file.
Symptoms:
The following error can be seen in the cpanel error_log and when attempting to restart Apache: UserDir "enable" keyword requires a list of usernames
Newly created websites would be sent to defaultwebpage.cgi instead of the appropriate document root.
Resolutions:
1) New builds, 11.25.0-CURRENT_42400 and 11.25.0-RELEASE_42400, have been published to address the issue. This issue will not be present on subsequent new installations. Upgrading a currently affected system will resolve this issue.
2) Rebuilding the Apache configuration after the addition of the first account will permanently resolve this issue.
From the command line:
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
or
/scripts/autorepair userdir_enable_fix
/scripts/restartsrv_httpd
From the WHM:
Service Configuration -> Apache Configuration -> Global Configuration -> Save -> Rebuild Configuration and Restart Apache
Note:
The Apache configuration may be rebuilt as a result of other changes made in the WHM. Your new installation may not experience this issue as a result the the Apache configuration being rebuilt automatically.
Your Account
Blogs This Month
Blog Categories
Anti-Spam (3)
CentOS News (2)
Clam AntiVirus (3)
cPanel (14)
Downtime (2)
MailScanner (1)
New Versions (18)
News (4)
PHP (1)
Scheduled Maintenance (2)
Script Exploits (15)
Security (5)
Serversphere Company News (3)
Virii Alerts (1)
VPS Alert (1)
Blog Entry Types
Announcements (24)
Emergency Alerts (36)
General Alerts (10)
News Blurbs (5)




