If you are getting the above error then just remove the domain.com entries from the below files :
check the zone file of the domain whether it is exist or not.
And if still doesn’t help then try enabling this option from WHM
Main >> Server Configuration >> Tweak Settings
Allow Creation of Parked/Addon Domains that are not registered
and then edit the cpanel.config file
root@server[#] vi /var/cpanel/cpanel.config
Recently i wanted to terminate one of customer’s account and restore once again. So i used
After terminating the account, in order to restore i used following script.
But the script halted during the process with following error on the screen.
Account Creation Status: failed Sorry, a mysql user with the name xxxx already exists
The error clearly means that the account was not terminate properly and I would need to find out what entry remained in the server that resulting in the error.
After a bit of research I found an user entry in following files.
After removing these entries, execute the following command.
userdel -f username
It worked and I could successfully restore user using the script.
Recently one of our customer complained not being able to login in WHM and was suspecting cphulkd blocking him and wanted us to disable it from the shell. Hence here are the steps I provided him.
Above commands will just stop or disable cphulkd temporarily if you restart the cPanel service, it would again start the cphulkd service. In order to stop it permanently.
You can try
rm -f /var/cpanel/hulkd/enabled