[Solved] Sorry, a group for that username already exists – Error while creating a user in WHM/cPanel server

In some strange situation, you may get an error related with the user group while creating a user under your WHM server. Here is the solution for that, see the error details pasted below:

Error:

cPanel/WHM Error: Sorry, a group for that username already exists.
Account Creation Status: failed

Solution:
Check the ‘passwd‘ and ‘group‘ file under the directory etc and confirm the username is not there. Do follow the below pasted steps;

Step I : SSH to your server as root.
Step II : Change the directory to ‘/etc
Step III : Check ‘passwd‘ and ‘group‘ file.

You may cross check the user and remove the entry from that file to solve the issue. Then, try to create the user.

That’s it. 🙂

 

Related posts:
1, Important cPanel service’s configuration file, path, service name, port – Command line view
2, How to change cpanel port through command line
3, How to enable Varnish in cPanel server
4, How to check the version of your WHM/cPanel from command line ?
5, How to get a list of total cPanel users under a specific re-seller via command line
6, How to get a list of re-sellers’ name under your WHM/cPanel server – Command-line option
7, How to rebuild the “httpd conf” file in cPanel server – Command-line option
8, How to change ftp port – cpanel
9, How to change cpanel account password from command line
10, How to remove parked domain through command line – cpanel
11, How to change the apache port via command line in cpanel
12, How to upgrade MySQL from 5.1 to 5.5 in a cPanel server – command line option
13, how to enable MySQLi extension on web-server
14, Is there any option/scripts to change the cPanel email account’s password from command line
15, How to install nginx as reverse proxy in a cPanel server

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *