Cannot create a new account issue
Hi all,
[removed hosting provider feedback]
Now that I got that out of the way, I'll ask my question:
So I go into WHM and try to add a new account. I get the error that the "user is already listed in usr/local/cpanel/Whostmgr/Accounts/Create.pm"
So I shuffle over to that directory and any way I try to access it, it says "bash: cd: usr/local/cpanel/Whostmgr/Accounts/Create.pm: No such file or directory"
I don't know what they did when they moved me over, but I cannot find the user to delete the user. Please help?
Thank you!
-
run /scripts/removeacct username --force then try and add your account 0 -
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 -
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 -
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 -
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.
Comments
5 comments