- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
04-15-2019 08:41 AM
Hi
I am testing to upgrade to V10.8
CPM Scanner service fails to start after CPM is installed
I am trying to recreate apikey.ini
The result of the execution is successful
But the CPM Scanner service won't start
There is an error message in the windows event log
CASPR001E Error parsing parameters file (Location:CCAGParmsStreamFile.cpp:95), Reason: Parms file [apikey.ini.tmp] open failed.
Can someone give me some help?
04-15-2019 04:14 PM
Hey @Harry Chang,
It's hard to be sure on the issue but you may see errors in the cpm scanner logs which are more helpful.
Which version are you doing the test upgrade from?
Regards
Nathan
04-16-2019 06:08 AM
I just dealt with this.
Make sure the TLS 1.2 registry keys are in place
SchUseStrongCrypto = 1
HKLM\Software\Microsoft\.NETFramework\v4.0.30319
HKLM\Software\WOW6432Node\Microsoft\.NETFramework\v4.0.30319
Make sure the PasswordManagerUser has right to modify the apikey.ini file in C:\Program Files (x86)\CyberArk\Password Manager\Vault
04-16-2019 10:20 AM
Hi @Nathan Southgate
I tested V9.6 upgrade to V10.8
Cpm scanner logs did not see the error
15/04/2019 23:30:12 [DEBUG] -----------------------------------------------------------
15/04/2019 23:30:12 [INFO] Starting ApiKeyManager
15/04/2019 23:30:17 [INFO] Executing Revoke command
15/04/2019 23:30:17 [DEBUG] RevokeCommand::Execute. adminUsername=administrator componentUserName=PasswordManager apiBaseAddress=https://PAS1.demo.local/passwordvault/api/
15/04/2019 23:30:18 [INFO] Revoke command executed successfully.
15/04/2019 23:30:32 [DEBUG] -----------------------------------------------------------
15/04/2019 23:30:32 [INFO] Starting ApiKeyManager
15/04/2019 23:30:32 [DEBUG] Initializing Casos
15/04/2019 23:30:36 [INFO] Executing Add command
15/04/2019 23:30:36 [DEBUG] AddCommand::CreateKeyPairAndSendToServer. componentUserName=PasswordManager credFilePath=apikey.ini tempCredFilePath=apikey.ini encryptionType=ES256 adminUsername=administrator apiBaseAddress=https://PAS1.demo.local/passwordvault/api/
15/04/2019 23:30:36 [DEBUG] In CredFileHandler::CreateCredFile
15/04/2019 23:30:36 [DEBUG] In CredFileHandler::GetPublicKey
15/04/2019 23:30:36 [DEBUG] Logging in to API as administrator
15/04/2019 23:30:36 [DEBUG] Sending request to add public key
15/04/2019 23:30:36 [INFO] Add command executed successfully.
04-16-2019 10:22 AM
Hi @Brian Carter
TLS 1.2 registry keys have been set.
How to confirm that PasswordManagerUser has permission to modify apikey.ini file?
04-16-2019 10:26 AM
right click on the file > Properties and go to the security tab
you should see the permissions, click on PasswordManagerUser, if it does have at least modify rights it will need to have those
04-16-2019 10:47 AM
I don't see the permissions of PasswordManagerUser
04-16-2019 11:00 AM
@Harry Chang That could be the issue
Here is what I got from support today
The account used to run the Password Manager serivce should have full permissions to it. If it doesn't please can you set full permissions on the [Drive]:\Program Files (x86)\CyberArk\Password Manager\vault\ folder.
01-31-2020 05:28 AM
This worked for me, but I had to give full permissions on the "Password Manager" folder, permissions only on "vault" did not work for me.
02-28-2020 03:44 AM
Hello,
What user password did you supplied at the prompt "Enter Password":
Thanks
04-27-2020 02:44 AM
I am getting - Failed to logon error message when i type password. Which password did you use ?
09-01-2020 11:36 AM
You certainly have the answer since that time but adding the information for other who will need it.
You need to specify the Administrator password
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

