- 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.
03-08-2024 01:09 AM
Hi,
Could someone please help us on the below issue.
Recently we have updated PSM to version 14.0 in CyberArk Privilege Cloud.
After the upgrade while we take PSM session its signs out forcefully without any error dialog box. After some attempts its allow us to take the session via PSM.
In the PSMConsole logs we could identify the below errors. Could someone help us on the issue.
PSMSR504W [] An exception occurred during the session flow's exception handling procedure (Handling stage: [DisplayErrorNotification], Internal exception: [PSMSC050E Failed to get user token of TS session [29] (System error [2]: The system cannot find the file specified.)])
PSMSR948W [] Session keeper did not logoff the session. The session will be forcefully logged off. (Session id: 29). Reason: PSMSR511E The SessionKeeper process already shutdown but with failed exit code -1073741510.
PSMSR966W [] Failed to logoff the session (Diagnostic information: 2). (Session id: 29). Reason: PSMSC050E Failed to get user token of TS session [29] (System error [2]: The system cannot find the file specified.)
PSMSRCDA003E Failed to retrieve file categories. Reason: ITATS053E Object.session doesn't exist.
PSMSR504W [] An exception occurred during the session flow's exception handling procedure (Handling stage: [EndSession], Internal exception: [PSMSCCDA003E Failed to retrieve file categories. Reason:
PSMSR126E [] Failure occurred while handling session. PSMSR516E [] Failed to invoke SessionKeeper process (More information: [PSMIC004E IPC Pipe Channel connect failed. (Extra details: 1, 536)]) (Codes: -1, -1)
PSMSR543E [] Failed during job pre-execution phase. Details: AuditServerJob,PSMSR559E [] 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
Regards,
Priya
03-08-2024 01:58 AM
Those errors look fairly generic to me, and I would see them with many similar problems.
For the connections that work - are they going to a different PSM?
I would guess hardening is blocking the PSM connection / incorrect permissions on files or PSMConnect User is incorrectly defined.
Once you identify which PSM is affected, have a look at this technote which shows most of the causes of similar problems:
https://community.cyberark.com/s/article/PSM-Error-The-privileged-session-could-not-be-established-securely-Contact-your-system-administrator and also https://community.cyberark.com/s/article/PSM-This-initial-program-cannot-be-started-C-Program-Files-x86-CyberArk-PSM-Components-PSMInitSession-exe which will help with checking the hardening was done correctly.
03-08-2024 03:27 AM
Hi Mal,
Thanks for your response.
Only for few attempts we are facing the issue, then its allowing us to take the session.
Its a weird behavior. We are using local PSM users(PSMConnect and PSMAdminConnect)
The connection is working for both PSM. But our concern is its happening for few attempts and after that its allowing us to connect. And we have got the above error logs in the PSM.
Its happening after we have upgraded PSM from 13.2 to 14.0.
Regards,
Priya
03-08-2024 08:59 AM
Hi Team,
In our environment PSM version is 14.0 which is placed under Load Balancer and we are using local PSM users.
After upgrading PSM version from 13.2 to 14.0, we notified that while taking PSM session its forcefully signing out for few attempts, after few times it allow us to take sessions and we have got the below errors on PSM logs. We have got the below errors on both PSM server logs.
PSMSR504W [] An exception occurred during the session flow's exception handling procedure (Handling stage: [DisplayErrorNotification], Internal exception: [PSMSC050E Failed to get user token of TS session [29] (System error [2]: The system cannot find the file specified.)])
PSMSR948W [] Session keeper did not logoff the session. The session will be forcefully logged off. (Session id: 29). Reason: PSMSR511E The SessionKeeper process already shutdown but with failed exit code -1073741510.
PSMSR966W [] Failed to logoff the session (Diagnostic information: 2). (Session id: 29). Reason: PSMSC050E Failed to get user token of TS session [29] (System error [2]: The system cannot find the file specified.)
PSMSRCDA003E Failed to retrieve file categories. Reason: ITATS053E Object.session doesn't exist.
PSMSR504W [] An exception occurred during the session flow's exception handling procedure (Handling stage: [EndSession], Internal exception: [PSMSCCDA003E Failed to retrieve file categories. Reason:
PSMSR126E [] Failure occurred while handling session. PSMSR516E [] Failed to invoke SessionKeeper process (More information: [PSMIC004E IPC Pipe Channel connect failed. (Extra details: 1, 536)]) (Codes: -1, -1)
PSMSR543E [] Failed during job pre-execution phase. Details: AuditServerJob,PSMSR559E [] 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
Could you please help us on the above issue.
Regards,
Priya.
03-09-2024 08:07 PM
Hi @PRIYADHARSHINI NAGARAJAN?
Please refer to the following KB and try the recommended steps
Hope it helps
https://community.cyberark.com/s/article/PSMSR516E-Failed-to-invoke-SessionKeeper-process
10-01-2024 02:59 AM
@PRIYADHARSHINI NAGARAJAN I had the same issue in on-prem version , even service restart did not fix the issue . But server reboot fixed it.My Error logs are similar to yours .
10-01-2024 02:59 AM
@PRIYADHARSHINI NAGARAJAN I had the same issue in on-prem version , even service restart did not fix the issue . But server reboot fixed it.My Error logs are similar to yours .
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!

