This system already has an account named . at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 623.
When creating a New User Account in WHM, the process fails, For example, you can see the error “Unable to add user abcd as no space left on device”.
We will resolve the above error and try to create the account again. You will get the below error.
This system already has an account named . at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 623.
Inorder to solve the above error, please follow the below steps.
Go to terminal and run the below command./scripts/killacct cpaneluser
or/scripts/removeacct cpaneluser
or/scripts/removeacct –force cpaneluser
If the issue is still not resolved then follow the below steps.
1) First, login to the server and Go to /etc/group & /etc/passwd and remove the cPanel accounts username from the entries. You might get those in the end of the file.
2) Also, remove the entire directory in /home of the username. For example, if the username is “abcdef”, you would delete the entire directory /home/abcdef from your system
3) Now you have to remove the MySQL database remnants.
4) Type as mysql and enter.
5) Opens up MySQL. You will have a MySQL prompt. Type the following while in the MySQL prompt.
mysql > use mysql;
mysql > delete from user where user=’CPANELUSER’;
mysql > exit;
6) Now go and try to create the account again. It will be successful this time.