Product
Okta Privileged Access (OPA)
Issue details
Running the client commands from command prompt, throws log file errors like below:
- Error creating log file
- Initial log file rotation failed
- Failed to initiate logging
- 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