PSMP - execute_in_shell: waitpid: No child processes
113
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:10 PM
Symptom
When starting a session with a new PSMP installation it crashes when starting the SSH connection.
This is an example of the session output:
Last login: Wed Feb 01 08:00:00 2022 from 10.0.0.1
This session is being recorded
execute_in_shell: waitpid: No child processes
<Session stopped>
Environment
12.0;12.1;12.2;14.2 PSM 12.x, RedHat 8.5
Cause
The non-working PSMP configuration contains the file 04-ipa.conf in the the directory /etc/ssh/ssh_config.d and more specifically the line:
Match exec true
When the ssh config contain the configuration 'Match exec' - the ssh client tries to run a command in the shell - which causes the 'execute_in_shell' issue.
Resolution
From the non-working PSMP:
1. Upload the file /etc/ssh/ssh_config + the directory /etc/ssh/ssh_config.d
2. on the PVWA ClientApp configuration - add -vvv to the ssh client for verobse output.
For example it would appear as:
{PSPComponentsFolder}/ssh -vvv [-{PSMProtocol}] [-p {Port}] [-L {PSMTunnelRandomPort}:127.0.0.1:{PSMTunnelTargetPort}] {Username}@{Address}
3. restart the psmp - and retry to connect
4. upload the output of the session to the case(Putty output & the logs under /var/opt/CARKpsmp/logs/ and /var/opt/CARKpsmp/logs/components)
5. revert the configuration
If you have a working PSMP we would like to make a comparison but based on these two:
1. Upload the file /etc/ssh/ssh_config + the directory /etc/ssh/ssh_config.d.
---------
a. The non-working configuration contains the file 04-ipa.conf in the /etc/ssh/ssh_config.d directory.
b. Delete the 04-ipa.conf file as the PSMP does not require it.
c. Restart the PSMP services and reattempt connection.