4 Replies Latest reply on Oct 23, 2013 11:16 AM by Bill Robinson

    BSA appserver silent install

    Kate Fell


      When doing a silent install of a BSA application server I am getting the following error:

       

      The environment variable CERT_PASSWORD must be set for silent installation.

       

      The nsh-install-default.txt file is configured to include the CERT_PASSWORD as below:

       

      CERT_PASSWORD=bladelogic

      export CERT_PASSWORD

       

      Any suggestions to fix this issue would be much appreciate.

        • 1. Re: BSA appserver silent install
          Alan Nakashian-Holsberg

          Kate,

           

          can you please provide a some additional details?

           

          What specific release are you installing?

          What OS are you installing on?

          What is the exact syntax of the error message?

           

          This information will be helpful in figuring out what is happening.  I wonder if the cert_password needs to be encrypted before exporting.  Have you tried "blenc bladelogic" and then taking the encrypted string and placing it in the nsh-install-default.txt?

           

          Alan

          • 2. Re: BSA appserver silent install
            Bill Robinson

            the nsh-install-defaults file should not have a .txt extension.

            • 3. Re: BSA appserver silent install
              Kate Fell

              I have changed the nsh-install-defaults file so it it no longer has txt extention. And I am getting the following error:

               

              =================== Silent Install Started ===================

               

              The silent install has been successfully scheduled. This may take

              a few minutes to complete. You can monitor the status of the install

              by checking the silent install log at /tmp/BladeLogic_Install.

               

              SLES10:/tmp # more BladeLogic_Install

              ': not a valid identifier: line 2: export: `INSTALL_DIR

              ': not a valid identifier: line 4: export: `COMPONENT_CHECKED

              : command not foundfaults: line 5:

              ': not a valid identifier: line 6: export: `

              ': not a valid identifier: line 8: export: `IS_SECURE_AGENT_LOGS

              ': not a valid identifier: line 10: export: `IS_KEYSTROKE_LOGS

              ': not a valid identifier: line 12: export: `NSH_USER_FROM

              ': not a valid identifier: line 14: export: `NSH_USER_TO

              ': not a valid identifier: line 16: export: `NSH_INSTALL_SKEL

              : command not foundfaults: line 17:

              : command not foundfaults: line 18:

              : command not foundfaults: line 19:

              : command not foundfaults: line 20:

               

              Welcome to the BMC BladeLogic Server Automation Suite 8.2.01 installation script ...

               

              Before we install the software you must read and agree to the terms

              and conditions set forth by the variety of authors whose software

              has been used in this release.

               

              You have chosen to install the following:

               

                RSCD Agent

                Application Server

                Network Shell

               

              Do you wish to continue (y/n) ?

               

              =================== Installation Failed ====================

               

              The environment variable CERT_PASSWORD must be set for silent installation.

               

              Line 5 and 6 are as follows:

              CERT_PASSWORD="bladelogic"

              export CERT_PASSWORD

               

              The OS is Sles 10 and the BSA  is 8.2 SP1 patch 2

              • 4. Re: BSA appserver silent install
                Bill Robinson

                Are there dos control characters in the nsh-install-defaults file ?  can you run a dos2unix on the file and re-try the install ?