Topic
12 replies Latest Post - ‏2012-06-06T13:19:49Z by RodrigoCruz
hoshi_LOP
hoshi_LOP
3 Posts
ACCEPTED ANSWER

Pinned topic how to install the new esagent on RHEL6

‏2012-05-31T10:53:34Z |
 hello
 
What is the correct procedure for installing  esagent from service productivity tools
 
I've downloaded the new esagent.pLinux-2.0.0-0.ppc.rpm on my RHEL6.2 machine.
from the link below i know that IBM java 6 is a prerequisite  (along with ppc64-diag )
 
Installing IBM Electronic Service Agent:
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liaao/liaaoinstallesa.htm 
 
The Problem, which i believe, is that ibm does not provide rpm packages of IBM Java 6. So even if i install IBM Java 6 on my machine I get the following error
 
---------------------------------------------
 # rpm -ivh esagent.pLinux-2.0.0-0.ppc.rpm
warning: esagent.pLinux-2.0.0-0.ppc.rpm: Header V3 DSA/SHA1 Signature, key ID 3e6e42be: NOKEY
error: Failed dependencies:
        libjvm.so >= 6 is needed by esagent.pLinux-2.0.0-0.ppc
 
--------------------------------------------------------
 
how ever the installation seems to succeed with 'yum localinstall' command ( which is getting the prerequisite from other packages )
 
----------------------------------------------------------
 # yum localinstall esagent.pLinux-2.0.0-0.ppc.rpm
Setting up Local Package Process
Examining esagent.pLinux-2.0.0-0.ppc.rpm: esagent.pLinux-2.0.0-0.ppc
Marking esagent.pLinux-2.0.0-0.ppc.rpm to be installed
Server                                                   | 4.0 kB     00:00 ...
Resolving Dependencies
--> Running transaction check
---> Package esagent.pLinux.ppc 0:2.0.0-0 will be installed
--> Processing Dependency: libjvm.so >= 6 for package: esagent.pLinux-2.0.0-0.ppc
--> Running transaction check
---> Package libgcj.ppc 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libgmp.so.3 for package: libgcj-4.4.6-3.el6.ppc
--> Processing Dependency: libasound.so.2(ALSA_0.9) for package: libgcj-4.4.6-3.el6.ppc
--> Processing Dependency: libasound.so.2 for package: libgcj-4.4.6-3.el6.ppc
--> Processing Dependency: libSM.so.6 for package: libgcj-4.4.6-3.el6.ppc
--> Processing Dependency: libICE.so.6 for package: libgcj-4.4.6-3.el6.ppc
--> Running transaction check
---> Package alsa-lib.ppc 0:1.0.22-3.el6 will be installed
---> Package gmp.ppc 0:4.3.1-7.el6 will be installed
---> Package libICE.ppc 0:1.0.6-1.el6 will be installed
---> Package libSM.ppc 0:1.1.0-7.1.el6 will be installed
--> Processing Dependency: libuuid.so.1 for package: libSM-1.1.0-7.1.el6.ppc
--> Processing Dependency: libuuid.so.1(UUID_1.0) for package: libSM-1.1.0-7.1.el6.ppc
--> Running transaction check
---> Package libuuid.ppc 0:2.17.2-12.4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch  Version             Repository                     Size
================================================================================
Installing:
 esagent.pLinux   ppc   2.0.0-0             /esagent.pLinux-2.0.0-0.ppc   136 M
Installing for dependencies:
 alsa-lib         ppc   1.0.22-3.el6        Server                        373 k
 gmp              ppc   4.3.1-7.el6         Server                        207 k
 libICE           ppc   1.0.6-1.el6         Server                         51 k
 libSM            ppc   1.1.0-7.1.el6       Server                         26 k
 libgcj           ppc   4.4.6-3.el6         Server                         18 M
 libuuid          ppc   2.17.2-12.4.el6     Server                         66 k

Transaction Summary
================================================================================
Install       7 Package(s)

Total size: 155 M
Total download size: 18 M
Installed size: 191 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------
Total                                            39 MB/s |  18 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : libICE-1.0.6-1.el6.ppc                                       1/7
  Installing : alsa-lib-1.0.22-3.el6.ppc                                    2/7
  Installing : gmp-4.3.1-7.el6.ppc                                          3/7
  Installing : libuuid-2.17.2-12.4.el6.ppc                                  4/7
  Installing : libSM-1.1.0-7.1.el6.ppc                                      5/7
  Installing : libgcj-4.4.6-3.el6.ppc                                       6/7
  Installing : esagent.pLinux-2.0.0-0.ppc                                   7/7

Installed:
  esagent.pLinux.ppc 0:2.0.0-0

Dependency Installed:
  alsa-lib.ppc 0:1.0.22-3.el6           gmp.ppc 0:4.3.1-7.el6
  libICE.ppc 0:1.0.6-1.el6              libSM.ppc 0:1.1.0-7.1.el6
  libgcj.ppc 0:4.4.6-3.el6              libuuid.ppc 0:2.17.2-12.4.el6

