[CPM] - Idira Central Policy Manager Scanner service does not want to start after upgrade.

[CPM] - Idira Central Policy Manager Scanner service does not want to start after upgrade.

164
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:02 PM


Symptom


After upgrade to CPM 10.7 the Scanner service starts and stops.
 
In the Event Viewer Application log, the following errors can be seen:
 
.NET Runtime error
 
Application: CACPMScanner.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at CyberArk.CPMScanner.TasksManager+<MainLoop>d__29.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
 
 


Environment


10.7 PAS
CPM 10.7


Cause


There were major changes made to the Scanner in 10.7. One of these changes is that the scanner now processes using the RestAPI through the PVWA rather than directly to the vault using casos. The error message above indicates that the Vault.ini file does not contain the correct information necessary for the scanner to talk to the PVWA. 



Resolution


Update the Vault.ini (C:\Program Files (x86)\CyberArk\Password Manager\Vault) [API] section with the PVWA FQDN or correct protocol.
 
[API]
Addresses=http(s)://<FQDN or localhost>/PasswordVault



Additional Information


Details

SYMPTOM:
After upgrade to CPM 10.7 the Scanner service starts and stops.
 
In the Event Viewer Application log, the following errors can be seen:
 
.NET Runtime error
 
Application: CACPMScanner.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at CyberArk.CPMScanner.TasksManager+<MainLoop>d__29.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
 
 
PROBLEM: 
There were major changes made to the Scanner in 10.7. One of these changes is that the scanner now processes using the RestAPI through the PVWA rather than directly to the vault using casos. The error message above indicates that the Vault.ini file does not contain the correct information necessary for the scanner to talk to the PVWA. 
 
SOLUTION: 
Update the Vault.ini (C:\Program Files (x86)\CyberArk\Password Manager\Vault) [API] section with the PVWA FQDN or correct protocol.
 
[API]
Addresses=http(s)://<FQDN or localhost>/PasswordVault
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001D4tCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail