13 Replies Latest reply on Apr 15, 2012 9:16 PM by Bill Robinson

    Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

      Hi,

       

      I`m unable to install RSCD on mentioned virtual server (running in VMware workstation 8). Installation looks like this:

       

      [root@linux02 tmp]# sestatus

      SELinux status:                 disabled

      [root@linux02 tmp]# ./RSCD82-LIN64.sh

       

      ...

       

       

      ========== Creating Directories in Target Directory ==========

       

       

      [--------------------]

      [####################]

       

       

      ... Done

       

       

      ============ Copying Files into Target Directory =============

       

       

      [--------------------]

      [####################]

       

       

      ... Done

       

       

      ============== Setting Up Operating Environment ==============

       

       

      Creating HOME file in /etc/rsc

       

       

      ... Done

       

       

      ===================== Configuring Logging ====================

       

       

      ... Done

       

       

      =============== Installing the Shared Libraries ==============

       

       

      ... Done

       

       

      We could not detect a suitable random hardware device on this machine.

       

       

      ****************************** Warning ******************************

      ***

      *** This software requires that a suitable random device be installed,

      *** and no device was found. You must install a working /dev/random or

      *** configure your own prngd to listen on either /var/run/egd-pool,

      *** /dev/egd-pool, /etc/egd-pool, or /etc/entropy.

      ***

      *** Aborting installation....

      ***

      *********************************************************************

       

       

      Removing temporary files. This may take a minute ...

       

       

      =================== Installation Complete ====================

       

       

      The installation did not complete. There was no suitable random device found

      on the system.

       

       

       

      I do have random device on this server:

       

      [root@linux02 tmp]# ls -la /dev/*random

      crw-rw-rw- 1 root root 1, 8 Apr  4 23:48 /dev/random

      crw-rw-rw- 1 root root 1, 9 Apr  4 23:48 /dev/urandom

       

       

      Architecture of virtual server is x64 and package I`m installing is x64 as well:

       

      [root@linux02 tmp]# arch

      x86_64

      [root@linux02 tmp]# ./RSCD82-LIN64.sh

       

       

      Anyone able to provide an explanation to this? I checked /dev/random - it works...

        • 1. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

          Is this Centos 6 ?

          I can only see Centos 4 and Centos 5 in the supportability matrix

          http://media.cms.bmc.com/documents/BMCBladeLogicServerAutomationPlatformSupport-8_2_00.pdf

          1 of 1 people found this helpful
          • 2. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

            Whoa, this might be a blocker. Yep, this is Centos 6.2 server.

             

            I managed to get RSCD installed from .rpm, but it freaked out on freshly-installed Centos 6.2:

             

            [root@linux02 ~]# rpm -Uvh RSCD82-LIN64.rpm

            Preparing...                ########################################### [100%]

               1:BladeLogic_RSCD_Agent  ########################################### [100%]

            Configuring RSCD Agent in /opt/bmc/bladelogic ...

            ./RSCD/pkPostInstall: line 308: file: command not found

            ./RSCD/pkPostInstall: line 639: test: -eq: unary operator expected

            /opt/bmc/bladelogic/RSCD/sbin/secadmin: error while loading shared libraries: libblsrp.so: cannot open shared object file: No such file or directory

            /opt/bmc/bladelogic/RSCD/sbin/secadmin: error while loading shared libraries: libblsrp.so: cannot open shared object file: No such file or directory

            Done

            [root@linux02 ~]# /opt/bmc/bladelogic/RSCD/bin/rscd

            /opt/bmc/bladelogic/RSCD/bin/rscd: error while loading shared libraries: libblsrp.so: cannot open shared object file: No such file or directory

            [root@linux02 ~]# ldd /opt/bmc/bladelogic/RSCD/bin/rscd

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

                    libblsrp.so => not found

                    libnc.so => not found

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

                    liblog4c.so => not found

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

                    librpccommon.so => not found

                    libhsreg.so => not found

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

                    libBLerrors.so => not found

                    libBlMessage.so => not found

                    libbladmin.so => not found

                    libBLCfgParser.so => not found

                    libagentrpc.so => not found

                    libxmlrpc.so => not found

                    libcommonutil.so => not found

                    libblinexclude.so => not found

                    libblssl.so.0.9.8 => not found

                    libblcrypto.so.0.9.8 => not found

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

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

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

             

             

             

            On another server, where I played with CLM installer, I ended up with RSCD installed and all the libs are already there. Are they got themselves installed during CLM install (which failed during RSCD install/license phase)?

            • 3. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

              Many of these libraries are shared with BladeLogic Appserver and NSH, so they might have been installed by any of the NSH/Appserver installers.

              Well , you can get this working , but it is not somethign BMC will support as per  the document above.

               

              What is  the state of the rpm now on the box ?>

              what does rpm -qa says - is it installed ?

              • 4. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

                Rohit - yes, rpm says that package is installed.

                 

                Anyway, I tried CLM installation on Centos5.8, and it failed again on the same step - RSCD installation.

                 

                Remote System Call Daemon (RSCD) installation failed on server [linux03].

                 

                However, on linux03 server I can see both installation directory and running rscd process:

                 

                [root@linux03 bin]# pwd

                /opt/bmc/rscd/NSH/bin

                [root@linux03 bin]# ls -la

                total 5716

                drwxr-xr-x  2 root root    4096 Apr  6 14:15 .

                drwxr-xr-x 18 root root    4096 Apr  6 14:16 ..

                -rwxr-xr-x  1 root root    5320 Apr  6 14:15 actl

                -rwxr-xr-x  1 root root  385520 Apr  6 14:15 bl_gen_rand

                -rwxr-xr-x  1 root root  266336 Apr  6 14:15 blquery

                -rwxr-xr-x  1 root root  384272 Apr  6 14:15 bl_ssl_agent

                -rwxr-xr-x  1 root root     204 Apr  6 14:15 blyum

                -rwxr-xr-x  1 root root  151263 Apr  6 14:15 cabextract

                -rwxr-xr-x  1 root root 1496656 Apr  6 14:15 daalinfo

                -r-sr-xr-x  1 root root  156967 Apr  6 14:15 lsof

                -rwxr-xr-x  1 root root  386032 Apr  6 14:15 nshopt

                -rwxr-xr-x  1 root root  463382 Apr  6 14:15 openssl

                lrwxrwxrwx  1 root root       9 Apr  6 14:15 rscd -> rscd_full

                -rwxr-xr-x  1 root root 1633592 Apr  6 14:15 rscd_full

                -rwxr-xr-x  1 root root  382064 Apr  6 14:15 update

                 

                [root@linux03 bin]# ps -eflH | grep -i rscd

                0 S root     12917 12013  0  75   0 - 15306 -      16:29 pts/2    00:00:00         grep -i rscd

                1 S root      6328  6327  0  77   0 - 25595 -      13:59 ?        00:00:00     bin/rscd

                1 S root      6329  6327  0  85   0 - 25594 -      13:59 ?        00:00:00     bin/rscd

                 

                And that is very interesting, since rscd binary file is lacking necessary libs:

                 

                [root@linux03 bin]# ldd ./rscd_full

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

                        libblsrp.so => not found

                        libnc.so => not found

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

                        liblog4c.so => not found

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

                        librpccommon.so => not found

                        libhsreg.so => not found

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

                        libBLerrors.so => not found

                        libBlMessage.so => not found

                        libbladmin.so => not found

                        libBLCfgParser.so => not found

                        libagentrpc.so => not found

                        libxmlrpc.so => not found

                        libcommonutil.so => not found

                        libblinexclude.so => not found

                        libblssl.so.0.9.8 => not found

                        libblcrypto.so.0.9.8 => not found

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

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

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

                 

                 

                I`m a bit perplexed. Why did the CLM installer failed, when it managed to get rscd installed and started - but without necessary libs

                 

                Thanks!

                • 5. Re: Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random
                  Bill Robinson

                  I just installed the 8.2 agent on a centos 5.6 box and it worked fine.  is there a /tmp/BladeLogic_Install file?

                  • 6. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

                    Bill - yes, it is. Nothing suspisious in it:

                    ...

                    ================= Installing Agent Component =================

                     

                     

                     

                     

                    Updating file /opt/bmc/rscd/NSH/conf/rscd for automatic daemon startup ...

                    ===================== Starting the Agent =====================

                     

                     

                    Starting the RSCD Daemon ... ... Done

                     

                     

                    =================== Installation Complete ====================

                     

                     

                    The installation is complete. You are now ready to begin using

                    BMC BladeLogic Server Automation software.

                     

                     

                    For support please e-mail us at customer_support@bmc.com

                     

                     

                     

                    Bill - have you installed it as a part of CLM Planner process - or you used sh/rpm for it?

                     

                    Thanks!

                    • 7. Re: Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random
                      Bill Robinson

                      I didn’t use the planner. I just used the normal sh installer.

                      • 8. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

                        Ok, last question then.

                         

                        Planner vs normal rpm/sh installs - are they differ in some way?

                         

                        In other words - can I install the same products via old-school rpm/sh packets, so they will be identical to the same software installed by CLM Planner?

                         

                        Thanks Bill!

                        • 9. Re: Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random
                          Bill Robinson

                          ideally yes, though i think the planner does a '-local' install for some of the agents on the clm infrastructure.  -local keeps the agent files self contained into the same directory. 

                           

                          what is the over all problem here?  you are trying to use the planner to install the agent on a centos 6.2 box that you will use as part of the clm infrastructure?  what part? (bsa appserver, etc?)

                          1 of 1 people found this helpful
                          • 10. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

                            Thanks Bill,

                             

                            Whole point was about installing proof of concept CLM on a centos 6.2 infrastructure. Then, we realised that 6.2 is unsupported, and fall back to 5.8.

                            • 11. Re: Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random
                              Bill Robinson

                              And you have the same problem in 5.8 ?

                              • 12. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random

                                Bill, pretty much.

                                 

                                I dumped Centos, and went with 2 RHEL x64 5.5 VM`s on VMWorkstation 8.

                                Each of those having 2vCPU, 1G RAM, well everything listed in requirements in CLM docs.

                                 

                                And CLM installation fail saying:

                                RSCD Agent deployment validation

                                RSCD installation failed on server rhel02.

                                 

                                Funny thing - rscd process is running on rhel02, but again - a lot of unlinked libs for binaries in /opt/bmc/rscd/NSH/bin

                                 

                                So, seems like it`s not really matter which rpm based distro to use - RHEL or Centos - they gave me similar errors while using CLM installer.

                                 

                                Need to mention is that I didn`t provide BladeLogic login/password (put test in login/password) - but I thought that I entitled to use some kind of evaluation licenses, and this should not make CLM installer to fail...

                                 

                                Thanks for your help!

                                • 13. Unable to install RSCD /Centos 6.2 x64, VMware/ - /dev/random
                                  Bill Robinson

                                  the clm installer is going to run the rscd installer so if you can't get the rscd installed by hand i wouldn't expect anything different from the clm installer.

                                   

                                  i've used the same installers w/o issue on VMs in the same setup you have.  can you confirm the md5sums ?  also can you give a uname -a from one of the failing systems and indicate which installer file you used ?