1 2 Previous Next 15 Replies Latest reply on Apr 4, 2010 10:39 AM by Bhupendra singh

    Bladelogic Application server 8.0 installation on Solaris zone environment

      Hi all,

       

      We are trying to install Bladelogic application server which is on Solaris zone but we are facing permissions related errors.The installer tries to create/modify files in /etc, /usr ,/lib and throws the error as "Read only file system".

      This error is obvious since these files systems are in Global zones and Read only.

       

      1) Is there any way by which we can install Application server in local zone without making these file systems Read-write for everyone?

       

      2) Will I face same 'Read Only file system' problem if I try to install BDSSA in solaris local zone ?

       

       

      We are now stuck because of these 'Read only" file system errors.

       

       

      Can anyone suggest URGENTLY the resolution ?

        • 1. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
          Bill Robinson

          run the installer w/ the '-local' flag, this should keep things out of the ro file systems.  I don't think bdssa has this issue.

          • 2. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

            We tried -local option as well but the installer still thrown error on /etc and /lib  directories as 'Read only file system'.The installer still tried to write or update these directories.

            • 3. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
              Paul Seager-Smith

              I noticed that 8.0SP2 has an agent installer called:

               

              RSCD800-380-SPARC10-LOCAL

               

              Not sure whether that has changes to make the -local work better in this version, but it may be worth a try.

               

              Paul

              • 4. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
                Peter Reuter

                I've installed a few appservers on sparse zones in 7.6 - a couple of questions:

                 

                Do you get a prompt to ask for the location of the installation directory?

                 

                Are you selecting the Console as part of the installation?  pg. 23 of the installation manual says that the -local optikon is not available for console installation.

                • 5. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
                  Bill Robinson

                  The LOCAL is the solaris pkg version of the agent installer.

                  • 6. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

                    Hi Bill,

                     

                    Thanks for the suggestions.

                     

                    We tried the option of -local while installing Application server and it installed application server successfuly (Except few Perl related errors for which BMC Support suggested to ignore those errors).

                     

                    BUT after the installation the appserver doesn't start (RSCD agent and nsh works without any problem). Even when we try manually to start the appserver (using command ./blappserv start) then it fails with the following error(In console.log) :

                     

                             "Unknown ServerProfileType: true.

                     

                     

                    Any suggestions to how to resolve this ?

                    • 7. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
                      Bill Robinson

                      If you're running the <install dir>/br/blappserv you should only run that as the bladmin user, otherwise your permissions will get all screwed up.

                       

                      I haven't seen that specific error.  At the end of the install you should have seen some messages about setting the LD_LIBRARY_PATH and NSHDIR - are those setup properly when you startup the application?

                       

                      there should have been some init scripts that you can run as root created in the <install_dir>/conf directory.  you may want to use those to start things up.

                       

                      then post the full console and appserver logs after that.

                      • 8. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

                        In the /etc/init.d/blappserv add an export statement for the two variables Bill listed. That should fix it. Make sure that you agent startup scripts do it too.

                        • 9. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

                          We are trying to start appserver (ie., blappserv start) as root user. The installation was also done as root user. Whats the default password for bladmin user (ie., the user which installer creates while installation) so that I can login using this user and try to start appsrever using this user?

                           

                           

                          We selected install directory as /opt/Repository/bmc/bladelogic/8.0

                           

                          Yes, at the end of the install, the NSHDIR and LD_LIBRARY_PATH values are asked, and I believe we entered it correctly (ie., NSHDIR=/opt/Repository/bmc/bladelogic/8.0/NSH  and LD_LIBRARY_PATH=/opt/Repository/bmc/bladelogic/8.0/NSH/lib).

                           

                          I set these variables in local shell and then tried to start the app server from same shell.

                           

                          a) appserver.log file is empty (0 bytes).

                           

                          b) console.log contains following:

                           

                             2010-03-31 19:53:20,893 [INFO] com.bladelogic.mfw.fw.BlManager - Shutdown processes complete
                          com.bladelogic.app.service.bootstrap.DeploymentException: com.bladelogic.mfw.util.BlException: Unknown ServerProfileType: true
                          2010-04-01 14:35:32,138 [INFO] com.bladelogic.mfw.fw.BlManager - Shutdown processes complete
                          com.bladelogic.app.service.bootstrap.DeploymentException: com.bladelogic.mfw.util.BlException: Unknown ServerProfileType: true
                          2010-04-01 15:03:17,181 [INFO] com.bladelogic.mfw.fw.BlManager - Shutdown processes complete
                          com.bladelogic.app.service.bootstrap.DeploymentException: com.bladelogic.mfw.util.BlException: Unknown ServerProfileType: true
                          2010-04-01 15:21:44,857 [INFO] com.bladelogic.mfw.fw.BlManager - Shutdown processes complete
                          com.bladelogic.app.service.bootstrap.DeploymentException: com.bladelogic.mfw.util.BlException: Unknown ServerProfileType: true

                          • 10. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

                            Hi Adam,

                             

                            Thanks. I set NSHDIR and LD_LIBRARY_PATH in the shell before running appserver from same shell , but it didn't work.

                            I will try this by adding these 2 variables in /etc/init.d/blappserv script and then starting appserver. Will update once its done.

                            • 11. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
                              Bill Robinson

                              As root just do 'su - bladmin'.  There is no default passwd created, it's locked by default afaik. 

                               

                              Did you run the blappconf after the install?

                              • 12. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

                                If I try to run blappservas bladmin user then I am prompted for password . Dont know what to enter so the system throws error and comes out due to wrong password.

                                 

                                If I try to start appserver using root then it throws message "No Directory".  NSHDIR and LD_LIBRARY_PATH are set correctly.

                                 

                                I run blappconf after the install

                                 

                                =================================================

                                bash-3.00$ id
                                uid=1030(bladmin) gid=203(bladmin)
                                bash-3.00$ pwd
                                /opt/Repository/bmc/bladelogic/8.0/NSH/conf
                                bash-3.00$ ls -lrt
                                total 51
                                -rw-r--r--   1 root     root           7 Mar 31 19:45 rootroot
                                -rw-r--r--   1 root     root         363 Mar 31 19:45 users
                                -rw-r--r--   1 root     root        1097 Mar 31 19:45 log4crc.internal.txt
                                -rw-r--r--   1 root     root         137 Mar 31 19:45 secure
                                -rw-r--r--   1 root     root          17 Mar 31 19:45 securecert
                                -rwxr-xr-x   1 root     root        1802 Mar 31 19:45 rscd
                                prw-------   1 root     root           0 Mar 31 19:46 keystroke.pipe
                                -rw-------   1 root     root        1750 Mar 31 19:46 certificate.pem
                                -rw-r--r--   1 root     root         318 Apr  3 11:14 exports
                                -rw-r--r--   1 root     root         416 Apr  3 11:15 users.local
                                -rw-r--r--   1 root     root          39 Apr  3 12:50 HOME
                                -rw-r--r--   1 root     root          47 Apr  3 12:50 license.dat
                                -rw-r--r--   1 root     root        2522 Apr  3 12:50 log4crc.txt
                                prw-------   1 root     root           0 Apr  3 12:50 rscd.pipe
                                -rwxr-xr-x   1 root     root        3341 Apr  3 12:50 blappserv
                                -rwxr-xr-x   1 root     root        2863 Apr  3 12:50 blprocserv
                                bash-3.00$ ./blappserv start
                                Starting BladeLogic AppServer
                                Password:
                                su: Sorry
                                bash-3.00$
                                bash-3.00$ su root
                                Password:
                                su: Sorry
                                bash-3.00$ su root
                                Password:
                                # id
                                uid=0(root) gid=0(root)
                                # pwd
                                /opt/Repository/bmc/bladelogic/8.0/NSH/conf
                                # ./blappserv start
                                Starting BladeLogic AppServer
                                su: No directory!
                                #

                                 

                                =================================================

                                blappconf result as below:

                                ------------------------

                                bash-3.00# ./blappconf
                                [03 Apr 2010 15:10:32,723] [AWT-EventQueue-0] [INFO] [::] [Appserver] Loading JNI libaries...
                                [03 Apr 2010 15:10:32,724] [AWT-EventQueue-0] [INFO] [::] [Appserver] Loaded JNI library BlAsJni
                                [03 Apr 2010 15:10:32,795] [AWT-EventQueue-0] [INFO] [::] [Appserver] Loaded JNI library XJNIService
                                [03 Apr 2010 15:10:32,859] [AWT-EventQueue-0] [INFO] [::] [Appserver] Skipped Loading JNI library Atrium Core
                                [03 Apr 2010 15:10:32,860] [AWT-EventQueue-0] [INFO] [::] [Appserver] Initializing JNI Configuration...
                                [03 Apr 2010 15:10:32,862] [AWT-EventQueue-0] [INFO] [::] [Appserver] Initialized JNI library BlAsJni
                                [03 Apr 2010 15:10:32,866] [AWT-EventQueue-0] [INFO] [::] [Appserver] Initialized JNI library XJNIService
                                [03 Apr 2010 15:10:32,866] [AWT-EventQueue-0] [INFO] [::] [Appserver] Initialized JNI library Atrium Core
                                [03 Apr 2010 15:10:32,866] [AWT-EventQueue-0] [INFO] [::] [Appserver] JNI Configuration complete.
                                [03 Apr 2010 15:10:32,875] [AWT-EventQueue-0] [INFO] [::] [Appserver] Starting Model Graph Service...
                                [03 Apr 2010 15:10:35,209] [AWT-EventQueue-0] [INFO] [::] [Appserver] Model Graph Service started.
                                [03 Apr 2010 15:10:35,210] [AWT-EventQueue-0] [INFO] [::] [Appserver] Registering remote services...
                                [03 Apr 2010 15:10:35,212] [AWT-EventQueue-0] [INFO] [::] [Appserver] Remote services registered.
                                [03 Apr 2010 15:10:35,212] [AWT-EventQueue-0] [INFO] [::] [Appserver] Performing post-deployment operations...
                                [03 Apr 2010 15:10:35,212] [AWT-EventQueue-0] [INFO] [::] [Appserver] Post-deployment operations completed.
                                [03 Apr 2010 15:10:41,815] [Thread-5] [INFO] [::] [Appserver] Undeploying
                                [03 Apr 2010 15:10:41,823] [Thread-5] [INFO] [::] [Appserver] Stopping Model Graph Service...
                                [03 Apr 2010 15:10:41,824] [Thread-5] [INFO] [::] [Appserver] Model Graph Service stopped.

                                • 13. Re: Bladelogic Application server 8.0 installation on Solaris zone environment
                                  Bill Robinson

                                  Ok - sorry, there are two blappserv files, one in /br.  The one in conf can be run as root, it calls the on in br.  The one in br should only be run as bladmin. 

                                   

                                  The one in conf will do a su to bladmin and then run the br/blappserv.

                                   

                                  which blappserv did you set the two variables in?

                                  • 14. Re: Bladelogic Application server 8.0 installation on Solaris zone environment

                                    NSHDIR path was not preent in blappserv file (under conf dir) , hence I added it manually (See below).

                                     

                                     

                                    =============================

                                    #!/bin/sh
                                    #
                                    # description: BladeLogic Application Server
                                    # processname: blappserv
                                    NSHDIR=/opt/Repository/bmc/bladelogic/8.0/NSH
                                    export NSHDIR
                                    LD_LIBRARY_PATH=${LD_LIBRARY_PATH:=}${LD_LIBRARY_PATH:+:}/opt/Repository/bmc/bladelogic/8.0/NSH/lib
                                    export LD_LIBRARY_PATH

                                    BRDIR=/opt/Repository/bmc/bladelogic/8.0/NSH/br
                                    PATH=$PATH:$BRDIR
                                    if test -f $BRDIR/AppServerLauncher_console.log
                                    then
                                        chown bladmin $BRDIR/AppServerLauncher_console.log
                                        CONSOLELOG=$BRDIR/AppServerLauncher_console.log
                                    else
                                        CONSOLELOG=/dev/null
                                    =============================

                                     

                                    Does -local installation option creates entries for blappserv under /etc/init.d directory ?

                                    1 2 Previous Next