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.

Cannot Delete User

Discussion in 'General Discussion' started by DalipJ, Aug 6, 2006.

  1. DalipJ

    DalipJ Active Member

    Joined:
    Jun 24, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Hey guys,

    I have a reseller user account installed on my WHM/Dedicated Server. However, there is no domain attached to the account and I can't delete it.

    How can I delete this account, and reinstall the client a new one.

    "Terminate an account, List Accounts" It doesn't show up.


    Any help or suggestions are appreciated.
     
  2. sumith

    sumith Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    Run /scripts/updateuserdomains and see if it shows any errors related with that account and if yes, paste the error message here so that we could take a look into it ;)
     
  3. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    see if you have a virtual host entry in httpd.conf and
    remove that.

    Also delete the user from this location
    /var/cpanel/users/account_name

    Then run this in ssh
    /scripts/updateuserdomains

    See if that fixes things.

    Also look in the /home directory and delete the account files
    if they exist.

    I also like to check /etc/valiases /etc/vdomainaliases
     
    #3 jayh38, Aug 6, 2006
    Last edited: Aug 6, 2006
  4. cLub2Share

    cLub2Share Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    united Arab Emirates
    cPanel Access Level:
    Website Owner
    Twitter:
    I'm having the same problem i try to above and this is what the msg come .


    this problem come when i have moved to anther server and then i try to copy the date to anther server use the WHM Options. it freze me at the first and then i i copy the date again and it creat to username .. but both of them are diffrents but the same domain name ...

    know in the WHM Account list it show me the username ourytor this one is wrong it should be ourytorg i try to change the username but i can't trying to remove i also can't .. so i dont no how to fix this .. ?

    Thankyou
    C2S
     
  5. DalipJ

    DalipJ Active Member

    Joined:
    Jun 24, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Now fixed!!

    Thanks guys, just deleted the user account by root fixed it all. Also updating the user list helped :)

    Thanks guys!!
     
  6. davut.com

    davut.com Registered

    Joined:
    Aug 5, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem, I would know, how to delete it from the "root"?

     
  7. randomblink

    randomblink Registered

    Joined:
    Aug 9, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tulsa, Oklahoma... just this side of hell...
    STILL Cannot Delete User

    Seriously...
    How do you delete an account that has no domain name attached to it?
    I can only see it by going to the Resellers Center and it is in the list of accounts there...
    I feel like I am going insane.
     
  8. cLub2Share

    cLub2Share Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    united Arab Emirates
    cPanel Access Level:
    Website Owner
    Twitter:
    Could someone please answer to this topic because it seem like to many user have the same problem


    i have a domain name the info db/etc in anther username i try to change the domain name but it dont change i try to delete it also i can't can someone please help us in this .. ?

    thanks
     
  9. DalipJ

    DalipJ Active Member

    Joined:
    Jun 24, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Sorry guys, Didn't see you all had the same error.

    You mainly have to delete anything affiliated with the account.

    This is what I did...

    I first ran this command - /scripts/updateuserdomains - This gave me what errors had to be fixed.

    Then I went to /var/cpanel/users/ and deleted the account file.

    Check if there is anything related to the account name at these two files.

    /etc/valiases and /etc/vdomainaliases - Anyhing related to the account anme must be deleted.

    From there edit your httpd.conf and also delete anything related to the account.

    I hope this helps, I am not checking these forums on a regular bases however, email me at dalip@jaggient.net and I can help you.

    I also apologize for a delayed response.
     
  10. keithhutchy

    keithhutchy Registered

    Joined:
    Sep 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    same prob

    hey i am having the same problem but when i do what he said it says permition deined
     
    #10 keithhutchy, Sep 9, 2006
    Last edited: Sep 9, 2006
  11. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    You could also try adding a domain to that account and see if it then works.
     
  12. keithhutchy

    keithhutchy Registered

    Joined:
    Sep 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    i have done that
     
  13. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    You should be able to remove it from the commandline with:

    Code:
    /scripts/killacct username y
    where username is the username of the account you want to delete.
     
  14. dahuda

    dahuda Registered

    Joined:
    Oct 10, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    /etc/passwd

    should remove user password configurations from
    /etc/passwd
     
Loading...

Share This Page