Pls Help - WHM account corruption

mgscox

Registered
Oct 10, 2006
2
0
151
Hi,
WHM has corrupted somewhere and one of the accounts is now inaccessible.

When I list accounts, the partition for the account is blank - it simply has the edit icon. If I try and move the account to /home it complains that the site is already there and aborts. I cannot delete the account (it says it doesnt exist) and creating a duplicate account unfortunately doesn't overwrite it.
All of the other accounts seem fine.
If I open a browser on the page then I get a 404 error, but the files are still there and in /etc/httpd/conf/httpd.conf.vhosts the site is still listed
Is there some file I can edit to correct this corruption? I have PTTY access to the server

Matt
 

UmbraHosting

Member
Mar 12, 2006
13
0
151
Matt,

Check the /var/cpanel/users/username file to ensure that the DNS= line is set correctly. If the domain is beta.com the line should read the following:

DNS=beta.com

After updating the file, run /scripts/updateuserdomains and see if it appears in the list of accounts.

A couple other things to check:
1) Check the file /etc/userdomains and make sure the domain is listed
2) You can also ensure the httpd.conf entry is correct by comparing it to another entry of a working domain.

Regards,
Tom