Product

Okta Privileged Access (OPA)

Issue details

Running the client commands from command prompt, throws log file errors like below:

  1. Error creating log file 
  2. Initial log file rotation failed
  3. Failed to initiate logging 
  4. The file cannot be accessed by the system.

Possible Cause(s)

The user who is running the client command does not have write permission on the Client Log folder.

Solution/Fix

Make sure the user who is running the client commands is provided the write permissions at the startup. It can be included in a Group policy.

Workaround

Meanwhile users can follow below work around:

  • Navigate to User folder in Command Prompt Ex: C:\Users\<Windows Username>\Appdata\Local\ScaleFT\Logs
  • Right click on sft folder and Click Properties
  • Under Attributes, uncheck Read-only
  • Click Apply and Click OK
  • Re-open the Command Prompt
  • Re-run client commands

Reference

https://help.okta.com/oie/en-us/content/topics/privileged-access/clients/pam-client-cli-commands.htm

Author 

Ketaki Mujumdar

TOP