PSM - PSMRD013E Failed to initialise logger. PSMRD012E Failed to create logfile (Error%) Code (1, -1)

PSM - PSMRD013E Failed to initialise logger. PSMRD012E Failed to create logfile (Error%) Code (1, -1)

446
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:10 PM


Symptom


After installing new PSM server everything installs successfully but unable to take RDP session from new PSM server. There is a pop-up with the following error details;

PSMRD013E Failed to initialise logger. PSMRD012E Failed to create logfile (Error%) Code (1, -1)

 

error.jpg

 

And in the following errors in the PSMConsole.log;

PSMSR543E [sessionid] Failed during job pre-execution phase. Details: AuditServerJob,PSMSR559E [sessionid] Failed to receive handshake from audit client, probably client application did not start within time limit. Details: [PSMIC004E IPC Pipe Channel connect failed. (Extra details: 1, 536)],-1,536,-1,-1

 

PSMSR126E [sessionid] Failure occurred while handling session. PSMSR280E [sessionid] Session component [AuditServerThread] has stopped unexpectedly. Ending session. (Codes: -1, -1)

 

PSMSRSRU005E [sessionid] Uploader failed because recording file sessionrecording.WIN.txt doesn't exists.
PSMSRSRU003E [sessionid] Failed to upload recording file sessionrecording.WIN.txt

----



Environment


10.5;10.6;10.7;10.8;10.9;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;13.0;14.0;14.2;14.3;14.4 Privileged Access Manager (PAM, self-hosted) PSM PSM

Cause


  • The domain based PSMConnect and PSMAdminConnect accounts did not have Read, Write or and Execute permissions on the Components log folder and therefore could not create recording files and logs required by the Auditing components.
  • This would have been a misconfiguration in the hardening script, where the local PSMConnect and PSMAdminConnect users were given permissions instead of the domain based PSMConnect and PSMAdmin accounts on the Components log folder.


Resolution


1. Add Read, Write and Execute permissions on the Components folder in the Logs directory (C:\Program Files (x86)\CyberArk\PSM\Logs\Components ) for the domain based PSMConnect ad PSMAdminConnect users and test the connection.

Note : In some cases, we need to reset the inheritance on that folder as well. 

-----------------------

2. Use the PSMChecker Tool to reset permissions on PSM Subfolders - especially the <drive:>/../PSM/Logs folder. 

#User Guide: https://community.cyberark.com/s/article/PSMChecker-Tool-User-Guide

#Download:  https://community.cyberark.com/marketplace/s/#a35Ht0000018rxcIAA-a39Ht000004GLFPIA4

-----------------------

3. Alternatively, you can rerun the PSMHardening.ps1 script as Administrator, this will set the correct permissions on all the folders, subfolders and files in the PSM installation directory - especially the <drive:>/../PSM/Logs folder. 

 



Actions
  • Print
  • Copy Link

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