<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSH_Getting do_exec_no_pty error ! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026207#M491044</link>
    <description>&lt;P&gt;Thanks for your time and input on this case Bill .&lt;/P&gt;&lt;P&gt;Yes, we have increased these npty nstrtel nstrpty value&amp;nbsp; to 2000 and after reboot additional pty device also added&amp;nbsp; .&lt;/P&gt;&lt;P&gt;But , Still no luck . Getting same error&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is FYI&lt;/P&gt;&lt;P&gt;# kctune npty nstrtel nstrpty&lt;BR /&gt;Tunable Value Expression&lt;BR /&gt;npty 2000 2000&lt;BR /&gt;nstrpty 2000 2000&lt;BR /&gt;nstrtel 2000 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Nov 2018 07:34:34 GMT</pubDate>
    <dc:creator>Bala_Unix</dc:creator>
    <dc:date>2018-11-22T07:34:34Z</dc:date>
    <item>
      <title>SSH_Getting do_exec_no_pty error !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7025957#M491040</link>
      <description>&lt;P&gt;Team&lt;/P&gt;&lt;P&gt;We are getting this error do_exec_no_pty: command = date&amp;nbsp; while&amp;nbsp; establishing concurrent ssh connections from Linux to HP-UX . Initiated 30 concurrent sessions but established only 19 connections and 11 connections were failed with this error code&amp;nbsp;&lt;SPAN&gt;error&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;do_exec_no_pty: command = ***&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is FYI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Linux OS info - RHEL 7.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- HPUX : 11.31&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Password less ssh configured between these hosts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me on this case .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bala.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 12:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7025957#M491040</guid>
      <dc:creator>Bala_Unix</dc:creator>
      <dc:date>2018-11-20T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSH_Getting do_exec_no_pty error !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026173#M491042</link>
      <description>&lt;P&gt;There are two places to adjust the maximum number of pty device files that can be used.&lt;/P&gt;&lt;P&gt;First, check the two kernel parameters &lt;STRONG&gt;nstrpty&lt;/STRONG&gt; and &lt;STRONG&gt;npty&lt;/STRONG&gt;.&lt;/P&gt;&lt;PRE&gt;# kctune npty nstrtel nstrpty&lt;BR /&gt;Tunable Value Expression&lt;BR /&gt;npty 60 Default&lt;BR /&gt;nstrpty 60 Default&lt;BR /&gt;nstrtel 60 Default&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;These should be much larger than you will need in the future.&amp;nbsp;&lt;BR /&gt;Set them all to 200, or more if you'll need more simultaneous connections in the future.&lt;BR /&gt;You can set all 3 on one line.&lt;BR /&gt;But it does require a reboot to complete the change.&lt;/P&gt;&lt;PRE&gt;# kctune -h npty=200 nstrtel=200 nstrpty=200
     ==&amp;gt; Update the automatic 'backup' configuration first? y
       * The automatic 'backup' configuration has been updated.
       * Future operations will update the backup without prompting.
       * The requested changes have been saved, and will take effect at
         next boot.
Tunable               Value  Expression
npty     (now)           60  Default
         (next boot)    200  200
nstrpty  (now)           60  Default
         (next boot)    200  200
nstrtel  (now)           60  Default
         (next boot)    200  200&lt;/PRE&gt;&lt;P&gt;After rebooting, you need to create the additional device files&lt;BR /&gt;Use insf to add the device files.&lt;/P&gt;&lt;PRE&gt;# insf -d pts -s 200&lt;/PRE&gt;&lt;P&gt;This will create the needed ptys device files for SSH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 00:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026173#M491042</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2018-11-22T00:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: SSH_Getting do_exec_no_pty error !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026192#M491043</link>
      <description>&lt;P&gt;It is possible that some of the pty devices are not released by some processes.&lt;/P&gt;&lt;P&gt;Increasing the terminal devices as suggested by Bill would be a possible workaround.&lt;/P&gt;&lt;P&gt;You could contact HPE if the workaround does not help and if you need more troubleshooting of the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 06:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026192#M491043</guid>
      <dc:creator>RajUX</dc:creator>
      <dc:date>2018-11-22T06:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: SSH_Getting do_exec_no_pty error !</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026207#M491044</link>
      <description>&lt;P&gt;Thanks for your time and input on this case Bill .&lt;/P&gt;&lt;P&gt;Yes, we have increased these npty nstrtel nstrpty value&amp;nbsp; to 2000 and after reboot additional pty device also added&amp;nbsp; .&lt;/P&gt;&lt;P&gt;But , Still no luck . Getting same error&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is FYI&lt;/P&gt;&lt;P&gt;# kctune npty nstrtel nstrpty&lt;BR /&gt;Tunable Value Expression&lt;BR /&gt;npty 2000 2000&lt;BR /&gt;nstrpty 2000 2000&lt;BR /&gt;nstrtel 2000 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 07:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-getting-do-exec-no-pty-error/m-p/7026207#M491044</guid>
      <dc:creator>Bala_Unix</dc:creator>
      <dc:date>2018-11-22T07:34:34Z</dc:date>
    </item>
  </channel>
</rss>

