8 Replies Latest reply on Apr 3, 2012 8:14 AM by Bill Robinson

    Cannot start Appserver

    Bill Bruncati

      Running BL 8.1.03 on Solaris 10 .  I did a  re-install  of BL in a spare env to see if it would fix some

      ongoing problems.

       

      I did the following:

       

      - created copies of my Appserver file systems  (   /opt and /u01 ( for oracle )    )  on a spare disk

       

      - came up on spare the disk  and was able to start my Appserver with no problems.

       

      - Did an "Uninstall" on this spare disk of BL and its associated Oracle instance. Note, my old environment

      BL home was /opt/nsh/NSH

       

      - Did a clean re-install of BL and Oracle instance on this spare disk using the default home

      of /opt/bmc/BladeLogic/8.1/NSH

       

      Now, I can get my RSCD agent to start and I can manually connect to the "bladelog" Oracle instance.

      But I cannot get the "blappserv" process to start.

       

      In the appserver.log I get:

       

      [26 Mar 2012 14:32:36,615] [main] [INFO] [::] [] Registering remote services...

      [26 Mar 2012 14:32:36,616] [main] [INFO] [::] [] Shutdown processes complete

      [26 Mar 2012 14:32:36,619] [Thread-0] [INFO] [::] [] Undeploying

      [26 Mar 2012 14:32:36,674] [Thread-0] [ERROR] [::] [] java.rmi.NotBoundException: bladelogic.service.AppServerService

       

      As a check, I wanted to do an "agentinfo" so I went NSH.

      But when I did that, I got  ( shows my OLD BL path ) :

       

      root@system /: nsh

      Unable to find shared library "/opt/nsh/NSH/lib/libiconv"

      Unable to find shared library "/opt/nsh/NSH/lib/libiconv"

      Unable to find shared library "/opt/nsh/NSH/lib/libiconv"

      nsh: corrupt history file /.sh_history

      root@system $PWD:

       

      Could there be an old configuration files laying around that I'm missing which is keeping my Appserver

      and NSH from working ?

       

      Thanks,

      wbrunc

        • 1. Cannot start Appserver
          Bill Robinson

          can you attach the full appserver log?  there should be one or more stack traces from your startup attempt in the log that indicate the problem.

           

          for the nsh issue - do you have any env vars set - do something like:

          set | grep nsh

          env | grep nsh

           

          if you do, are those set in your profile?

           

          also, this is a normal install, you did not use the -local flag when you installed ?

          • 2. Re: Cannot start Appserver
            Bill Bruncati

            Attached appserver.log.

             

            No env vars set.

            root@system /: set |grep nsh

            root@system /: env |grep nsh

             

            Normal install. Did not use -local flag.

            • 3. Re: Cannot start Appserver
              Bill Robinson

              what's in the /usr/lib/rsc/HOME file ?

              • 4. Cannot start Appserver
                Bill Bruncati

                Bingo !

                 

                That was the file I still needed  to change. Once I put the new  installed BL's

                path ( /opt/bmc/BladeLogic/8.1/NSH/  )  in there  , things started up.

                Thanks Bill !

                • 5. Cannot start Appserver
                  Bill Bruncati

                  Another question that's related to this.

                   

                  I had exported some jobs from my old

                  BL environment who's HOME was /opt/nsh/NSH .

                   

                  As previously mentioned, I re-installed BL using the new default HOME

                  of /opt/bmc/Bladelogic/8.1/NSH .

                   

                  Now,  I"m trying to import those old jobs and getting an error.

                  Please see the screenshot. Is there any way to fix this ?

                  Thanks,

                  Bill

                  OMU Import Error.jpg

                  • 6. Cannot start Appserver
                    Bill Robinson

                    that's another problem.  it looks like it's appending another path to the import path for some reason.  i think i've seen that before but i forget why.

                     

                    try this - in the external-files.zip there is a 'utility' directory in the oracle or sqlserver sub directories.  in there look for 'file server change'

                     

                    there's a file_server_check sql script.  can you run that against the db and return the result ?

                     

                    another thing would be to open up the infra mgr in the gui and open up this instance's settings and look at the temp dir path.

                    • 7. Re: Cannot start Appserver
                      Bill Bruncati

                      Added screenshot from Infrastructure management. I don’t know why it used the FQDN for my fileserver.

                      When I did “blappconf” I only entered the hostname.

                       

                      The sql script shows the proper hostname only  value.

                      Note – my fileserver,appserver,DB server are all on the same system.

                       

                      SQL> @file_server_check_oracle.sql

                       

                      SHUT DOWN APPSERVER BEFORE RUNNING file_server_change!!!!!

                      SHUT DOWN APPSERVER BEFORE RUNNING file_server_change!!!!!

                      SHUT DOWN APPSERVER BEFORE RUNNING file_server_change!!!!!

                       

                       

                      The Default File Server and root path current setting

                       

                       

                      //cmsfaal1/opt/nsh/storage/

                       

                       

                      Counts of items at File Servers and root paths referenced in the database

                       

                       

                      //cmsfaal1/opt/nsh/storage/                                                                                3793           0 Default

                       

                      SQL

                      • 8. Re: Cannot start Appserver
                        Bill Robinson

                        the path indicated in the screenshot is a temporary directory for the appserver, under the file server path.  it's not the actual path to the file server, which is shown as cmsfaal1.

                         

                        where are you trying to import the old packages/jobs from?