cPanel-Account creation failed
Introduction
While creating a new hosting account in WHM via Account Functions → Create a New Account, the process may fail with the error:
Account Creation Status: failed (out of available IP addresses)
Unable to find an IP address
This issue occurs when the server is unable to assign a free IP address to the new account. It is commonly linked to the hosting package configuration where Dedicated IP assignment is enabled, requiring a free IP for every new account creation.
Prerequisites
Before performing the resolution steps, ensure the following:
- Root SSH access to the server
- WHM/cPanel administrative access
- Access to package configuration files under:
/var/cpanel/packages/
IMPLEMENTATION
Account Creation Status: failed (Your system has run out of available ip addresses, or you do not have permission to use any more ip addresses. (Unable to find an ip address.) )
You receive the “Account Creation Status: failed†error message while adding a domain from WHM >> Account Functions >> “Create a New Account†option which states that there is no free IP address to assign to your new domain.
The package you are using while adding a domain has the “Dedicated IP†option enabled which searches for a free IP on the server and tries to assign to the every new domain you create. To overcome the issue, you will have to deselect the “Dedicated IP†option from the package which can be achieved via ssh.
Edit the package file located under /var/cpanel/packages
# vi /var/cpanel/packages/packagename
Search for
IP=y
and replace it with
IP=n
CONCLUSION
The error is caused due to the hosting package being configured to assign a Dedicated IP (IP=y) while no free IP addresses are available on the server. By modifying the package configuration to IP=n, the system will use shared IP allocation instead of requiring a dedicated IP for each account.
