Removing an Agent from Policy Store using Perl CLI, the reference to this agent doesn't get removed from the AgentGroup and AdminUI report Error: Could not find specified subject.

Document ID : KB000008126
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

  We run Perl CLI script, and when we remove an Agent from the Policy Store data, then the reference to this Agent from the AgentGroup doesn't get deleted, and the AdminUI reports the following error : 

 

  Error: Could not find specified subject. 

 

  2017-08-24 11:06:13,553 DEBUG [com.ca.siteminder.uiagent.UIAgent] 

  (http-myhost.2.6.1-8443-5) Could not identify XPS exception com.ca.siteminder.xps.XPSException: CA.SM::AgentGroup@02-b4182961-fa17-1037-bb06-8347c3c30cb3(mygroup): 

  [CA.SM::AgentGroup.AgentsLink]: Invalid attribute: 

  [CA.SM::Agent@01-b63a9ce0-f58f-1048-bd43-8347c3c30cb3]. 

 

  How can we solve this problem?

 

Environment:
Policy Server 12.52 SP1 CR05 on SunOS 5.10;
Resolution:

  Fix the script to identify in all Policy Store objects any references of this Agent, and remove or modify these references, and then, remove the Agent. After this, restart the Policy Server to get this issue fixed.