
Originally Posted by
dwinans
I'm wondering if anyone else is experiencing this issue. If so, do they have any information on how to fix it?
Within WHM we setup a Shared IP to be used for the server... Once an account gets created on the server that uses the shared IP a virtual host entry is created within the httpd.conf file for the server.
The problem is that this entry gets created with the below, which is syntactically incorrect. This causes apache to go down as it cannot restart to apply the change. It will not start back up until we either delete the UserDir line, or set it to disabled.
<VirtualHost xx.xx.xx.xx:80>
ServerName some-server.some-domain.com
DocumentRoot /usr/local/apache/htdocs
ServerAdmin admin-address@some-domain.com
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
UserDir enabled
</VirtualHost>
This only happens when the first shared IP account gets created, and the virtual host entry for the actual servers name is created. The same can be said if a reseller has a shared IP and they create their first shared ip account. Subsequent accounts setup on that shared IP do not have this problem.
I've ran the apache config distiller script after manually fixing the problem and I've rebuilt the apache configuration after that to make sure the change took, so I know it has something to do with the virtual host entry getting created for the actual servername, and I know it deals specifically with shared IP's.
What is the full cPanel version number of the system involved?
Code:
# cat /usr/local/cpanel/version && echo
What is the full Apache version information (as reported via the following command)?
Code:
# /usr/local/apache/bin/httpd -v
Reference Note: The issue description leads me to believe it may be related to the following internal case ID: #25846