Can't create cPanel account in WHM usermeta

alexg93

Registered
Feb 23, 2022
1
0
1
UK
cPanel Access Level
Website Owner
Hello

I am getting the following error when trying to create a new cPanel account through WHM. I am simply trying to get access to our cPanel and FTP so I can upload the new site.


Account Creation Status: failed

(XID 2ub23g) The domain “domain.co.uk” already exists in the userdata.


Any help is greatly appreciated. I am not too familiar with the technical details of WHM so please explain in simple terms if you are able to help :)

Thanks!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Hey there! This error indicates that the domain has already been created on the system, either with its own cPanel account, or under an existing account.

I would try running the following command on the machine to track down where that is set up:

Code:
grep -Ri domain.co.uk /var/cpanel/userdata
and that will show you the account or file it exists in. You'll just need to replace "domain.co.uk" in that command with the actual domain name you are looking for.

Once you find the file, you can then check the related cPanel account. Everything under /var/cpanel/userdata is arranged in directories with the username, such as /var/cpanel/userdata/username, so you'll know which account to check.