Press "Enter" to skip to content

cPanel previous attempt to change the hostname is still running

Such error message may received in WHM change hostname feature due to a failure of the previous operation without deleting the lock file.
All you need to do is delete the lock file:

rm -f /var/cpanel/.application-locks/UpdateHostname

Now setup a valid DNS hostname!

/usr/local/cpanel/bin/set_hostname [yourhostname]

Run some tests:
Centos 6:


Centos 7:


Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *