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.

deleting an account

Discussion in 'General Discussion' started by CTC, Dec 31, 2006.

  1. CTC

    CTC Active Member

    Joined:
    Nov 29, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I had an account which i just wanted to delete the DNS zone and recreate it but it deleted the account as well.

    It is ok i have a backup,
    When i go into list accounts it is not there,

    I tried to recreate the account using the same credentials as before however it gave me an error that that userid is already in use, so i changed the username then it gave me an error to change the httpd.conf as an account already is using that domain.

    I am unsure how to do this, i have root access to the command line but i dont know where to find that file to delete the entry.

    Could a kind user steer me in the right direction.

    Many thanks in advance, hope everyone had a safe and Happy New Year celebration.

    TTFN CTC.
     
  2. CTC

    CTC Active Member

    Joined:
    Nov 29, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Problem solved

    Hi ppl, problem fixed after teadious reading.

    Basically what was required was to goto to SSH and type

    /scripts/updateuserdomains

    i got this error
    user someacct: missing DNS= line in /var/cpanel/users/someacct at /scripts/updateuserdomains line 206

    The error is easy to fix

    in ssh type the following

    nano -w /var/cpanel/users/someotheruser

    see how dns= line has his domain name

    then open the one you want

    nano -w /var/cpanel/users/someacct

    and add the dns=withhisdomain.com

    Once done run /scripts/updateuserdomains

    Refresh Cpanel and goto list accounts an walla it is back.

    I will never delete the DNS zone without deleting the account first ever again.

    I hope this helps someone as it took a while for me to fix it.
     
Loading...

Share This Page