Failed to retrieve Package from Cloudlinux error

KenCope

Member
Aug 28, 2019
8
2
3
London
cPanel Access Level
Root Administrator
Hi, I wonder if you can help me please?

I've just received an email from my server with the above problem reported. Running /usr/local/cpanel/scripts/rpmup I get the following output:

Code:
checkyum version 22.3  (excludes: bind-chroot kernel ruby)
info [rpmup] Starting yum execution “--assumeyes --config /etc/yum.conf update”.
Loaded plugins: fastestmirror, rhnplugin, tsflags, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * EA4: 91.197.228.252
 * cpanel-addons-production-feed: 91.197.228.252
 * cpanel-plugins: 91.197.228.252
Excluding mirror: cl-mirror.vimexx.nl
 * cloudlinux-x86_64-server-7: cl-mirror.fr.planethoster.net
Resolving Dependencies
--> Running transaction check
---> Package python-perf.x86_64 1:3.10.0-962.3.2.lve1.5.26.4.el7 will be updated
---> Package python-perf.x86_64 1:3.10.0-962.3.2.lve1.5.26.5.el7 will be an update
--> Finished Dependency Resolution


Total download size: 1.7 M
Downloading packages:
No Presto metadata available for cloudlinux-x86_64-server-7

info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update”: in 21.929 second(s).
(XID pwzn57) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf update” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf update” command (process 3856444) reported error number 1 when it ended. :

Error downloading packages:
  1:python-perf-3.10.0-962.3.2.lve1.5.26.5.el7.x86_64: failed to retrieve getPackage/python-perf-3.10.0-962.3.2.lve1.5.26.5.el7.x86_64.rpm from cloudlinux-x86_64-server-7
error was [Errno 14] HTTPS Error 404 - Not Found
checkyum version 22.3  (excludes: bind-chroot ruby)
Is there anything I can do to prevent the error recurring? Thanks
 

httpdocs

Well-Known Member
Mar 9, 2018
56
6
83
United States
cPanel Access Level
Root Administrator
This problem may be due to network disturbances.
However, it is clear from the error text that the file is not found in this address.
It is best to use the following command first and then try again.

yum update all -y
 

KenCope

Member
Aug 28, 2019
8
2
3
London
cPanel Access Level
Root Administrator
Hi Lauren,
Thanks for stepping in. I ran the second and all went well until I got towards the end when I had an error:
Code:
 Cleanup    : kmod-libs-20-21.el7.x86_64                                   9/9
grep: /boot/grub2/grub.cfg: No such file or directory
grep: /boot/grub2/grub.cfg: No such file or directory
grep: /boot/grub2/grub.cfg: No such file or directory

[WARNING]    GRUB config file is missing
Regenerating GRUB configuration...
[SUCCESS]    GRUB config has been restored
[WARNING]    Kernel 3.10.0-962.3.2.lve1.5.26.5.el7.x86_64 GRUB entry is missing
[ERROR]    Kernel 3.10.0-962.3.2.lve1.5.26.5.el7.x86_64 initramfs GRUB entry is missing and cannot be automatically added due to unknown reasons, please fix GRUB config manually
!!!! /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache is not executable
The final message was that it was a success!
I'm not sure what i should do next!
 

KenCope

Member
Aug 28, 2019
8
2
3
London
cPanel Access Level
Root Administrator
Do you know if it was able to actually restore the grub.cfg?

Code:
stat /boot/grub2/grub.cfg
Either way, for this issue, if you have a CloudLinux License with us I'd suggest opening a ticket with us. Otherwise you'd want to open a ticket with them directly here: CloudLinux - Main | New template
Thanks Lauren,
It reported
Code:
stat: cannot stat ‘/boot/grub2/grub.cfg’: No such file or directory
Yes, I have a CloudLinux License with you. I'll open a ticket. Thanks for your help.
 
  • Like
Reactions: cPanelLauren