PMTerminal - Question Mark "?" in Expect Log / SendSlow and SendHuman values
99
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 13:03 PM
Symptom
PMTerminal based plug-in fails to change / verify a password and when looking at the logs you see the question mark character ("?") displayed when the remote machine echos back the message that was sent. You can see it in the Expect log files or the Console log file.
Environment
v4.5;v4.6;v5.0;v5.5;v6.0;v7.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;v9.8.3;v9.8.1;v9.7.5;10.9;10.10;11.1;11;11.2 PAS
CPM
Cause
- Too many connections are being opened using PMTerminal, therefore causing the plugin to drop one or more characters in transmission.
- In general, when the CPM uses plug-ins that are based on PMTerminal, messages are sent to remote machines using the Expect module. Expect uses a terminal mode to communicate with the remote machine to perform this task. In some situations, one or more characters in the message are dropped during transition. In other words, this communication method is not fully reliable.
Resolution
- Under the policy ("General" section) reduce the value for the parameter "MaxConcurrentConnections" (Default value is '3').
- The problem can be solved by using either the SendSlow or SendHuman parameter in the ‘Parameters’ section of the process file.
Note: If both parameters are specified, the value of the SendHuman parameter will be used.Possible values are:SendSlow=1 .001SendSlow=1 .005SendSlow=1 .01SendSlow=1 .05SendSlow=1 .1SendSlow=1 .5SendSlow=1 1SendSlow=2 .01SendSlow=2 .1SendHuman=.1 .3 1 .05 2SendHuman=.1 .1 10 .05 .05SendHuman=.05 .05 10 .05 .05For UNIX machines running TectiaSSH try the following value:SendSlow=2 .4
Additional Information
Details
SYMPTOM:PMTerminal based plug-in fails to change / verify a password and when looking at the logs you see the question mark character ("?") displayed when the remote machine echos back the message that was sent. You can see it in the Expect log files or the Console log file.
PROBLEM:
- Too many connections are being opened using PMTerminal, therefore causing the plugin to drop one or more characters in transmission.
- In general, when the CPM uses plug-ins that are based on PMTerminal, messages are sent to remote machines using the Expect module. Expect uses a terminal mode to communicate with the remote machine to perform this task. In some situations, one or more characters in the message are dropped during transition. In other words, this communication method is not fully reliable.
SOLUTION:
- Under the policy ("General" section) reduce the value for the parameter "MaxConcurrentConnections" (Default value is '3').
- The problem can be solved by using either the SendSlow or SendHuman parameter in the ‘Parameters’ section of the process file.
Note: If both parameters are specified, the value of the SendHuman parameter will be used.Possible values are:SendSlow=1 .001SendSlow=1 .005SendSlow=1 .01SendSlow=1 .05SendSlow=1 .1SendSlow=1 .5SendSlow=1 1SendSlow=2 .01SendSlow=2 .1SendHuman=.1 .3 1 .05 2SendHuman=.1 .1 10 .05 .05SendHuman=.05 .05 10 .05 .05For UNIX machines running TectiaSSH try the following value:SendSlow=2 .4See detailed information in the PMTerminal Send Rate.pdf stored in the Technical Support Safe under the Root\Tech Notes\English\CPM folder.