Skip to main content

Cannot create a new account issue

Comments

5 comments

  • dalem
    run /scripts/removeacct username --force then try and add your account
    0
  • cPanelMichael
    Hello @Matthew Nigro, The error message doesn't mean the user is listed in the /local/cpanel/Whostmgr/Accounts/Create.pm file itself, but rather that it exists in one of the configuration files on the server. If you are able to login via SSH as the "root" user, check to see if that username exists in /etc/userdomains or /etc/userdatadomains with commands like this: grep username /etc/userdomains grep username /etc/userdatadomains
    Thank you.
    0
  • garconcn
    Hello @Matthew Nigro, The error message doesn't mean the user is listed in the /local/cpanel/Whostmgr/Accounts/Create.pm file itself, but rather that it exists in one of the configuration files on the server. If you are able to login via SSH as the "root" user, check to see if that username exists in /etc/userdomains or /etc/userdatadomains with commands like this: grep username /etc/userdomains grep username /etc/userdatadomains
    Thank you.

    I am seeing this issue too on v72. The username does not exist in /etc/userdomains or /etc/userdatadomains Never had this issue on older versions.
    0
  • garconcn
    run /scripts/removeacct --user=username --force then try and add your account

    This seems not working. # /scripts/removeacct --user=adxxxx --force Unknown option: user die [removeacct] Invalid username specified: ''. exit level [die] [pid=53384] (Invalid username specified: ''.)
    0
  • cPanelMichael
    This seems not working. # /scripts/removeacct --user=adxxxx --force Unknown option: user die [removeacct] Invalid username specified: ''. exit level [die] [pid=53384] (Invalid username specified: ''.)

    The "--user=username" part of this command is not correct. If you were to run this command, it would look like this: /scripts/removeacct username --force
    I've updated that user's post to reflect this. Thank you.
    0

Please sign in to leave a comment.