Account Creation Status: failed httpd.conf is corrupt

redhatvn

Registered
Apr 1, 2008
3
0
51
Hi all
We've just setup a new server, when I created an account this message appeared
Account Creation Status: failed (httpd.conf is corrupt. Please have your admin repair or restore it from backup)
httpd.conf is corrupt. Please have your admin repair or restore it from backup
Please help us to resolve this problem
many thanks
 

arikstress

Member
Nov 27, 2006
6
0
151
hello,

you may look what is make that httpd error by peeking on your error.log ,

and you also can test httpd.conf by using command :

httpd -S
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
508
3
168
Planet Earth
Hi all
We've just setup a new server, when I created an account this message appeared

Please help us to resolve this problem
many thanks
If you are running latest cPanel with EA3 then you can rebuild httpd.conf as:

/usr/local/cpanel/bin/build_apache_conf

it will pick the data from /var/cpanel/userdata directory for all the users and regenrate the httpd.conf. Make sure that you restart the Apache after running the above script as:

service httpd stop
service httpd start
 

arikstress

Member
Nov 27, 2006
6
0
151
If you are running latest cPanel with EA3 then you can rebuild httpd.conf as:

/usr/local/cpanel/bin/build_apache_conf

it will pick the data from /var/cpanel/userdata directory for all the users and regenrate the httpd.conf. Make sure that you restart the Apache after running the above script as:

service httpd stop
service httpd start
oops.. yep, redhatvn , i guess you may test it with this step, especially for newer cpanel, i also just know this after reading http://www.cpanel.net/support/docs/ea/ea3/ hmm looks like i have to peek on newer cpanel now :D
 

bigste

Member
Jan 6, 2009
20
0
51
Cheshire, UK
For those who may encounter this themselves, can we ask what the solution was?
I started with the httpd.conf update command but it didn't find such a command on my system. Which is a shame as it looked quite conservative.

So I tried :-

/scripts/upcp --force
/scripts/easyapache

which seems to be doing a reinstall, maybe saving some of my setting along the way, but certainly downloaded a lot of stuff (layer1 & layer2) from cPanel HQ. It's taking ages, about half an hour so far. Since I had only just set up the server I not that bothered about losing anything.