The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'EasyApache' started by deddy, Dec 2, 2013.

  1. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    EasyApache update fails when Tomcat is installed:

    ---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.45-2.4.3.2.el6_4 will be updated
    --> Processing Dependency: java7 >= 1.7.0 for package: easy-mysql-connector-java-5.1.25-0.noarch
    --> Processing Dependency: java7 >= 1:1.7.0 for package: easy-jakarta-commons-daemon-1.0.15-0.x86_64
    --> Processing Dependency: java-1.7.0-openjdk = 1:1.7.0.45-2.4.3.2.el6_4 for pac
    ---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.45-2.4.3.3.el6 will be an update
    --> Running transaction check
    ---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.45-2.4.3.2.el6_4 will be updated
    --> Processing Dependency: java7 >= 1.7.0 for package: easy-mysql-connector-java
    --> Processing Dependency: java7 >= 1:1.7.0 for package: easy-jakarta-commons-da
    ---> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.45-2.4.3.2.el6_4 will be up
    ---> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.45-2.4.3.3.el6 will be an u
    --> Finished Dependency Resolution
    Error: Package: easy-mysql-connector-java-5.1.25-0.noarch (installed)
    Requires: java7 >= 1.7.0
    Removing: 1:java-1.7.0-openjdk-1.7.0.45-2.4.3.2.el6_4.x86_64 (@update
    java7 = 1:1.7.0
    Updated By: 1:java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 (base)
    Not found
    Error: Package: easy-jakarta-commons-daemon-1.0.15-0.x86_64 (installed)
    Requires: java7 >= 1:1.7.0
    Removing: 1:java-1.7.0-openjdk-1.7.0.45-2.4.3.2.el6_4.x86_64 (@update
    java7 = 1:1.7.0
    Updated By: 1:java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 (base)
    Not found
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    The problem occurs since CentOS 6.5
    What now ? Thanks.
     
  2. SpiderWeb

    SpiderWeb Member

    Joined:
    Dec 2, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Im also getting this issue, am working on it now
     
  3. SpiderWeb

    SpiderWeb Member

    Joined:
    Dec 2, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    i cant find where it was but there is another post about this saying its a bug.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. SpiderWeb

    SpiderWeb Member

    Joined:
    Dec 2, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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 http://mirror.centos.org/centos/6.4...enjdk-devel-1.7.0.45-2.4.3.2.el6_4.x86_64.rpm
    wget http://mirror.centos.org/centos/6.4...7.0-openjdk-1.7.0.45-2.4.3.2.el6_4.x86_64.rpm

    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?
     
  6. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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 change log for additional updates and announcements!
     
  7. MH-Stefan

    MH-Stefan Member

    Joined:
    Dec 3, 2013
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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!
     
  8. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    This is resolved with EasyApache 3.22.25, which was released today.
     
  9. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
  10. MH-Stefan

    MH-Stefan Member

    Joined:
    Dec 3, 2013
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We had to run upcp (cPanel update) first to update to CL 6.5 and then EasyApache worked properly. No problems since then.
     
  11. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    My problem is not with Easy Apache but with the broken yum.
     
  12. MH-Stefan

    MH-Stefan Member

    Joined:
    Dec 3, 2013
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  13. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    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.
     
  14. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    This should fix it:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
     
  15. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    Our fix for this issues has been released in EasyApache 3.22.25. The change log can be seen here.
     
Loading...
Similar Threads - [Case 84181] EasyApache
  1. guldvog
    Replies:
    10
    Views:
    1,673

Share This Page