5 Replies Latest reply on Jul 15, 2016 10:21 AM by Rob Slattery

    Windows Patching exitCode = -5005

    Rob Slattery

      After performing a Windows patch analysis and remediation job, a few of our targets failed and one of the errors I'm not 100% clear about is: reason unknown ( exitCode = -5005).  What exactly could cause this error?

       

       

       

       

       

       

       

      BMC documentation says the error means:

      5005

      NA

      Configuration Manager

      May occur during the simulate phase of a BLPackage deploy job.

        • 1. Re: Windows Patching exitCode = -5005
          Bill Robinson

          Look in the bldeploy log for the actual error.

          • 2. Re: Windows Patching exitCode = -5005
            Rob Slattery

            I think something was not communicating because we have five targets with the same exact two log entries (including the times).  You'll notice nothing is being written to the logs for about 3 hours.

             

            Info Jul 2, 2016 1:19:32 AM Package "AutoRemediation --99965891 @ 2016-07-02 01-00-31-764-0400" UUID(ede6af54fc3f36889f788988390fc667) processing instructions

             

             

            Warning Jul 2, 2016 4:21:48 AM Cancellation by user seen. Deploy job will stop processing

             

            Here's some of the log message from the deploy job and the exitcode = -5005 entry as well:

             

             

             

            Info Jul 2, 2016 5:22:26 AM The job 'AutoRemediation --server1.company.com-99965891 @ 2016-07-02 01-00-37-231-0400' has failed

            Error Jul 2, 2016 5:22:26 AM AutoRemediation --server1.company.com-99965891 @ 2016-07-02 01-00-37-231-0400 failed on server server1.company.com exit code = -1

            Warning Jul 2, 2016 5:22:26 AM Unable to remove target directory: //server1.company.com/temp/stage/44b7ad33262a3c4f9c9ce71fafa2dd33

            Error Jul 2, 2016 5:22:21 AM APPLY failed for server server1.company.com. Exit code = -1

            Info Jul 2, 2016 5:22:20 AM APPLY cancelled for server server1.company.comRetrieving job log results.

            Info Jul 2, 2016 5:22:19 AM reason unknown ( exitCode = -5005 )

            Info Jul 2, 2016 5:22:19 AM Completed - nRet = 10 exitCode = 1

            Warning Jul 2, 2016 5:21:50 AM Unexpected TJM Message: [07/02/2016 04:21:48 CRPTXSAJBAS00 6724 ede6af54fc3f36889f788988390fc667:ACK_CANCEL 24:"Cancellation in progress"]

            Info Jul 2, 2016 5:21:50 AM TJM generated start message

            Warning Jul 2, 2016 4:21:48 AM  deploy cancelled - killing child process - pid: 5940

            1 Windows-KB890830v.exe-MSRT-001-en-WINDOWS SERVER 2008, STANDARD EDITION-SP2

            Warning Jul 2, 2016 4:21:48 AM Cancellation by user seen. Deploy job will stop processing

            • 3. Re: Windows Patching exitCode = -5005
              Niranjan Nagandla

              What is the appserver and agent version? I saw this error randomly while running appserver on 8.7 P1 and agents on 8.5, post upgrading the agent this was resolved.

              • 4. Re: Windows Patching exitCode = -5005
                Mayur Thakare

                Please attach corresponding bldeploy and bltargetmanager logs that are present on target.

                • 5. Re: Windows Patching exitCode = -5005
                  Rob Slattery

                  We are using 8.3.03.170.  I'm starting to feel like this is some sort of time out but am still trouble shooting.