The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pls Help - WHM account corruption

Discussion in 'General Discussion' started by mgscox, Oct 10, 2006.

  1. mgscox

    mgscox Registered

    Joined:
    Oct 10, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. UmbraHosting

    UmbraHosting Member

    Joined:
    Mar 12, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page