upcp error - "E [/usr/local/cpanel/scripts/find_outdated_services]"

Michael-Inet

Well-Known Member
Feb 20, 2014
134
20
68
Nashville, TN, USA
cPanel Access Level
Root Administrator
Hi cPanelMichael,

Were do I report errors on the new script? (I don’t want to re-open the case willy-nillly.) One of my servers went to 11.80 this morning and the scripts/find_outdated_services “did not exit cleanly (256).” Bits and surrounding context of the log that seem relevant below.

Thanks, Best,
Michael


Code:
[2019-06-26 03:35:19 -0500]   Retrieving and staging /cpanelsync/11.80.0.18/cpanel/scripts/find_outdated_services.xz

...

[2019-06-26 03:37:02 -0500]      [/usr/local/cpanel/scripts/sysup]   All Needed RPMS are installed.
[2019-06-26 03:37:02 -0500]    - Finished command `/usr/local/cpanel/scripts/sysup` in 0.522 seconds
[2019-06-26 03:37:02 -0500]    - Finished in 0.522 seconds
[2019-06-26 03:37:02 -0500]   Processing: Restarting any outdated services
[2019-06-26 03:37:02 -0500]    - Processing command `/usr/local/cpanel/scripts/find_outdated_services --auto`
[2019-06-26 03:37:12 -0500]      [/usr/local/cpanel/scripts/find_outdated_services] Looking for outdated services …
[2019-06-26 03:37:12 -0500] E    [/usr/local/cpanel/scripts/find_outdated_services] The “/usr/local/cpanel/scripts/find_outdated_services --auto” command (process 14271) reported error number 255 when it ended.
[2019-06-26 03:37:12 -0500]   The Administrator will be notified to review this output when this script completes
[2019-06-26 03:37:12 -0500]    - Finished command `/usr/local/cpanel/scripts/find_outdated_services --auto` in 9.321 seconds
[2019-06-26 03:37:12 -0500]   58% complete
[2019-06-26 03:37:12 -0500]   Processing: Running platform specific optimizations
[2019-06-26 03:37:12 -0500]    - Processing command `/usr/local/cpanel/scripts/vps_optimizer`
[2019-06-26 03:37:12 -0500]      [/usr/local/cpanel/scripts/vps_optimizer] [*] This script is not meant to be run on standard environments
[2019-06-26 03:37:12 -0500]    - Finished command `/usr/local/cpanel/scripts/vps_optimizer` in 0.092 seconds
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello @Michael-Inet,

I moved your post into a separate thread.

Can you confirm if this issue continues to occur over multiple cPanel updates? Here's a command you can use to check:

Code:
grep -R " E    \[/usr/local/cpanel/scripts/find_outdated_services\]" /var/cpanel/updatelogs/
Thank you.
 

Behcet

Registered
Jul 7, 2020
1
0
1
Turkey
cPanel Access Level
Root Administrator
I have this problem too.

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/vps_optimizer”. Review the update logs to determine why the update failed.



Update log preview:



...

...

[2020-06-23 05:58:21 +0300] E [/usr/local/cpanel/scripts/vps_optimizer] The “/usr/local/cpanel/scripts/vps_optimizer” command (process 24888) reported error number 1 when it ended.

...

[2020-06-23 05:58:40 +0300] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.108 seconds

[2020-06-23 05:58:40 +0300] Processing: Checking CloudLinux installation

[2020-06-23 05:58:40 +0300] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`

[2020-06-23 05:58:40 +0300] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.087 seconds

[2020-06-23 05:58:40 +0300] Processing: Updating plugins data cache

[2020-06-23 05:58:40 +0300] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`

[2020-06-23 05:58:41 +0300] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.280 seconds

[2020-06-23 05:58:41 +0300] Processing: Ensuring SSL certificate information for CCS is up to date.

[2020-06-23 05:58:41 +0300] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`

[2020-06-23 05:58:41 +0300] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.005 seconds

[2020-06-23 05:58:41 +0300] Processing: Ensure cpanel-plugins yum repo exists

[2020-06-23 05:58:41 +0300] - Finished in 0.738 seconds

[2020-06-23 05:58:41 +0300] Processing: Checking Addon Licenses

[2020-06-23 05:58:41 +0300] - Finished in 0.002 seconds

[2020-06-23 05:58:41 +0300] Processing: Checking End Of Life for current version.

[2020-06-23 05:58:42 +0300] - Finished in 0.431 seconds

[2020-06-23 05:58:42 +0300] Processing:

[2020-06-23 05:58:42 +0300] Maintenance complete.

=> Log closed Tue Jun 23 05:58:42 2020

----------------------------------------------------------------------------------------------------

=> Log opened from cPanel Update (upcp) - Slave (24314) at Tue Jun 23 05:58:42 2020



The system generated this notice on Tuesday, June 23, 2020 at 2:58:42 AM UTC.


CENTOS 7.8 vmware [ip51] v86.0.22