7 Replies Latest reply on Jul 23, 2015 6:26 AM by Steffen Kreis

    BSA 8.6.1 bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:

    Steffen Kreis

      Hi,

       

      we upgraded the BL Console on our Linux RHEL 6 based Orchestrator nodes today, as part of the general DEV 8.6.1 upgrade.

       

      If i remember correctly, the Linux Console installer package usually would upgrade "Console" , "NSH" and "RSCD"

       

      The upgrade told us it went through successfully, but we are unable to start the RSCD agent.

       

      The error is:

      bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:

       

      [root@dcaapd03 bin]# /etc/init.d/rscd start

      Starting Remote System Call Daemon (RSCD) ...bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file: No such file or directory

       

      [root@dcaapd03 bin]# ldd rscd_full

              linux-vdso.so.1 =>  (0x00007fffd01dc000)

              libblsrp.so => /lib64/libblsrp.so (0x00007f82cab40000)

              libnc.so => /lib64/libnc.so (0x00007f82ca8a2000)

              libdl.so.2 => /lib64/libdl.so.2 (0x00007f82ca69d000)

              liblog4c.so => /lib64/liblog4c.so (0x00007f82ca53b000)

              libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f82ca31e000)

              librpccommon.so => /lib64/librpccommon.so (0x00007f82ca127000)

              libhsreg.so => /lib64/libhsreg.so (0x00007f82ca017000)

              libutil.so.1 => /lib64/libutil.so.1 (0x00007f82c9e14000)

              libBLerrors.so => /lib64/libBLerrors.so (0x00007f82c9cce000)

              libBlMessage.so => /lib64/libBlMessage.so (0x00007f82c9bc9000)

              libbladmin.so => /lib64/libbladmin.so (0x00007f82c9a4e000)

              libBLCfgParser.so => /lib64/libBLCfgParser.so (0x00007f82c98e6000)

              libblxerces-c-3.1.so => not found

              libagentrpc.so => /lib64/libagentrpc.so (0x00007f82c9695000)

              libxmlrpc.so => /lib64/libxmlrpc.so (0x00007f82c9568000)

              libcommonutil.so => /lib64/libcommonutil.so (0x00007f82c92c8000)

              libblinexclude.so => /lib64/libblinexclude.so (0x00007f82c91c6000)

              libblssl.so.0.9.8 => /lib64/libblssl.so.0.9.8 (0x00007f82c9076000)

              libblcrypto.so.0.9.8 => /lib64/libblcrypto.so.0.9.8 (0x00007f82c8e15000)

              libm.so.6 => /lib64/libm.so.6 (0x00007f82c8b91000)

              libc.so.6 => /lib64/libc.so.6 (0x00007f82c87fc000)

              libacl.so.1 => /lib64/libacl.so.1 (0x00007f82c85f4000)

              /lib64/ld-linux-x86-64.so.2 (0x00007f82cac9e000)

              libblxerces-c-3.1.so => not found

              libblxerces-c-3.1.so => not found

              libattr.so.1 => /lib64/libattr.so.1 (0x00007f82c83ed000)

      [root@dcaapd03 bin]# locate libblxerces

      [root@dcaapd03 bin]#


      When we now try to run the standalone RSCD installer, it complains it can't be executed, as NSH is already installed on the machine.


      Any idea what happened here ?

       

      Steffen

        • 2. Re: BSA 8.6.1 bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:
          Steffen Kreis

          Nope, it is not there

           

          [root@dcaapd03 lib]# ls -la libblxerces-*

          ls: cannot access libblxerces-*: No such file or directory

          [root@dcaapd03 lib]# pwd

          /opt/bmc/bladelogic/NSH/lib

          [root@dcaapd03 lib]#

          • 4. Re: BSA 8.6.1 bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:

            Steffen

             

            I have seen this problem happening twice

            1) during BSA console upgrade on Orchestrator from 8.3 to 8.5  (missing libxerces-c-3.1.so)

            2) from 8.5 to 8.6 (missing libblxerces-c-3.1.so)

             

            I ended up obtaining proper files from upgraded BSA Application servers and placing them on

            BAO servers.

            In my opinion this is clearly a bug in BMC upgrade process.



            • 5. Re: BSA 8.6.1 bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:
              Iain Taylor

              Steffen Kreis, Could you let me know what resolution you get for the incident you raised, I am encountering nearly exactly the same thing when we recently upgraded the BSA Console on our development BAO peer to 8.6, only real difference is there is a symbolic object link in NSH/lib, see below.

               

              Pavel Leonovitch what was your work around? which files did you pull from the BSA Application server and where did you put them on the BAO server, I am guessing in the NSH/lib directory, but if you could clarify.

               

              [root@BMCAUTOBLDCDP2 init.d]# ./rscd start

              Starting Remote System Call Daemon (RSCD) ...bin/rscd: error while loading share

              d libraries: libblxerces-c-3.1.so: cannot open shared object file: No such file

              or directory

               

              [root@BMCAUTOBLDCDP2 init.d]# cd /opt/bmc/BladeLogic/8.1/NSH/lib

              [root@BMCAUTOBLDCDP2 lib]# cd ../

              [root@BMCAUTOBLDCDP2 NSH]# cd bin

              [root@BMCAUTOBLDCDP2 bin]# ldd rscd_full

                      linux-vdso.so.1 =>  (0x00007fffc93fd000)

                      libblsrp.so => /lib64/libblsrp.so (0x00002b0289654000)

                      libnc.so => /lib64/libnc.so (0x00002b02897a5000)

                      libdl.so.2 => /lib64/libdl.so.2 (0x00000032d6000000)

                      liblog4c.so => /lib64/liblog4c.so (0x00002b0289a44000)

                      libpthread.so.0 => /lib64/libpthread.so.0 (0x00000032d6800000)

                      librpccommon.so => /lib64/librpccommon.so (0x00002b0289ba6000)

                      libhsreg.so => /lib64/libhsreg.so (0x00002b0289d9d000)

                      libutil.so.1 => /lib64/libutil.so.1 (0x00000032e3a00000)

                      libBLerrors.so => /lib64/libBLerrors.so (0x00002b0289ead000)

                      libBlMessage.so => /lib64/libBlMessage.so (0x00002b0289ff3000)

                      libbladmin.so => /lib64/libbladmin.so (0x00002b028a0f8000)

                      libBLCfgParser.so => /lib64/libBLCfgParser.so (0x00002b028a273000)

                      libblxerces-c-3.1.so => not found

                      libagentrpc.so => /lib64/libagentrpc.so (0x00002b028a3db000)

                      libxmlrpc.so => /lib64/libxmlrpc.so (0x00002b028a62c000)

                      libcommonutil.so => /lib64/libcommonutil.so (0x00002b028a759000)

                      libblinexclude.so => /lib64/libblinexclude.so (0x00002b028a9f9000)

                      libblssl.so.0.9.8 => /lib64/libblssl.so.0.9.8 (0x00002b028aafb000)

                      libblcrypto.so.0.9.8 => /lib64/libblcrypto.so.0.9.8 (0x00002b028ac4b000)

                      libm.so.6 => /lib64/libm.so.6 (0x00000032d6400000)

                      libc.so.6 => /lib64/libc.so.6 (0x00000032d5c00000)

                      libacl.so.1 => /lib64/libacl.so.1 (0x00000032d7000000)

                      /lib64/ld-linux-x86-64.so.2 (0x00000032d5800000)

                      libblxerces-c-3.1.so => not found

                      libblxerces-c-3.1.so => not found

                      libattr.so.1 => /lib64/libattr.so.1 (0x00000032da400000)

              [root@BMCAUTOBLDCDP2 bin]# cd ../lib

              [root@BMCAUTOBLDCDP2 lib]# ls -la libblxerces-*

              lrwxrwxrwx 1 root bladmin 18 Apr 23 13:50 libblxerces-c.so -> libxerces-c-3.1.so

               

              Many thanks

               

              Iain

              • 6. Re: BSA 8.6.1 bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:

                you need two files: symlink and actual library file

                their location on BSA server is the same as on BAO server (really depends on how admin chose to install the product(s) )

                 

                In our case the BSA files are located at

                server:/opt/bmc/bladelogic/NSH/lib # pwd; ls -la libblxer*

                /opt/bmc/bladelogic/NSH/lib

                -rwxr-xr-x 1 root root 4278808 Jul 22 09:29 libblxerces-c-3.1.so

                lrwxrwxrwx 1 root root      20 Jul 22 09:29 libblxerces-c.so -> libblxerces-c-3.1.so

                server:/opt/bmc/bladelogic/NSH/lib #

                 

                You will need to

                1) copy   libblxerces-c-3.1.so from BSA app server into NSH/lib/ directory in your BAO BSA client installation

                ( in my case it is the same as BSA - /opt/bmc/bladelogic/NSH/lib/ )

                2) create symlink libblxerces-c.so to point to  libblxerces-c-3.1.so

                3) make sure that permissions and ownership is set correctly

                -rwxr-xr-x 1 root root    libblxerces-c-3.1.so

                lrwxrwxrwx 1 root root  libblxerces-c.so -> libblxerces-c-3.1.so

                1 of 1 people found this helpful
                • 7. Re: BSA 8.6.1 bin/rscd: error while loading shared libraries: libblxerces-c-3.1.so: cannot open shared object file:
                  Steffen Kreis

                  Hi,

                   

                  just wanted to share the feedback i got from BMC on this one a while ago:

                   

                  Our R&D team is actively working on this issue and it's Defect #QM001880133.

                   

                  >> Currently we have tested below workaround for this issue and request you to please perform following steps and let us know if it resolves the issue in your environment.

                   

                   

                  1). Please take a backup of /etc/rsc/HOME like /etc/rsc/HOME_BK. (For example:-  HOME_BK file contains PATH as : /opt/bmc/bladelogic/NSH)

                   

                  2). Then install the latest RSCD agent of version 8.6 SP1, during the installation it will ask for the path, then please provide the path as "/opt/bmc/bladelogic" (Without NSH)

                   

                  Example:-

                  [root@]# mv /etc/rsc/HOME /etc/rsc/HOME_BK

                  [root@]# ./RSCD86-SP1-LIN64.sh

                   

                  Please choose the installation directory as [/opt/bmc/bladelogic]

                   

                  3). It will start upgrade with default directory.

                   

                  4). Once the installation is done, please check for RSCD services.

                   

                  Hope this helps, as it worked for us.

                   

                  Steffen