cPanel & WHM update process failed every time.
The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: "scripts/check_valid_server_hostname". Review the update logs to determine why the update failed.
Update log preview:
...
...
[2022-02-03 15:44:53 +0530] E [/usr/local/cpanel/scripts/check_valid_server_hostname] ERROR: WHM has detected a manual hostname change.
[2022-02-03 15:44:53 +0530] E [/usr/local/cpanel/scripts/check_valid_server_hostname]
[2022-02-03 15:44:53 +0530] E [/usr/local/cpanel/scripts/check_valid_server_hostname] The system will attempt to synchronize the current hostname " Log closed Thu Feb 3 15:45:17 2022
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (14675) at Thu Feb 3 15:45:17 2022
The system generated this notice on Thursday, February 3, 2022 at 10:15:17 AM UTC.
"cPanel Update Failures" notifications are currently configured to have an importance of "High". You can change the importance or disable this type of notification in WHM"s Contact Manager at:
-
What is the new hostname you set? It should be a valid one with valid TDL. 0 -
I'd recommend going to WHM >> Change Hostname and just try resetting the hostname to see if that takes care of the issue. You can then run the command from the error: /usr/local/cpanel/scripts/check_valid_server_hostname
and it will say "OK" if things are working well.0
Please sign in to leave a comment.
Comments
2 comments