PSMP keep disconnecting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PSMP keep disconnecting

L2 Linker

Hello,

I have problem in LAB environment, where PSMP is keep disconnecting in system health view.

Server itself seems fine at first glance. Whenever I restart psmpsrv service manually it goes back to connected state but after a while it is back to disconnected. At this point I have tried to remove PSMPApp Users and register them again. Checked vault config file on PSMP but it seemed OK. I even uninstalled server completely and installed new PSMP but im having same problem. Do you know what could be cause of this ?

1 accepted solution

Accepted Solutions

Hi @Patrik Mager​ ,

 

You probably removed Privileged Session Management section from WIN_DOM_PSADMIN_ACCOUNT platform. But the error points out to another paltform named MAGIWindowsDomainAccounts. Could you please do the same and check the PSMP logs once again?

 

Also would be useful if you provide logs from /var/log/messages , /var/log/secure

View solution in original post

8 REPLIES 8

L7 Applicator

Hi @Patrik Mager​ 

 

Can you please share the error message from the following logs located under ?

 

PSMPConsole.log

PSMPTrace.log

 

Hi @Malhar Vora​ 

 

Thank you for responding to me.

There is not much in both log:

 

 

[root@psmp logs]# cat PSMPConsole.log

[05/05/2025 | 12:59:13] | :: | PSMPPS033I Initializing PSP controller

[05/05/2025 | 12:59:14] | :: | PSMPPS037E PSM SSH Proxy has been terminated. (Diagnostic information: PSMPCM120E Section [PrivilegedSessionManagement] cannot appear alone in policy [WIN-DOM-PSMADMIN-ACCOUNT]. Section [ConnectionComponent] must appear with it under the same [Policy] element., -1)

[root@psmp logs]# cat PSMPTrace.log

[root@psmp logs]#

 

L7 Applicator

Hi @Patrik Mager​ 

 

There are few things to be checked here

 

  1. Please confirm the network connection between PSMP and Vault is stable
  2. Ensure NTP is configured properly on both PSMP and Vault machines and time are matching on both.
  3. Also check Vault logs if you get any hints

I would first take what the log is saying literally and give this a shot: in the WIN-DOM-PSMADMIN-ACCOUNT platform, right click UI & Workflows and click 'Add Connection Components'. Alternatively, don't add the Connection Components section and delete the Privileged Session Management section under UI & Workflows.

Hi @Malhar Vora​ ,

I have configured yesterday NTP server in my lab and set it up on both vault and PSMP and PVWA machines. Connection between PSMP and Vault seems stable and there is nothing in the vault logs that could point me to potential problem with PSMP.

Hi @Tim Schindler​ ,

I have done both things that you mentioned. First Added section Connection Components under UI & Workflows. Restarted psmpsrv service checked logged logs, error still appears in the log.

Then I have removed both Connection Components section and Privileged Session Management, restarted service. Error is still there. Currently PSMP is showing as connected in the PVWA system health but that is only for a certain time. Yesterday when I was doing changes and restarted it, it was connected but today I woke up and checked and is disconnected.

 

 

[root@psmp var]# cat /var/opt/CARKpsmp/logs/PSMPConsole.log

[06/05/2025 | 16:22:19] | :: | PSMPPS033I Initializing PSP controller

[06/05/2025 | 16:22:20] | :: | PSMPPS037E PSM SSH Proxy has been terminated. (Diagnostic information: PSMPCM120E Section [PrivilegedSessionManagement] cannot appear alone in policy [WIN-DOM-PSMADMIN-ACCOUNT]. Section [ConnectionComponent] must appear with it under the same [Policy] element., -1)

[root@psmp var]# systemctl restart psmpsrv

[root@psmp var]# cat /var/opt/CARKpsmp/logs/PSMPConsole.log

[07/05/2025 | 09:48:43] | :: | PSMPPS033I Initializing PSP controller

[07/05/2025 | 09:48:44] | :: | PSMPPS037E PSM SSH Proxy has been terminated. (Diagnostic information: PSMPCM120E Section [PrivilegedSessionManagement] cannot appear alone in policy [MAGIWindowsDomainAccounts]. Section [ConnectionComponent] must appear with it under the same [Policy] element., -1)

[root@psmp var]# systemctl restart psmpsrv

[root@psmp var]# cat /var/opt/CARKpsmp/logs/PSMPConsole.log

[07/05/2025 | 09:56:34] | :: | PSMPPS033I Initializing PSP controller

[07/05/2025 | 09:56:35] | :: | PSMPPS037E PSM SSH Proxy has been terminated. (Diagnostic information: PSMPCM120E Section [PrivilegedSessionManagement] cannot appear alone in policy [MAGIWindowsDomainAccounts]. Section [ConnectionComponent] must appear with it under the same [Policy] element., -1)

[root@psmp var]#

 

Hi @Patrik Mager​ ,

 

You probably removed Privileged Session Management section from WIN_DOM_PSADMIN_ACCOUNT platform. But the error points out to another paltform named MAGIWindowsDomainAccounts. Could you please do the same and check the PSMP logs once again?

 

Also would be useful if you provide logs from /var/log/messages , /var/log/secure

Hi @Madat Yuzbashli​ ,

Thank you for taking time to respond to my problem.

I have done now the same to MAGIWindowsDomainAccounts platform and come to the following:

Adding Connection Component section did not resolve the issue.

Removing Privileged Session Management section UI & Workflows seems to have FIXED the issue as I am now getting successful message in the log.

 

I will now monitor the status of PSMP in the PVWA system health .

 

Thank you once again everyone for helping me resolve this issue 🙂

 

 

 

 

[root@psmp magi]# cat /var/opt/CARKpsmp/logs/PSMPConsole.log

[07/05/2025 | 09:56:34] | :: | PSMPPS033I Initializing PSP controller

[07/05/2025 | 09:56:35] | :: | PSMPPS037E PSM SSH Proxy has been terminated. (Diagnostic information: PSMPCM120E Section [PrivilegedSessionManagement] cannot appear alone in policy [MAGIWindowsDomainAccounts]. Section [ConnectionComponent] must appear with it under the same [Policy] element., -1)

[root@psmp magi]# systemctl restart psmpsrv

[root@psmp magi]# cat /var/opt/CARKpsmp/logs/PSMPConsole.log

[12/05/2025 | 07:10:55] | :: | PSMPPS033I Initializing PSP controller

[12/05/2025 | 07:10:56] | :: | PSMPPS037E PSM SSH Proxy has been terminated. (Diagnostic information: PSMPCM120E Section [PrivilegedSessionManagement] cannot appear alone in policy [MAGIWindowsDomainAccounts]. Section [ConnectionComponent] must appear with it under the same [Policy] element., -1)

[root@psmp magi]# systemctl restart psmpsrv

[root@psmp magi]# cat /var/opt/CARKpsmp/logs/PSMPConsole.log

[12/05/2025 | 07:13:43] | :: | PSMPPS033I Initializing PSP controller

[12/05/2025 | 07:13:50] | :: | PSMPPS035I PSM SSH Proxy [PSMPApp_psmp.magi.local] on machine [10.16.23.206] version [14.4.0.11] is up and working with Vault [10.16.23.200]

[root@psmp magi]#

 

  • 1 accepted solution
  • 597 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!