eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
I have the same proplem,who can help me on this.

_______________________________________________________

[2018-04-23 01:42:54 +0000] E The install encountered an error: (XID v4xtdk) The system failed to load the module “Cpanel::SafeFile::LockInfoCache” because of an error: Can't locate Cpanel/SafeFile/LockInfoCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 26) line 1.
[2018-04-23 01:42:54 +0000] BEGIN failed--compilation aborted at (eval 26) line 1.
(XID v4xtdk) The system failed to load the module “Cpanel::SafeFile::LockInfoCache” because of an error: Can't locate Cpanel/SafeFile/LockInfoCache.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 26) line 1.
BEGIN failed--compilation aborted at (eval 26) line 1.

2018-04-23 01:42:54 982 (DEBUG): The installation process detected a failed synchronization. The system will reattempt the synchronization with the updatenow.static file...
2018-04-23 01:42:54 988 (FATAL): The installation process was unable to synchronize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.
Removing /root/installer.lock.
[root@ip-172-31-12-66 opt]# ping httpupdate.cpanel.net
PING httpupdate.cpanel.net (76.76.26.254) 56(84) bytes of data.
64 bytes from unknown.carohosting.net (76.76.26.254): icmp_seq=1 ttl=38 time=26.1 ms
64 bytes from unknown.carohosting.net (76.76.26.254): icmp_seq=2 ttl=38 time=26.2 ms
^C
--- httpupdate.cpanel.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 26.193/26.202/26.211/0.009 ms
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @eyanchao,

Can you let us know the contents of the /etc/cpupdate.conf and /etc/resolv.conf files on this system? EX:

Code:
cat /etc/cpupdate.conf
cat /etc/resolv.conf
Thank you.
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
Hello @eyanchao,

Can you let us know the contents of the /etc/cpupdate.conf and /etc/resolv.conf files on this system? EX:

Code:
cat /etc/cpupdate.conf
cat /etc/resolv.conf
Thank you.
Thank you for watching my posts, i think i am in trouble on this for a long time. I run these commans as your follows,then're shown like this:

[root@ip-172-31-12-66 opt]# cat /etc/cpupdate.conf
CPANEL=release
RPMUP=daily
SARULESUP=daily
STAGING_DIR=/usr/local/cpanel
UPDATES=daily

[root@ip-172-31-12-66 opt]# cat /etc/resolv.conf
; generated by /usr/sbin/dhclient-script
search us-east-2.compute.internal
nameserver 172.31.0.2
[root@ip-172-31-12-66 opt]#
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
My vps is on the AWS , the OS is RHEL 7.5, the perl rpm version is perl-5.16.3-292.el7.x86_64, i think the RHEL as the same as the Centos 7.5, so i wrote it on here.


perl -V

Built under linux
Compiled at Mar 2 2017 08:50:35
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.

These above are all paths of the perl in my os.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello @eyanchao,

I moved these posts to a separate thread since you noticed this is happened on AWS (the previous thread related to the Google Compute Engine).

Can you try running "/scripts/upcp --force" and verify if the cPanel update fails?

Thank you.
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
Hello @eyanchao,

I moved these posts to a separate thread since you noticed this is happened on AWS (the previous thread related to the Google Compute Engine).

Can you try running "/scripts/upcp --force" and verify if the cPanel update fails?

Thank you.
OK, you mean directly to run the command "/scripts/upcp --force" or others?


[root@ip-172-31-12-66 opt]# /scripts/upcp --force
-bash: /scripts/upcp: No such file or directory
[root@ip-172-31-12-66 opt]#
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
[root@ip-172-31-12-66 opt]# /scripts/upcp --force
-bash: /scripts/upcp: No such file or directory
[root@ip-172-31-12-66 opt]#
This suggests the initial installation failed. Can you let us know the full steps you took when attempting to install cPanel? For instance, did you install a minimal instance of CentOS 7 first?

Thank you.
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
Before install the cpanel,i ever tried to change the yum repo to Centos,because of the rhel is need subsrcibe via the RHN as you know,but when i found the scripts shown the system is RHEL not the Centos7, so i changed the yum to the RHEL again,it shows the proplem.
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
Before install the cpanel,i ever tried to change the yum repo to Centos,because of the rhel is need subsrcibe via the RHN as you know,but when i found the scripts shown the system is RHEL not the Centos7, so i changed the yum to the RHEL again,it shows the proplem.
Now i have been subcribe to the RHN successfully and update the yum repo.

But when i install the cpanel, it shows the proplem?
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
Now i have been subcribe to the RHN successfully and update the yum repo.

But when i install the cpanel, it shows the proplem.
[root@ip-172-31-12-66 opt]# subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux Server
Product ID: 69
Version: 7.5
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 08/24/2017
Ends: 08/24/2018

[root@ip-172-31-12-66 opt]#
 

eyanchao

Member
Apr 22, 2018
14
0
1
China
cPanel Access Level
Root Administrator
And i have been update the the RHEL yum repo,it still shows the proplem.

[root@ip-172-31-12-66 opt]# yum update -y
Loaded plugins: amazon-id, product-id, rhui-lb, search-disabled-repos, subscription-manager
No packages marked for update
[root@ip-172-31-12-66 opt]#
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
The OS is just the Centos7? the RHEL can't install the cpane?
You must use the official AMI we offer for it to be supported, and currently that makes use of CentOS as opposed to RHEL. I encourage you to open a feature request if you'd like to see an additional AMI for RHEL:

Submit A Feature Request

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463