How would you rectify the problem ‘Can’t create new cpanel accounts’?

If you are creating a cpanel account for a domain , lets say abc.com and after filling

Up all the details ,required to create a account,you get  the error Unable to add the user

‘abccom’

In that case, refer the below steps to rectify the issue:

1)      First check /usr/local/cpanel/logs/error_log  for the error when trying to create an account.

2)      chmod +w passwd,v ( cd /etc)

3)      ll /etc/group*
-rw-r–r– 1 root root 6336 Nov 16 21:40 /etc/group
-rw——- 1 root root 6359 Nov 16 21:39 /etc/group-

4)      chattr -i /etc/group

5)      mv /etc/gshadow /etc/gsahdow.corrupted

 

And execute the command grpconv to rebuild the file.

You can now create the new account,without any error message.

Share on Twitter
Share on Facebook

BLACK

FRIDAY

DEALS

UP TO 60% OFF
Friday November 27th starts at 9am EST.
While supplies last!