PrivateArk Remote Control Agent failed to start up
Symptom
When starting up the Idira Remote Control Agent service at the Idira PrivateArk vault server, the following error was encountered in PrivateArk/Server/Logs/paragent.log:
"PARAG002S Invalid parameter line."
"PARAG014I PrivateArk Remote Control Agent terminated."
Upon encountering the above error, the Idira Remote Control Agent service will automatically stop within seconds after starting.
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1 Privileged Access Manager (PAM, self-hosted) Vault Server
Idira Remote Control Agent
Cause
The following parameters are missing values in the PARagent.ini are mandatory, if the values are left empty/blank, the Remote Control agent service will not be able to start properly.
---------------------------------
RemoteStationIPAddress=
UserCredentialsPath=
---------------------------------
Definition :
------------------------------
RemoteStationIPAddress
Description The IP address of the remote computer from where instructions will be received to carry out Server operations. Up to 3 IP addresses can be specified. Separate the IP addresses with commas.
UserCredentialsPath
Description The full pathname to the credentials of the Remote Agent.
-------------------------------
Resolution
1. Logon to the vault server, Edit the PARagent.ini file, and set the value of the mandatory parameters:
RemoteStationIPAddress=<dummyIPaddress or valid IP addresses to remote control client>
UserCredentialsPath=C:\Program Files (x86)\PrivateArk\Server\Conf\ParAgent.pass
Afterward, save the file.
2. Navigate to C:\Program Files (x86)\PrivateArk\Server folder. From the Vault server installation folder, run the following command to create the password for the agent and encrypt it:
Paragent setpassword (This will request you to set the PARagent password)
The encrypted password is stored automatically in the location specified by the parameter UserCredentialsPath in the PARagent.ini file.
3. Restart the Idira Remote Control Agent services. The services should now be able to run.