Skip to main content

Install on RHEL 7.5 fails

Comments

7 comments

  • cPanelMichael
    Hello @jtaylor0522, Internal case CPANEL-19769 is open to address an issue where systems using RHEL version 7 are unable to update to MySQL version 5.7. This is also resulting in cPanel installation failures now that cPanel & WHM version 70 is utilized for new installations (MySQL version 5.7 is the default in version 70). I'll monitor this case and update this thread with more information as it becomes available. In the meantime, a temporary workaround is to create /root/cpanel_profile/cpanel.config and add the following line to it prior to starting the installation: mysql-version=5.6
    This will set MySQL 5.6 as the version to install during the cPanel installation. You can then upgrade to MySQL version 5.7 once internal case CPANEL-19769 is solved. Alternatively, you could preconfigure the cPanel & WHM release tier to version 68 using the following steps prior to starting the installation: 1. As the root user, create the /etc/cpupdate.conf file. 2. In the /etc/cpupdate.conf file, use the CPANEL parameter to set the release tier. For example, to configure the installer to use cPanel & WHM version 68, add the the following entry to the /etc/cpupdate.conf file: CPANEL=11.68
    Thank you.
    0
  • jtaylor0522
    Hello @jtaylor0522, Internal case CPANEL-19769 is open to address an issue where systems using RHEL version 7 are unable to update to MySQL version 5.7. This is also resulting in cPanel installation failures now that cPanel & WHM version 70 is utilized for new installations (MySQL version 5.7 is the default in version 70). I'll monitor this case and update this thread with more information as it becomes available. In the meantime, a temporary workaround is to create /root/cpanel_profile/cpanel.config and add the following line to it prior to starting the installation: mysql-version=5.6
    This will set MySQL 5.6 as the version to install during the cPanel installation. You can then upgrade to MySQL version 5.7 once internal case CPANEL-19769 is solved. Thank you.

    I'll give that a try. Do I really need to start with a clean server or is there a magic way to tell the installer to try again and ignore the partial existing cpanel install attempt?
    0
  • cPanelMichael
    I'll give that a try. Do I really need to start with a clean server or is there a magic way to tell the installer to try again and ignore the partial existing cpanel install attempt?

    Hello, Generally the best approach is to reinstall the OS and start the installation again. That said, you could try forcing the installation with the use of the "--force" flag. EX: sh latest --force
    Thank you.
    0
  • cPanelMichael
    Hello, To update, this is fixed as of cPanel and WHM version 70.0.38: Fixed case CPANEL-19769: Provide YUM repo RPM for RHEL to install MySQL 7. Thank you.
    0
  • Eli Sheets
    I'm getting the same error and I don't see the answer to how I am supposed to restart or resume the installation process: 2018-06-15 13:00:22 681 ( INFO): Checking for any control panels... 2018-06-15 13:00:22 697 (ERROR): The installation process found evidence that the following control panels were installed on this server: 2018-06-15 13:00:22 698 (ERROR): cPanel & WHM 2018-06-15 13:00:22 699 (FATAL): You must install cPanel & WHM on a clean server. The first time through the installation failed because of a MySQL issue. Now that is resolved but it keeps getting stuck on the above errors as though it was already installed, but it's not. So how do I finish the installation???
    0
  • cPanelMichael
    The first time through the installation failed because of a MySQL issue. Now that is resolved but it keeps getting stuck on the above errors as though it was already installed, but it's not. So how do I finish the installation???

    Hello @Eli Sheets, Did you try using the force flag referenced on
    0
  • RadWebHosting
    Not specific to 7.5, but we've noticed that installing cPanel to a bare-bones, minimal fresh install often works better than even running a quick update script on, oftentimes outdated, OS templates. This is definitely relative to network configuration and not all servers would experience any slowdown by running an update, but just wanted to post this for the admin who comes here tearing their hair out trying to install cPanel. My suggestion, if you've got a fairly good understanding/familiarity with installing cPanel, yet are running into similar issues would be to reload the OS and literally use the
    0

Please sign in to leave a comment.