9 Replies Latest reply: Dec 11, 2012 1:12 PM by User9160006-Oracle RSS

    OEM 12c OPS Center Installation issue : Error installing ipmitool - Help

    978599
      Hi Experts,

      I need your urgent help, I am trying since long to get this basic installation done for OEM 12c OPS Center. It is failing with below error :-

      System Configuration : -

      [root@test tmp]# uname -a
      Linux test 2.6.18-128.el5PAE #1 SMP Wed Dec 17 12:02:33 EST 2008 i686 i686 i386 GNU/Linux
      [root@test rda]# cat /etc/redhat-release
      Red Hat Enterprise Linux Server release 5.5 (Tikanga)
      [root@test tmp]#


      Ops Center Enterprise Controller Installer
      (version 12.1.2.2161 on Linux)

      1. Check for installation prerequisites. [Completed]
      2. Check that required RPM packages are present. [Completed]
      3. Configure file systems. [Completed]
      4. Install prerequisite packages. [Completed]
      5. Install Agent components. [Not Completed]
      6. Create Deployable Proxy Bundles. [Not Completed]
      7. Install application packages. [Not Completed]
      8. Run postinstall tasks. [Not Completed]
      9. Install IPMI tool. [Not Completed]
      10. Set database credentials. [Not Completed]
      11. Install and Configure Oracle Database. [Not Completed]
      12. Seed Ops Center Database Schema [Not Completed]
      13. Install Service container components. [Not Completed]
      14. Install Core Channel components. [Not Completed]
      15. Install Proxy Core components. [Not Completed]
      16. Set Proxy database credentials. [Not Completed]
      17. Install Enterprise Controller components. [Not Completed]
      18. Install Update Connection - Enterprise. [Not Completed]
      19. Install Ops Center BUI components. [Not Completed]
      20. Install OS provisioning components. [Not Completed]
      21. Initialize and start services. [Not Completed]

      Failed Step: Install Agent components.
      The following is a portion of the installer
      log which may indicate the cause of the error.
      If this does not indicate the cause of the
      error, you will need to view the full log
      file. More information on how to do that is
      available below.
      * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

      Installed oracle-hmp-tools-ubiosconfig.
      utils/install_pkg -a -R /opt/sun/n1gc/pkgs -L /var/scn/install/install-log_12.1.2.2161_29050 i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm os=redhat osrel=5 arch=i386 rpmopts=--relocate root=/opt/sun/n1gc/pkgs
      Error installing ipmitool.

      24 packages installed.
      1 package failed to install.
      Errors were encountered; see log file for details.

      Detailed installation log is at /var/scn/install/install-log_12.1.2.2161_29050. Symlink /var/scn/install/log was updated to point to it.
      Uninstall using /var/scn/install/uninstall.
      Error running Agent Controller installer: 1
      Refer to /var/scn/install/log for more info.
      * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
      Please fix the problem and then try this step again.
      For a full log of the failed install see the file: /var/tmp/installer.log.5816.

      t. Try this step again (correct the failure before proceeding)
      x. Exit
      Enter selection: (t/x)
        • 1. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
          User12617625-Oracle
          What does it say in /var/scn/install/log?
          • 2. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
            978599
            Reinstalling version 2.2.3a-1.el5 of oracle-hmp-libs.
            rpm upgrade replacepkgs replacefiles nodeps --root /  i386/redhat5/oracle-hmp-libs-2.2.3a-1.el5.i386.rpm
            policycoreutils-1.33.12-14.8.el5
            Installation of oracle-hmp-libs, version 2.2.3a-1.el5 was successful.

            Reinstalling version 2.2.3a-1.el5 of oracle-hmp-tools.
            rpm upgrade replacepkgs replacefiles nodeps --root /  i386/redhat5/oracle-hmp-tools-2.2.3a-1.el5.i386.rpm
            Installation of oracle-hmp-tools, version 2.2.3a-1.el5 was successful.

            Reinstalling version 2.2.3a-1.el5 of oracle-hmp-tools-biosconfig.
            rpm upgrade replacepkgs replacefiles nodeps --root /  i386/redhat5/oracle-hmp-tools-biosconfig-2.2.3a-1.el5.i386.rpm
            Installation of oracle-hmp-tools-biosconfig, version 2.2.3a-1.el5 was successful.

            Reinstalling version 2.2.3a-1.el5 of oracle-hmp-tools-ubiosconfig.
            rpm upgrade replacepkgs replacefiles nodeps --root /  i386/redhat5/oracle-hmp-tools-ubiosconfig-2.2.3a-1.el5.i386.rpm
            Installation of oracle-hmp-tools-ubiosconfig, version 2.2.3a-1.el5 was successful.

            ipmitool is not installed on the system, so installing it.
            +rpm upgrade replacepkgs replacefiles nodeps root /opt/sun/n1gc/pkgs  relocate i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm+
            rpm: relocations must begin with a /
            Error 1 installing ipmitool.

            24 packages installed.
            1 package failed to install.
            Errors were encountered.
            End Time: Sat Dec 8 05:57:14 IST 2012.


            Error at ipmitool installation even though rpm is present
            • 3. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
              User12617625-Oracle
              I don't have a linux system to test with currently and haven't heard of this issue, but I would try the last failing command from the command line. Maybe there is a syntax error in there? The rpm should be in the tar ball you are uninstalling from. But you get that rpm installed via command line and re-run the installer it should be ok.
              • 4. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
                978599
                Thanks for your update, you are saying correct like if we do it manually, rest should work but still don't know why is is not working, I installed package directly but later on removed cause from installer it was stuck at same position.

                Examples :-

                redhat5]# rpm upgrade replacepkgs replacefiles nodeps root /opt/sun/n1gc/pkgs  relocate i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm
                rpm: relocations must begin with a /

                redhat5]# rpm upgrade replacepkgs replacefiles nodeps root /opt/sun/n1gc/pkgs  relocate /var/tmp/OC/xvmoc_full_bundle/Linux_i686/Product/components/OpsCenterAgent/i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm
                rpm: relocations must contain a =

                Don't know how and where give this = sign

                redhat5]# rpm -ivh ipmitool-1.8.10.4-1.el5.i386.rpm
                Preparing... ########################################### [100%]
                1:ipmitool ########################################### [100%]

                This i did but when I ran installer again, it failed. So I uninstalled it but I feel if above command can be corrected in any way it should work but don't know how :(

                Please help if anyone can ?
                • 5. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
                  User9160006-Oracle
                  This is a new issue that only impacts 32bit Linux 5.*. It is being tracked as bug 15974655

                  The workaround it to manually install ipmitool prior to installing OC. To install,

                  cd OpsCenterAgent
                  rpm upgrade replacepkgs replacefiles nodeps --root /opt/sun/n1gc/pkgs i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                  • 6. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
                    978599
                    Hi,

                    Thanks for your suggestion. its really good info you informed. I tried the same but don't know installer again not able to proceed.

                    Stuck at same point, will show you. It is not skipping that step. :-

                    [root@test1 OpsCenterAgent]# rpm upgrade replacepkgs replacefiles nodeps --root /opt/sun/n1gc/pkgs i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm
                    [root@test1 OpsCenterAgent]# pwd
                    /var/tmp/OC/xvmoc_full_bundle/Linux_i686/Product/components/OpsCenterAgent
                    [root@test1 OpsCenterAgent]#

                    When I chcked the log, it stuck at same point ipmitool :( :( Now not sure how to proceed.

                    Failed Step: Install Agent components.
                    The following is a portion of the installer
                    log which may indicate the cause of the error.
                    If this does not indicate the cause of the
                    error, you will need to view the full log
                    file. More information on how to do that is
                    available below.
                    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


                    You may force upgrading the file version by running:
                    # ./OCDoctor.sh update file <file> --force

                    24 packages installed.
                    1 package failed to install.
                    Errors were encountered; see log file for details.

                    Detailed installation log is at /var/scn/install/install-log_12.1.2.2161_4486. Symlink /var/scn/install/log was updated to point to it.
                    Uninstall using /var/scn/install/uninstall.
                    Error running Agent Controller installer: 1
                    Refer to /var/scn/install/log for more info.
                    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
                    Please fix the problem and then try this step again.
                    For a full log of the failed install see the file: /var/tmp/installer.log.2160.

                    t. Try this step again (correct the failure before proceeding)
                    x. Exit
                    • 7. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
                      Eran_Steiner
                      It looks like it's now stuck in a different point - at the Doctor upgrade portion which is part of the agent package.

                      What do you see in /var/scn/install/log ?
                      • 8. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
                        978599
                        Hi Eran,

                        No, it doesn't stuck at Doctor upgrade, when I chcked the log. It says again failing at ipmitool only. not sure how we can proceed with that step or is there any way we can skip that step. ?
                        • 9. Re: OEM 12c OPS Center Installation issue : Error installing ipmitool - Help
                          User9160006-Oracle
                          Hmmm, are you sure the rpm was installed with the root option?  When installed with the root option
                          you shouldn't be able to see it with 'rpm -qa ipmitool'. You also need to add the --root option to
                          the 'rpm -qa' command. For example, from my Linux 5.5 system:

                          # rpm upgrade replacepkgs replacefiles nodeps --root /opt/sun/n1gc/pkgs i386/redhat5/ipmitool-1.8.10.4-1.el5.i386.rpm
                          #
                          # rpm -qa ipmitool[dsechres@sysnet-v20z-coso5 OpsCenterAgent]#
                          # rpm -qa --root /opt/sun/n1gc/pkgs
                          ipmitool-1.8.10.4-1.el5

                          What do these commands show?
                          rpm -qa --root /opt/sun/n1gc/pkgs
                          ls /opt/sun/n1gc/pkgs/usr/bin/ipmitool

                          These will verify if the rpm was installed in the proper location.