10 Replies Latest reply on Mar 18, 2016 8:46 AM by Naren S

    Windows Patch catalog update is failing

    Naren S


      Windows patch catalog update is failing with the below error,

       

      Error Feb 22, 2016 7:32:18 AM Error occur: Level: FAILURE

      Type: EXECUTION_ERROR

      Message: Error executing BLPatchCheck2 (Exit code: 1): Error: 80004005 Could not create the part '.\' of directory '.\': Error 5: Access is denied.

       

      Has anyone experienced this issue before?

        • 1. Re: Windows Patch catalog update is failing
          Newton Nyante

          Can we see the full log?  Has the user mapping for this Role changed perhaps, given the "Access denied" error.  Perhaps the rscd.log of the catalog repo will have some helpful info as well.

          • 2. Re: Windows Patch catalog update is failing
            Naren S

            Here is the full log,

             

            2016 06:30:11,940] [Thread-88] [ERROR] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] STDERR --> Error: 80004005 Could not create the part '.\' of directory '.\': Error 5: Access is denied.
            [01 Mar 2016 06:30:11,942] [PSU-Thread-1] [FATAL] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Error occur: Level: FAILURE
            Type: EXECUTION_ERROR
            Message: Error executing BLPatchCheck2 (Exit code: 1): Error: 80004005 Could not create the part '.\' of directory '.\': Error 5: Access is denied.

            com.bmc.sa.patchfeed.windows.UpdatorFeedException: Error occur: Level: FAILURE
            Type: EXECUTION_ERROR
            Message: Error executing BLPatchCheck2 (Exit code: 1): Error: 80004005 Could not create the part '.\' of directory '.\': Error 5: Access is denied.

            at com.bmc.sa.patchfeed.windows.MetadataManager.generateResultFile(Unknown Source)
            at com.bmc.sa.patchfeed.windows.MetadataManager.updatePackageMDWithShavlikNameProperty(Unknown Source)
            at com.bmc.sa.patchfeed.windows.WindowsFeedUpdator.notifyPackageAndBulletinMetadata(Unknown Source)
            at com.bmc.sa.patchfeed.windows.WindowsFeedUpdator.buildAndNotifyMetadata(Unknown Source)
            at com.bmc.sa.patchfeed.windows.WindowsFeedUpdator.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:662)
            at com.bladelogic.om.patch.app.psu.PSUThreadFactory$PSUThread.run(PSUThreadFactory.java:81)
            [01 Mar 2016 06:30:11,965] [WorkItem-Thread-92] [ERROR] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Error occur: Level: FAILURE
            Type: EXECUTION_ERROR
            Message: Error executing BLPatchCheck2 (Exit code: 1): Error: 80004005 Could not create the part '.\' of directory '.\': Error 5: Access is denied.

            [01 Mar 2016 06:30:12,047] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches newly added: 0
            [01 Mar 2016 06:30:12,047] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches updated: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches obsoleted: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches failed to be process: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches downloaded: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches failed to be downloaded: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches with invalid/deprecated urls: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Referrers newly added: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Referrers updated: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Referrers obsoleted: 0
            [01 Mar 2016 06:30:12,048] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Referrers failed to be process: 0
            [01 Mar 2016 06:30:12,067] [Job-Execution-2] [WARN] [BLAdmin:BLAdmins:] [CatalogUpdate] Catalog state is unchanged, Analysis can be performed using this catalog only when Use last successful catalog run is set to Yes under All Operating Systems tab in patch global configurations.
            [01 Mar 2016 06:30:12,067] [Job-Execution-2] [WARN] [BLAdmin:BLAdmins:] [CatalogUpdate] Analysis will be performed on the basis of last successful catalog state and its parameters.
            [01 Mar 2016 06:30:12,083] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Creating the ISystem object for the host:bladelogic and the root dir:/bldata/storage/patchrepository/windows
            [01 Mar 2016 06:30:43,224] [Job-Execution-2] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Catalog update progress is completed.
            [01 Mar 2016 06:30:43,224] [Job-Execution-2] [ERROR] [BLAdmin:BLAdmins:] [CatalogUpdate] The job 'Microsoft Patch Catalog_CUJ-2015-10-23 09-33-32-825-0500' has failed
            [01 Mar 2016 06:30:57,723] [Scheduled-System-Tasks-Thread-1] [INFO] [System:System:] [Memory Monitor] Total JVM (B): 3817799680,Free JVM (B): 1983127736,Used JVM (B): 1834671944,VSize (B): 7220359168,RSS (B):

             

            No issues with ACLs in the appserver, and windows helper.

            • 3. Re: Windows Patch catalog update is failing
              Chetan Gupta

              What version of BSA is it?

               

              I do still believe it's issue with the user you mapped on the helper server...can you attach the rscd log from helper server here?

               

              do agentinfo on helper and see if that returns mapped user as it should be.

              • 4. Re: Windows Patch catalog update is failing
                Saifuddin Rangwala

                You don’t seem to have write permission on the helper server. Can you plz check?

                 

                Thanks,

                -Saif.

                • 5. Re: Windows Patch catalog update is failing
                  Naren S

                  No problem with the user mapping. I am able to push ACLs to this helper server, and verify it.

                   

                  For now, i have used a different helper server as a workaround, and the catalog update job is running fine.

                   

                  It appears multiple Win32 process is running in this system based on the event logs, and i believe it is causing some issue with the BLPatchCheck process during catalog update.

                   

                  I have seen some reference from Lazar for this specific issue, but the post https://communities.bmc.com/thread/71290 doesn't have much information on the resolution.

                   

                  I have submitted a case with BMC on this issue. Keeping my fingers crossed for now.

                  • 6. Re: Windows Patch catalog update is failing
                    Saifuddin Rangwala

                    What BSA version you are on? I think from 8.7 onwards the need for helper server is removed.

                    • 7. Re: Windows Patch catalog update is failing
                      Bill Robinson

                      What is the ticket #?

                      • 8. Re: Windows Patch catalog update is failing
                        Naren S

                        Case # is 00097389.

                        • 9. Re: Windows Patch catalog update is failing
                          Bill Robinson

                          8.2 is very old and on limited support. since 8.6 a windows helper is no longer required for the windows catalog.  so upgrading should certainly resolve the problem. 

                          • 10. Re: Windows Patch catalog update is failing
                            Naren S

                            Issue resolved after reinstalling the agent. Problem with corrupt rscd agent in the helper server.

                             

                            Its strange because i am not able to co relate the access denied error with the corrupt agent.

                            2 of 2 people found this helpful