BSA: Windows patch analysis jobs fail intermitently on random targets: java.rmi.NotBoundException: ProcessSpawner

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BladeLogic Server Automation Suite


    APPLIES TO:

    BMC BladeLogic Server Automation Suite



    PROBLEM:

     

    Windows Patching Jobs fail.  The appserver log shows a message like the below:

     

      
    Error while running pre-analysis on server: winsrv001, Error: Cannot copy shavlik hfcli.exe file from '/opt/bmc/bladelogic/NSH/share/patch/windows/shavlikSDK/hfcli.exe' to '//winsrv001/C/Program Files/BMC Software/BladeLogic/RSCD/sbin/hfcli.exe'    (Caused By: Caught exception running command - /opt/bmc/bladelogic/NSH/bin/nsh --norc -c "cksum '//winsrv001/C/Program Files/BMC Software/BladeLogic/RSCD/sbin/hfcli.exe'"     Error: java.rmi.NotBoundException: ProcessSpawner (Caused By: java.rmi.NotBoundException: ProcessSpawner (Caused By: ProcessSpawner)))

     


    CAUSE:

    The application server running the Patching Job is configured to use the Process Spawner and uses NSH to copy certain executables to the targets. However the process spawner is not responding to the application server.


    SOLUTION:

    Review the spawner.log file on the app server that ran the job.

    Look for unresolved startup errors, such as:
     

    Error installing to Start: name=bladelogic.service.ManagementService state=Create com.bladelogic.om.infra.app.service.ServiceInitializationException: Failed to start management service at com.bladelogic.om.infra.app.service.manage.ManagementServiceImpl.start(ManagementServiceImpl.java:92)
      
    Stop and start the process spawner:  
    /etc/init.d/blprocserv stop /etc/init.d/blprocserv start
    Or using the Windows Services console and ensure the Process Spawner starts up.  Then re-run the Patching Job. 

    Alternatively, disable usage of the Process Spawner on the appserver:  
    blasadmin -a set ProcessSpawner SpawnExternally false
    restart the appserver service and retry the job. 

      

     


    Article Number:

    000071560


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles