upcp - Maintenance ended, however it did not exit cleanly


Well-Known Member
Jun 17, 2006
I know this is an old thread, but I am getting the exact same issue with upcp last night:

SOLVED - cPanel 68 - Maintenance ended, however it did not exit cleanly

# awk '$4=="E"' /var/cpanel/updatelogs/update.1534827841.log
[2018-08-21 05:04:54 +0000] E    [/usr/local/cpanel/scripts/find_outdated_services] The “/usr/local/cpanel/scripts/find_outdated_services --auto” command (process 3012) reported error number 255 when it ended.
[2018-08-21 05:05:51 +0000] E Pre Maintenance ended, however it did not exit cleanly (256). The following events were logged: "scripts/find_outdated_services". Please check the logs for an indication of what happened
I manually ran /usr/local/cpanel/scripts/find_outdated_services which found and restarted 18 outdated services without any error. An earlier post suggested to then rebuild the rpm database and then run upcp --force twice.

According to one post I found, I should start this process with: "Take system to single user mode to avoid further damage and to make backup/restore process easy". This makes it seem to me like rebuilding the rpm database is a non-trivial process, is this correct? Or is there just some simple update command I should run?
Last edited:


Staff member
Apr 11, 2011
Hello @mvandemar,

Booting the server into single-user mode isn't required to solve this type of issue. Can you verify which version of cPanel & WHM is currently installed on this system? You can check by running the following command:

cat /usr/local/cpanel/version
Also, can you run "/scripts/upcp" again to see if the issue persists?

Thank you.