Symptoms
When attempting to create or restore an account, you encounter an error similar to the following.
Failed to create the account: (XID 6shq2n) The domain “domain.tld” already exists in the userdata.
Description
This error frequently occurs after a domain has been removed from the server, but an entry for it still exists in the userdatadomains
file.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Backup the
userdatadomains
file.cp -av /etc/userdatadomains{,.$(date +%s)}
- Run the
updateuserdatacache
script./scripts/updateuserdatacache --force
Additional resources
How to locate 'cruft' left over from a removed domain
How to locate 'cruft' left over from a partially removed account
Comments
0 comments
Article is closed for comments.