cancel
Showing results for 
Search instead for 
Did you mean: 

Getting do_exec_no_pty error !

 
Bala_Unix
Occasional Contributor

Getting do_exec_no_pty error !

Team

We are getting this error do_exec_no_pty: command = date  while  establishing concurrent ssh connections from Linux to HP-UX . Initiated 30 concurrent sessions but established only 19 connections 11 connections failed with this error code error do_exec_no_pty: command = *** 

This is FYI

- Linux OS info - RHEL 7.3

- HPUX : 11.31

- Password less ssh configured between these hosts

Please help me on this case .

Thanks

 

Regards

Bala

5 REPLIES 5
RajUX
Advisor

Re: Getting do_exec_no_pty error !

Increase npty, nstrpty and nstrtel to a higher value would be a possible workaround.

There is a possibility that some processes are not releasing pty devices.

 

Bala_Unix
Occasional Contributor

Re: Getting do_exec_no_pty error !

Thanks RajUX

But Still getting this same error even after increasing these values and creating enough pty device files.

RajUX
Advisor

Re: Getting do_exec_no_pty error !

Please make sure you have the increased number of devices by #ll /dev/pts|wc -l

If it has increased, did it work for sometime and issue started after some time? This is needed to confirm if new device files were also usable and it got exhausted. If yes, the device files may not be getting released by some processes and need more analysis by HPE. 

 

Bala_Unix
Occasional Contributor

Re: Getting do_exec_no_pty error !

Hi RajUX

Yes, Increased the devices .

ll /dev/pts|wc -l
2401

but still facing this same issue ..

RajUX
Advisor

Re: Getting do_exec_no_pty error !

Upto how many sessions are you able to open?

Is this issue from linux to hp-ux only?

Could be issue with apps like sudo which does not close the connections properly.