AWS Installation Error
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
-
Hello @eyanchao, Can you let us know the contents of the /etc/cpupdate.conf and /etc/resolv.conf files on this system? EX: cat /etc/cpupdate.conf cat /etc/resolv.conf
Thank you.0 -
Hello @eyanchao, Can you let us know the contents of the /etc/cpupdate.conf and /etc/resolv.conf files on this system? EX:
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]#0 -
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. 0 -
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. 0 -
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]#0 -
[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.0 -
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. 0 -
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?0 -
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]#0 -
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]# 0 -
Hello, Please ensure you follow the guide we provide at: Launch an AWS AMI Instance - cPanel Knowledge Base - cPanel Documentation It's important to follow this guide if you want to use cPanel & WHM with AWS. Thank you. 0 -
Hmm, i want to know the scripts How detected the os whether it's the rhel OS? 0 -
Hmm, i want to know the scripts How detected the os whether it's the rhel OS?
We only support using the official cPanel & WHM AMI with Amazon Linux and it's based on CentOS. Otherwise, the installation may fail or cPanel & WHM may not function properly. It's important to follow the guide at: Launch an AWS AMI Instance - cPanel Knowledge Base - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
16 comments