indharajith

Member
Mar 12, 2017
9
1
3
India
cPanel Access Level
Root Administrator
Hello,
I try to update my cpanel server to latest version but it reboot automatically. So I try to open my whm panel but it can't open.
I try to update cpanel from ssh by using the script /usr/local/cpanel/scripts/upcp --force and /scripts/upcp --force but t says "-bash: /xxxx/xxxx/xxx: No such file or directory"
I'm also try to fix rpm but im getting
Can't locate Cpanel/SafeDir/MK.pm in @INC (you may need to install the Cpanel::SafeDir::MK module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /usr/local/cpanel/Cpanel/Update/Logger.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Update/Logger.pm line 10.
Compilation failed in require at /scripts/check_cpanel_rpms line 23.
BEGIN failed--compilation aborted at /scripts/check_cpanel_rpms line 23.

this error
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
Hi @indharajith

When you run
Code:
/scripts/find_and_fix_rpm_issues --rebuildonly
do you continue to get the same output?


Please note this will just rebuild the RPM database:
--rebuildonly - Unconditionally rebuild the RPM database.