Symptoms
Block Level backup fails with error:
X.X.X.X 9/22/2016 6:43:12 pm SNBEDR_024E Unable to create systeminfo file (D:\DPX\tmp\1474561800__BMR_2.0\system_document.xml)
X.X.X.X 9/22/2016 6:43:13 pm SNBAPP_004X java.lang.Exception: Error in extractSystemInfoError in createSystemReportjava.lang.Exception: Error in initializeWMI operationCould not connect. Error code = 0x80041002
X.X.X.X 9/22/2016 6:43:13 pm SNBAPH_381E Exception in message (PFS_GENERIC) to module (/BMR/2.0), reqrc (21005)
X.X.X.X 9/22/2016 6:43:13 pm SNBAPH_126E Func(AHOpPfs:run): Exception(com.syncsort.bex.msg.bexException: <EXCEPTION CATEGORY="BEXEXCEPTION"><CODE>21005</CODE></EXCEPTION> )
Resolution
The WMI Repository must be rebuilt/repaired so that the DPX Client can be backed up correctly.
For Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2, try to run the following:
- winmgmt /verifyrepository
If the result is shown as inconsistent, go to step 2 - winmgmt /salvagerepository
- winmgmt /verifyrepository - to check again wmi repository had been repaired successfully
To fully rebuild the WMI Repository follow these steps:
- Disable and stop the winmgmt service
- Remove or rename C:\Windows\System32\wbem\repository
- Enable and start the winmgmt service
- Open a CMD prompt as Administrator
- In the CMD prompt Navigate to C:\Windows\System32\wbem\
- Run the following command:
‘for /f %s in ('dir /b *.mof') do mofcomp %s’
Note: This will take a minute or so to complete.
- Now run the command:
‘for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s’
- Restart the Data Collector service
Lastly, open PERFMON to verify that all counters can be loaded. If PERFMON generates a popup error, please follow this Microsoft KB to fix it: