search cancel

Error count: 370 and Repair Module not available in XPSSweeper

book

Article ID: 256361

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

 

XPSSweeper command reports more than 370 errors and shows those lines:

    [3096/3476][Wed Dec 14 2022 14:39:49][DoRepair.cpp:170][RepairManager::initRepairContext][INFO][SM-REPAIR-01011] Repair Module not available for error [sm-xpsxps-03240].
    [3096/3476][Wed Dec 14 2022 14:39:49][DoRepair.cpp:173][RepairManager::initRepairContext][INFO][SM-REPAIR-01015] Error count: 370, Number of errors for which Repair Modules are available: 0, Number of errors for which Repair Modules are not available: 370.

All errors can be split into 3 categories all related to Identity Manager (Idm):

Invalid TypeID value:

[3096/3476][Wed Dec 14 2022 14:39:47][Validate.cpp:647][IXPSObjectV1::ValidateClass][WARN][sm-xpsxps-03240] CA.SM::[email protected](myUserData1): Invalid value TypeId="1". Allowed Values: ()

Invalid ObjectType value:

[3096/3476][Wed Dec 14 2022 14:39:47][Validate.cpp:647][IXPSObjectV1::ValidateClass][WARN][sm-xpsxps-03240] CA.SM::[email protected](myUserData2): Invalid value ObjectType="0". Allowed Values: ()

Parent object .. does not exist

[3096/3476][Wed Dec 14 2022 14:39:47][Validate.cpp:968][IXPSObjectV1::CheckForDanglingObjects][WARN][sm-xpsxps-03492] CA.SM::[email protected]: Parent object CA.SM::[email protected] does not exist.

 

Environment

 

  Policy Server 12.8SP3 on Windows;
  Policy Store on CA Directory 14.0.01;

 

Resolution

 

  • Take a backup of the Policy Store using OS tools or CA Directory ones;
  • On the Policy Server machine, run the following command:

    c:\Program Files\CA\siteminder\xps\dd> XPSDDInstall IdmSmObjects.xdd

  • Restart the Policy Server;
  • After the restart, XPSSweeper doesn't report errors anymore:  

XPSSweeper.log:

[3764/11428][Thu Dec 15 2022 11:32:38][Sweeper.cpp:1257][CXPSIO::Sweeper][INFO][sm-xpsxps-04500] Starting Sweep.
[3764/11428][Thu Dec 15 2022 11:32:38][Sweeper.cpp:1328][CXPSIO::Sweeper][INFO][sm-xpsxps-04500] Starting Sweep. (Validation.)
[3764/11428][Thu Dec 15 2022 11:32:45][DoRepair.cpp:173][RepairManager::initRepairContext][INFO][SM-REPAIR-01015] Error count: 0, Number of errors for which Repair Modules are available: 0, Number of errors for which Repair Modules are not available: 0.
[3764/11428][Thu Dec 15 2022 11:32:45][Sweeper.cpp:196][CXPSIO::CheckConsistency][INFO][sm-xpsxps-07545] [Method name: CompleteRepair][Execution time (ms): 7543]
[3764/11428][Thu Dec 15 2022 11:32:45][Sweeper.cpp:1330][CXPSIO::Sweeper][INFO][sm-xpsxps-04510] Sweep Complete. (Validation)
[3764/11428][Thu Dec 15 2022 11:32:45][Sweeper.cpp:1352][CXPSIO::Sweeper][INFO][sm-xpsxps-04510] Sweep Complete.