Complete!
 
----------------------------------------------------------------------------
 
since i believe this isn't the correct procedure, i'm wondering if there is a workaround for this.
 
Updated on 2012-06-06T13:19:49Z at 2012-06-06T13:19:49Z by RodrigoCruz
  • sjennings
    sjennings
    1 Post
    ACCEPTED ANSWER

    Re: how to install the new esagent on RHEL6

    ‏2012-05-31T16:22:42Z  in response to hoshi_LOP
    The recommended way to install the tools now is the PowerLinux Tools Repository:
     
    It should provide a much cleaner way to install and update your packages.
     
    This repository is fairly recent development and any feedback about your experience would be great!
    Updated on 2012-05-31T16:22:42Z at 2012-05-31T16:22:42Z by sjennings
    • RodrigoCruz
      RodrigoCruz
      11 Posts
      ACCEPTED ANSWER

      Re: how to install the new esagent on RHEL6

      ‏2012-05-31T16:37:49Z  in response to sjennings
      The IBM PowerLinux Tools Repository is really a great thing I encourage you to use it, either for ESA or other IBM packages for PowerLinux you might be interested. It is also a channel to get updates. 
       
      But as far as I know it does not provide IBM Java 6 packages. So I suggest another thing: IBM Installation Toolkit for PowerLinux:
       
       
      IBM Installation Toolkit will automatically install ESA for you, including IBM Java 6. If you do not want to use it for whatever reason, you still can find the IBM Java 6 packages you are looking for inside the IBM Installation Toolkit ISO image.
       
      You could then use them to manually install the ESA package.
  • Brian_King
    Brian_King
    14 Posts
    ACCEPTED ANSWER

    Re: how to install the new esagent on RHEL6

    ‏2012-05-31T17:33:44Z  in response to hoshi_LOP
    Most of the supported Linux distributions also ship IBM Java and should be available on either the installation media or the supplemental DVDs. Additionally, you can also download the packages directly from IBM:
     
    http://www.ibm.com/developerworks/java/jdk/linux/download.html
     
    Thanks,
     
    Brian
  • Bill_Buros
    Bill_Buros
    85 Posts
    ACCEPTED ANSWER

    Re: how to install the new esagent on RHEL6

    ‏2012-05-31T18:17:24Z  in response to hoshi_LOP
    I'm a little confused...  you installed IBM Java 6 rpm packages and you still got the failed dependency?   Do you remember which Java packages you installed?
     
     
    So even if i install IBM Java 6 on my machine I get the following error
    ---------------------------------------------
     # rpm -ivh esagent.pLinux-2.0.0-0.ppc.rpm
    warning: esagent.pLinux-2.0.0-0.ppc.rpm: Header V3 DSA/SHA1 Signature, key ID 3e6e42be: NOKEY
    error: Failed dependencies:
            libjvm.so >= 6 is needed by esagent.pLinux-2.0.0-0.ppc
  • willschm
    willschm
    38 Posts
    ACCEPTED ANSWER

    Re: how to install the new esagent on RHEL6

    ‏2012-05-31T21:55:42Z  in response to hoshi_LOP
     The first RPM command does not make any attempts to resolve dependencies, as you saw.
           # rpm -ivh esagent.pLinux-2.0.0-0.ppc.rpm
          warning: esagent.pLinux-2.0.0-0.ppc.rpm: Header V3 DSA/SHA1 Signature, key ID 3e6e42be: NOKEY
          error: Failed dependencies:
                  libjvm.so >= 6 is needed by esagent.pLinux-2.0.0-0.ppc
     

    The  localinstall command apparently does, and gives a hint.  (slightly snipped)
          # yum localinstall esagent.pLinux-2.0.0-0.ppc.rpm
          Setting up Local Package Process
          Examining esagent.pLinux-2.0.0-0.ppc.rpm: esagent.pLinux-2.0.0-0.ppc
          Marking esagent.pLinux-2.0.0-0.ppc.rpm to be installed
           --> Package esagent.pLinux.ppc 0:2.0.0-0 will be installed
           --> Processing Dependency: libjvm.so >= 6 for package: esagent.pLinux-2.0.0-0.ppc
            --> Running transaction check
     ****        ---> Package libgcj.ppc 0:4.4.6-3.el6 will be installed
     
    Thus, if you were to do a 'rpm -qf /usr/lib*/gcj*/libjvm.so` ; I expect you will find the libjvm dependency is actually resolved by the libjvm.so that comes with the distros libgcj package.

     
     
    • Bill_Buros
      Bill_Buros
      85 Posts
      ACCEPTED ANSWER

      Re: how to install the new esagent on RHEL6

      ‏2012-05-31T22:15:13Z  in response to willschm
       Thanks Will, that's interesting to see how much better "yum localinstall" is.    I'm still curious about the various pre-req levels of Java..     Sounds like the esagent doesn't really need the IBM Java release?
      • willschm
        willschm
        38 Posts
        ACCEPTED ANSWER

        Re: how to install the new esagent on RHEL6

        ‏2012-05-31T22:27:02Z  in response to Bill_Buros
         > Thanks Will, that's interesting to see how much better "yum localinstall" is.    I'm still curious about the various
        > pre-req levels of Java..     Sounds like the esagent doesn't really need the IBM Java release?
         
        Yeah, from what we see here, and as far as rpm is concerned, it doesn't need the IBM Java release.  :-)   Now whether it (esagent) will function properly with the gcj version, versus the IBM Java version, I've no idea.
  • hoshi_LOP
    hoshi_LOP
    3 Posts
    ACCEPTED ANSWER

    Re: how to install the new esagent on RHEL6

    ‏2012-06-01T05:39:19Z  in response to hoshi_LOP
     Thank you everyone!
     
    Sorry for the lack of information
     
    I know that you can download IBM Java 6
     
     
    But looking at download file its a BIN file NOT RPM.
    I did install  both 32 bit and 64 bit, but since it doesn't get affected to the rpm database the rpm command doesn't know libjvm.so got installed.
    That's why ( which i believe) the first error occured.
     
    So i believe running rpm command with "-nodeps" flag was another solution for this.

    here are the commands(I've erased esaagent and libgcj)
    ------------------------------------------
    # ls -l /opt/ibm/ibm-java-ppc-60/jre/bin/java
    -rwxr-xr-x. 1 11276 11106 58639 Mar 21 19:43 /opt/ibm/ibm-java-ppc-60/jre/bin/java
     
    # /opt/ibm/ibm-java-ppc-60/jre/bin/java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pxp3260sr10fp1-20120321_01(SR10 FP1))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
    J9VM - 20120202_101568
    JIT  - r9_20111107_21307ifx1
    GC   - 20120202_AA)
    JCL  - 20120320_01
     
    # ls -l /opt/ibm/java-ppc64-60/jre/bin/java
    -rwxr-xr-x. 1 11276 11106 68162 Mar 21 19:52 /opt/ibm/java-ppc64-60/jre/bin/java
     
    # /opt/ibm/java-ppc64-60/jre/bin/java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pxp6460sr10fp1-20120321_01(SR10 FP1))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux ppc64-64 jvmxp6460sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
    J9VM - 20120202_101568
    JIT  - r9_20111107_21307ifx1
    GC   - 20120202_AA)
    JCL  - 20120320_01
     
    # rpm -qa | grep java
    java_cup-0.10k-5.el6.ppc64
    java-1.5.0-gcj-1.5.0.0-29.1.el6.ppc64
    gcc-java-4.4.6-3.el6.ppc64
     
    # rpm -Uvh esagent.pLinux-2.0.0-0.ppc.rpm
    warning: esagent.pLinux-2.0.0-0.ppc.rpm: Header V3 DSA/SHA1 Signature, key ID 3e6e42be: NOKEY
    error: Failed dependencies:
            libjvm.so >= 6 is needed by esagent.pLinux-2.0.0-0.ppc
    -------------------------------------------
    about, IBM Installation toolkit  thanks for the advice but I really do not want to use it since it doesn't support LVM.
    Any other ideas?
     
    Thanks,
    Updated on 2012-06-01T05:39:19Z at 2012-06-01T05:39:19Z by hoshi_LOP
  • hoshi_LOP
    hoshi_LOP
    3 Posts
    ACCEPTED ANSWER

    Re: how to install the new esagent on RHEL6

    ‏2012-06-01T11:06:19Z  in response to hoshi_LOP
     > about, IBM Installation toolkit  thanks for the advice but I really do not want to use it since it doesn't support LVM.
     
    sorry , i was confused about "IBM Installation toolkit " and thought this was for OS install purpose only.
    downloaded the iso file mounted it on my PC and FOUND the IBM java rpms.
     
    I'll try this when i have time and give feedback
     
    thanks
     
    • JayFurmanek
      JayFurmanek
      59 Posts
      ACCEPTED ANSWER

      Re: how to install the new esagent on RHEL6

      ‏2012-06-01T21:45:16Z  in response to hoshi_LOP
      Hi Hoshi,
       
      For future reference, the IBM Installation Toolkit does support LVM now (in version 5.x).
      NPIV and multipath installs still require use of the distro's graphical installer, however.
       
      • RodrigoCruz
        RodrigoCruz
        11 Posts
        ACCEPTED ANSWER

        Re: how to install the new esagent on RHEL6

        ‏2012-06-06T13:18:10Z  in response to JayFurmanek
        Yes, IBM Installation Toolkit supports LVM since version 4.2, from 12/2010. Additionally, in case you might be interested, it also supports software RAID since version 5.0, from 05/2011.
        • RodrigoCruz
          RodrigoCruz
          11 Posts
          ACCEPTED ANSWER

          Re: how to install the new esagent on RHEL6

          ‏2012-06-06T13:19:49Z  in response to RodrigoCruz
          Hoshi,

          Btw, where did you see that IBM Installation Toolkit does not support LVM? Maybe it is a documentation issue that could be fixed.
           
          Thanks, 
          Rodrigo