PSMP - The PSM SSH Proxy Service is down continuously despite successful install
157
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 16:01 PM
Symptom
The PSM SSH Proxy Service is down continuously despite successful install
The installation has completed successfully, but when we try to connect to a target via PSMP, the PSM SSH proxy service is down.
Restarting the service works, but when connecting to the target via PSMP, the service goes down again
Environment
10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0 PSMP all versions
Cause
Possible causes:
1) Validate if there are similar permissions on the following files:
Go to /opt/CARKpsmp/components/
[root@psmpserver CARKpsmp]# ls -l components/
-r--r-----. 1 root PSMInternalUsers icudt58l.dat
-rwxr-x---. 1 root PSMShadowUsers player
-rwxr-x---. 1 root PSMShadowUsers plink
-r-x--x---. 1 root PSMConnectUsers psmperformsession
-r-x--x---. 1 root PSMConnectUsers psmpshell
-rwxr-x---. 1 root PSMShadowUsers ssh
-r--r-----. 1 root PSMInternalUsers icudt58l.dat
-rwxr-x---. 1 root PSMShadowUsers player
-rwxr-x---. 1 root PSMShadowUsers plink
-r-x--x---. 1 root PSMConnectUsers psmperformsession
-r-x--x---. 1 root PSMConnectUsers psmpshell
-rwxr-x---. 1 root PSMShadowUsers ssh
2) Validate that PSMShadowUsers and PSMShadowUsers user and groups are created:
Users:
> cat /etc/passwd | grep PSMShadowUser
PSMShadowUser:x:1002:1002::/home/PSMShadowUser:/sbin/nologin
PSMShadowUser:x:1002:1002::/home/PSMShadowUser:/sbin/nologin
Groups:
Validate PSMShadowUser group is created and if it is member of the following groups:
> cat /etc/group | grep PSMShadowUser
PSMShadowUser:x:1002:
PSMShadowUsers:x:1004:PSMShadowUser
PSMInternalUsers:x:1005:PSMConnect,PSMShadowUser
PSMShadowUser:x:1002:
PSMShadowUsers:x:1004:PSMShadowUser
PSMInternalUsers:x:1005:PSMConnect,PSMShadowUser
Resolution
CAUSE 1)
1.a) Ensure PSMShadowUsers,PSMInternalUsers and PSMInternalUsers groups are created and change group permission on the files:
# cat /etc/group | grep PSMShadowUsers
# cat /etc/group | grep PSMConnectUsers
# cat /etc/group | grep PSMInternalUsers
# cat /etc/group | grep PSMConnectUsers
# cat /etc/group | grep PSMInternalUsers
If PSMShadowUsers is not created then create it and add the PSMShadowUser as member of:
#groupadd PSMShadowUsers
#usermod -a -G PSMShadowUsers PSMShadowUser
#usermod -a -G PSMShadowUsers PSMShadowUser
If PSMConnectUsers is not created then create it and add the PSMConnect as member of:
#groupadd PSMConnectUsers
#usermod -a -G PSMConnectUsers PSMConnect
#usermod -a -G PSMConnectUsers PSMConnect
If PSMInternalUsers is not created then create it and add the PSMConnect,PSMShadowUser as member of:
#groupadd PSMInternalUsers
#usermod -a -G PSMInternalUsers PSMConnect,PSMShadowUser
#usermod -a -G PSMInternalUsers PSMConnect,PSMShadowUser
1.b) Change group owner of the files stored in /opt/CARKpsmp/components/ path:
#chgrp PSMInternalUsers icudt58l.dat
#chgrp PSMShadowUsers player plink ssh
#chgrp PSMConnectUsers psmperformsession psmpshell
#chgrp PSMShadowUsers player plink ssh
#chgrp PSMConnectUsers psmperformsession psmpshell
1.c) Start psmpserver service
# /etc/init.d/psmpsrv start
CAUSE 2)
If PSMShadowUser is not created in /etc/passwd but the PSMShadowUser group exist in /etc/group:
2.a) To delete PSMShadowUser user:
#groupdel PSMShadowUser
2.b) Create PSMShadowUser user with nologin profile:
#useradd PSMShadowUser --shell=/sbin/nologin
This will automatically create the PSMShadowUser group on /etc/group
2.c) Add user PSMShadowUser as member of: PSMShadowUsers and PSMInternalUsers:
#usermod -a -G PSMShadowUsers PSMShadowUser
#usermod -a -G PSMInternalUsers PSMShadowUser
#usermod -a -G PSMInternalUsers PSMShadowUser
2.d) Start psmpserver service
# /etc/init.d/psmpsrv start