upcp script failing from past few days
AnsweredHi,
From past 1 week, upcp cron is failing with below error
[2024-04-16 01:37:02 +0530] E [/usr/local/cpanel/scripts/find_and_fix_rpm_issues] The “/usr/local/cpanel/scripts/find_and_fix_rpm_issues” command (process 203800) ended prematurely because it received the “TERM” (15) signal. The system aborted the subprocess because it reached the timeout of 3,600 seconds.
...
[2024-04-16 02:37:02 +0530] E [/usr/local/cpanel/scripts/update-packages] The “/usr/local/cpanel/scripts/update-packages” command (process 228644) ended prematurely because it received the “TERM” (15) signal. The system aborted the subprocess because it reached the timeout of 3,600 seconds.
I was also getting below error daily from past few days, so i ran yum remove alt-php-xray as suggested at below link, thinking that this is causing upcp to fail https://cloudlinux.zendesk.com/hc/en-us/articles/6559844072604-CL-Shared-edition-is-not-supported-by-X-Ray
{"result": "Current CloudLinux edition: CloudLinux OS Shared or Control Panel: cPanel is not supported by X-Ray"}
But, this command got struck from last 30 mins
[root@s1 ~]# yum remove alt-php-xray
This system is receiving updates from CloudLinux Network server.
Dependencies resolved.
==============================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================
Removing:
alt-php-xray x86_64 0.6-20.el8 @cloudlinux-x86_64-server-8 3.6 M
Removing unused dependencies:
accelerate-wp x86_64 1.9-7.el8.cloudlinux @cloudlinux-x86_64-server-8 7.0 M
alt-redis x86_64 6.2.14-1.el8 @cloudlinux-x86_64-server-8 4.3 M
cloudlinux-awp-plugin noarch 0.6-3.el8.cloudlinux @cloudlinux-x86_64-server-8 13 M
cloudlinux-site-optimization-module x86_64 1.1-15.el8.cloudlinux @cloudlinux-x86_64-server-8 2.2 M
lvemanager-xray noarch 0.19-1.el8.cloudlinux @cloudlinux-x86_64-server-8 3.2 MTransaction Summary
==============================================================================================================================================
Remove 6 PackagesFreed space: 33 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: alt-php-xray-0.6-20.el8.x86_64 1/1
Running scriptlet: alt-php-xray-0.6-20.el8.x86_64 1/6
Erasing : alt-php-xray-0.6-20.el8.x86_64 1/6
Running scriptlet: alt-php-xray-0.6-20.el8.x86_64 1/6
GOT STRUCK HERE. It keeps running
-
Update:
After waiting for 45 mins, i pressed ^C to abort, but after pressing, it continued uninstalling.^Cwarning: %postun(alt-php-xray-0.6-20.el8.x86_64) scriptlet failed, signal 2
Running scriptlet: accelerate-wp-1.9-7.el8.cloudlinux.x86_64 2/6
{
"result": "Unable to run /bin/cloudlinux-awp-admin utility, AccelerateWP is supported only on CloudLinux Shared Pro/Solo OS/OS Admin withcPanel",
"timestamp": 1713256973.460133
}
Redirecting to /bin/systemctl stop clwpos_monitoring.service
Failed to stop clwpos_monitoring.service: Unit clwpos_monitoring.service not loaded.Erasing : accelerate-wp-1.9-7.el8.cloudlinux.x86_64 2/6
Running scriptlet: accelerate-wp-1.9-7.el8.cloudlinux.x86_64 2/6
Erasing : cloudlinux-site-optimization-module-1.1-15.el8.cloudlinux.x86_64 3/6
Running scriptlet: cloudlinux-awp-plugin-0.6-3.el8.cloudlinux.noarch 4/6
Erasing : cloudlinux-awp-plugin-0.6-3.el8.cloudlinux.noarch 4/6
Running scriptlet: cloudlinux-awp-plugin-0.6-3.el8.cloudlinux.noarch 4/6
Running scriptlet: lvemanager-xray-0.19-1.el8.cloudlinux.noarch 5/6
Erasing : lvemanager-xray-0.19-1.el8.cloudlinux.noarch 5/6
Running scriptlet: alt-redis-6.2.14-1.el8.x86_64 6/6
Erasing : alt-redis-6.2.14-1.el8.x86_64 6/6
Running scriptlet: alt-redis-6.2.14-1.el8.x86_64 6/60 -
Update 2 :
After removing alt-php-xray, i ran "/usr/local/cpanel/scripts/upcp" manually, and it completed successfully.1 -
I'm glad you were able to find a solution!
0 -
Now, i started getting new error from past 2 days after the above error is fixed. Not sure if it is related to "yum remove alt-php-xray"
Below is the error, i gotYour CloudLinux Server has issues.
Check cagefs mount points exists:
FAILED: There are missing mount points: ['/var/clwpos/uids']
Command for disabling this cron checker: "cldiag --disable-cron-checkers check-cagefs-mount-points-exist"0 -
I wouldn't expect this error to be related, no. Were you able to rebuild CageFS to get that working?
0 -
I have rebuilt and it said Updating users ...Updating statuses of users ....
Will wait for the cron to run and see if it still reports this issue.
I thought removing alt-php-xray caused the issue because, it didn't execute in a perfect way, i got the below error but uninstallation process completed, so may be there were some leftovers.
warning: %postun(alt-php-xray-0.6-20.el8.x86_64) scriptlet failed, signal 20 -
It might be best to contact CloudLinux (or us if your CloudLinux license was purchased through cPanel) so we can take a look at the system and avoid further damage.
0
Please sign in to leave a comment.
Comments
7 comments