Skip to main content

[Case 84181] EasyApache update fails in case of yum error

Comments

14 comments

  • SpiderWeb
    Im also getting this issue, am working on it now
    0
  • SpiderWeb
    i cant find where it was but there is another post about this saying its a bug.
    0
  • cPanelMichael
    Hello :) There is an internal case open to address this issue. For reference, the case number is 84181. This thread will be updated with more information as it becomes available (including an ETA on when a resolution will be pushed out). Thank you.
    0
  • SpiderWeb
    1. Run /scripts/easyapache once to have Tomcat fail as we add the java rpms during this steps if it isn't already installed (it wasn't on the test machines before this step). 2. Remove the java rpms that are 1 minor version higher rpm -e --nodeps java-1.7.0-openjdk-devel-1.7.0.45-2.4.3.3.el6.x86_64 rpm -e --nodeps java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 3. Set java* in the exclude line for /etc/yum.conf file so we don't re-force the new minor version (we do otherwise on /scripts/easyapache run) -bash-4.1# grep exclude /etc/yum.conf exclude=bind-chroot courier* dovecot* exim* filesystem httpd* java* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail* 3. Add the 1 version lower rpms from source wget rpm -Uvh java-1.7.0-openjdk-1.7.0.45-2.4.3.2.el6_4.x86_64.rpm rpm -Uvh java-1.7.0-openjdk-devel-1.7.0.45-2.4.3.2.el6_4.x86_64.rpm 4. Re-run /scripts/easyapache to see that Tomcat now does not fail to compile on either CentOS 6.4 or CentOS 6.5 machines. cPanel staff confirm this?
    0
  • ScottTh
    Thanks to everyone for catching this issue and bringing it to our attention. The EasyApache team is aware of this error and a fix will be on its way in the near future. Please stay tuned to this thread and our [url=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/ChangeLog/EasyApache]change log for additional updates and announcements!
    0
  • MH-Stefan
    Do you have an estimated date when this will be fixed? We're still on CL 6.4 and cPanel can't install all other yum updates. No rush, just wanna know. :) Thanks!
    0
  • KurtN.
    This is resolved with EasyApache 3.22.25, which was released today.
    0
  • nibb
    What a mess is 11.40 so far. Nothing but troubles and bugs. So what about those that upgraded Java before? Do we need to recompile everything with Easy Apache or how exactly do we fix the broken yum repos?
    0
  • MH-Stefan
    We had to run upcp (cPanel update) first to update to CL 6.5 and then EasyApache worked properly. No problems since then.
    0
  • nibb
    [quote="MH-Stefan, post: 1534022">We had to run upcp (cPanel update) first to update to CL 6.5 and then EasyApache worked properly. No problems since then.
    My problem is not with Easy Apache but with the broken yum.
    0
  • MH-Stefan
    Since Java is part of EasyApache, I'm quite sure that you need to have the latest EasyApache version first. The latest EasyApache update addresses exactly this specific bug. Here's what you can try: - Go to Home " Software " EasyApache (Apache Update). You don't have to run it yet, but only access it so it retrieves the latest files. - Run /scripts/upcp or update cPanel through the WHM interface. It will then update Java and all other packages. - Run EasyApache to make sure that everything is up-to-date. This worked excellent in our case.
    0
  • KurtN.
    [quote="MH-Stefan, post: 1534042">Since Java is part of EasyApache, I'm quite sure that you need to have the latest EasyApache version first. The latest EasyApache update addresses exactly this specific bug. Here's what you can try: - Go to Home " Software " EasyApache (Apache Update). You don't have to run it yet, but only access it so it retrieves the latest files. - Run /scripts/upcp or update cPanel through the WHM interface. It will then update Java and all other packages. - Run EasyApache to make sure that everything is up-to-date. This worked excellent in our case.
    I'd like to provide a small semantical point that java is not provided by EasyApache itself. It uses yum to install the CentOS version of openJDK when you select Tomcat 7.0.
    0
  • nibb
    This should fix it: /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    0
  • ScottTh
    Hi everyone, Our fix for this issues has been released in EasyApache 3.22.25. The change log can be seen here.
    0

Please sign in to leave a comment.