Skip to main content

AWS Installation Error

Comments

16 comments

  • cPanelMichael
    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
  • eyanchao
    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
  • eyanchao
    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
  • cPanelMichael
    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
  • eyanchao
    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
  • cPanelMichael
    [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
  • eyanchao
    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
  • eyanchao
    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
  • eyanchao
    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
  • eyanchao
    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
  • cPanelMichael
    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
  • eyanchao
    Hello, Please ensure you follow the guide we provide at:
    0
  • cPanelMichael
    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:
    0
  • eyanchao
    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:
    0
  • eyanchao
    Hmm, i want to know the scripts How detected the os whether it's the rhel OS?
    0
  • cPanelMichael
    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.