Account Creation Status: failed. A database owner with the name <account-name> already exists.

I have deleted the account from the WHM but while recreating it, I was getting below error -

Account Creation Status: failed
A database owner with the name <account-name> already exists...

It's a bug in the cPanel system, where some configuration files are not removed by the account-deletion scripts.

Solution:

1. Go to /var/cpanel/databases

2. Find the following two entries for the terminated (deleted) account name:
<account-name>.cache
<account-name>.yaml

3. Delete these two files.

4. Now, successfully recreate the terminated account via WHM.

That's it!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to enable root login alerts on cPanel server?

For security reasons, you would like to get an alert to your mailbox if someone logins to the...

SSL Installation error -directive missing closing '>'

While installing the SSL on domain from WHM >> SSL/TLS >> Install an SSL Certificate...

Failed: Account Restore Failed: “clean: Cannot cleanup top level directory:

While restoring the full cPanel backup file in 'tar.gz' format from WHM >> Backup >>...

equired PHP version greater than equal to 5.4.0 AND found version is : 5.3.29 - Softaculous Prestashop not picking up correct php version

You may come across an issue while installing Prestashop via Softaculous regarding not picking up...

sendmail cannot be called directly from a shell with the current user id

While sending email using sendmail scirpt, I was getting the error message as - sendmail:...

Powered by WHMCompleteSolution