Operating System & Version
Cloudlinux 7.7
cPanel & WHM Version
11.86.0.17

RedOzzy

Registered
Mar 31, 2020
2
0
1
Adelaide
cPanel Access Level
Root Administrator
Hi All,

I'm new to cPanel administration,

Our cPanel &WHM server gets this error when updating.:

[2020-03-28 04:32:56 +1030] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 251367) reported error number 1 when it ended.

after running the rpmup manually .

rpmup: line 10: package: command not found
rpmup: line 11: use: command not found
rpmup: line 12: use: command not found
rpmup: line 14: use: command not found
rpmup: line 15: syntax error near unexpected token `('
rpmup: line 15: `use Getopt::Param ();'


when opening the file up.

10: package scripts::rpmup;
11: use strict;
12: use warnings;
13:
14: use Cpanel::Imports;
15: use Getopt::Param ();
16: use Cpanel::Update::Config ();
17: use Cpanel::SysPkgs ();
18: use Cpanel::PackMan ();
19: use Cpanel::ProgLang ();
20: use Cpanel::Debug ();
21: use Cpanel::SafeRun::Errors ();
22: use Cpanel::Config::LoadCpConf ();
23: use Cpanel::Cron::Utils ();
24: use Cpanel::ServerTasks ();
25: use Cpanel::GenSysInfo (); # Already included in Cpanel::SysPkgs
26: use Try::Tiny;

Does anyone have an idea how to fix this?

Thanks in advance.
 

RedOzzy

Registered
Mar 31, 2020
2
0
1
Adelaide
cPanel Access Level
Root Administrator
Have you tried running a simple yum update in shell? What does that return?
I've done a yum update but everything appears to be up to date.
Get the message:

Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* EA4: 103.223.184.12
* cpanel-addons-production-feed: 103.223.184.12
* cpanel-plugins: 103.223.184.12
* cloudlinux-x86_64-server-7: cl.mirror.serversaustralia.com.au
cloudlinux-x86_64-server-7 | 1.3 kB 00:00:00
No packages marked for update

Still get same error when running rpmup manually.
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!