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.

Ouch, sorry that username is taken

Discussion in 'General Discussion' started by bidouilleur, Aug 4, 2004.

  1. bidouilleur

    bidouilleur Well-Known Member

    Joined:
    Apr 27, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Evening all,

    A server I help to keep alive has some problems, no clue how they started since I was at work but anyway

    apache was a complete mess, all entries are lost, so I recreated one from scratch that failed... then i found out that the domlogs dir was lost, so re created that. Now apache is back ok

    when we try to restore the BU with a re creation of account it says

    Ouch, sorry that username is taken

    where are those stored, guess i have to erase them first so the scripts wants to restore all

    thanks

    eric
     
  2. icanectc

    icanectc Well-Known Member

    Joined:
    Mar 10, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    16
    It checks the accounts in /home/user_id

    make sure the user id in home is not present.
     
  3. bidouilleur

    bidouilleur Well-Known Member

    Joined:
    Apr 27, 2003
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    too simple if you know :rolleyes:

    thanks, am diving in the server again
     
  4. Wallaby

    Wallaby Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    131
    Likes Received:
    1
    Trophy Points:
    18
    Just had the same issue -- because of a bug in the account creation script, which was causing it to "run away" before completing (see other posts today, fix is /scripts/updatenow), I had 2 part-created accounts.

    The account creation script, and other crucial scripts, need to be written with a transaction processing metaphor -- in other words, unless you can do *all* of the stuff, with no errors, make sure that the account creation is rolled back. It shouldn't be too difficult to keep a log and have WHM automatically say "you have a half-completed operation XXX -- shall I roll this back for you?"
     
  5. JP-HOST

    JP-HOST Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Roscoe, IL, USA
    How can I get rid of these half created accounts? They don't exist in the /home/ dir.
     
  6. JP-HOST

    JP-HOST Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Roscoe, IL, USA
    Is there anyone out there that can answer this? It is really annoying, as I cannot use my test domain again till it is fixed...
     
  7. ehsanix

    ehsanix Member

    Joined:
    Mar 3, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I have the exact same problem, this happend a few days ago when the wwwacct script was corrupted from cpanel, as I found this user has no domain and I can even log into its cpanel,
    As I located the user related files in shell, it found many filse too,

    Any Idea how I can get rid of this user !? :confused:
     
  8. ehsanix

    ehsanix Member

    Joined:
    Mar 3, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    hi!

    I just found the solution, used the folowing commands:

    userdel username
    groupdel username

    and also used this to get rid of it's files:
    rm -rf /home/username

    :cool:
     
  9. JP-HOST

    JP-HOST Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Roscoe, IL, USA
    Worked perfectly, thanks!
     
  10. joblack33

    joblack33 Registered

    Joined:
    Feb 20, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Tnx EHsan
    it realy Worked. you are Great man ;)
     

Share This Page