<?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: Pty Special File activation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737359#M386969</link>
    <description>You will have to add them to the /etc/inittab file to get them to be useful.  &lt;BR /&gt;&lt;BR /&gt;Rick</description>
    <pubDate>Wed, 12 Jan 2011 17:23:39 GMT</pubDate>
    <dc:creator>RickT_1</dc:creator>
    <dc:date>2011-01-12T17:23:39Z</dc:date>
    <item>
      <title>Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737358#M386968</link>
      <description>i am using an RX 2660 - with O.S HP-UX 11i and i have the following problem.&lt;BR /&gt;Using the INSF command to increase the number of the PTYM &amp;amp; PTYS ( insf -d pty -n 300 ) - the system create all the request special files, but only 48 of them are usable ( linked ). &lt;BR /&gt;&lt;BR /&gt;I found this limit of 48 described also in the explanation given on the manual for the insf command.&lt;BR /&gt;Now i need to activate the new created tty's.&lt;BR /&gt;Someone could tell me how is it possible activate them ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2011 13:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737358#M386968</guid>
      <dc:creator>Leonardo Parrino</dc:creator>
      <dc:date>2011-01-12T13:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737359#M386969</link>
      <description>You will have to add them to the /etc/inittab file to get them to be useful.  &lt;BR /&gt;&lt;BR /&gt;Rick</description>
      <pubDate>Wed, 12 Jan 2011 17:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737359#M386969</guid>
      <dc:creator>RickT_1</dc:creator>
      <dc:date>2011-01-12T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737360#M386970</link>
      <description>I generally increase these via the kernel parms (npty, nstrpty, nstrtel) change and it will create the device files and get things in order.&lt;BR /&gt;&lt;BR /&gt;Unless I have misread what your trying to do.&lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Wed, 12 Jan 2011 18:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737360#M386970</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2011-01-12T18:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737361#M386971</link>
      <description>You completed the first step correctly. The first 48 are indeed linked but the rest of the device files are completely useable. The second step is to increase the kernel parameters npty, nstrpty and nstrtel. You need to increase all 3 parameters to 300. Use sam (or smh if you are running 11.31) to increase the values. Unfortunately, smh has broken more than a decade of dependability by allowing changes to be made to the pty kernel parameters but not automatically running insf. &lt;BR /&gt; &lt;BR /&gt;Just a note: 11i is a meaningless description created by the marketing department. 11i defines any version of HP-UX starting with 11.11 and higher.</description>
      <pubDate>Thu, 13 Jan 2011 01:18:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737361#M386971</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-01-13T01:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737362#M386972</link>
      <description>Thanks Bill...I hadn't noticed that with SMH and Itanium.  &lt;BR /&gt;&lt;BR /&gt;I'm not a regular user of it preferring CLI to make changes on Itanium, so I hadn't hit that.&lt;BR /&gt;&lt;BR /&gt;Good to know..&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2011 12:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737362#M386972</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2011-01-13T12:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737363#M386973</link>
      <description>Let me know i have already increased for same configuration of servers below settings &lt;BR /&gt;und. but still its resticting upto 78 sessions only&lt;BR /&gt;mtxexd4:/roothome 29 ] kctune nstrtel nstrpty npty&lt;BR /&gt;Tunable               Value  Expression  &lt;BR /&gt;npty                   4000  4000        &lt;BR /&gt;nstrpty                1000  1000        &lt;BR /&gt;nstrtel  (now)           60  Default     &lt;BR /&gt;         (next boot)    200  200         &lt;BR /&gt;&lt;BR /&gt;I am going to boot it tommrrow 7 AM IST But still its not going to reoslve i think as yest i had changes npty &amp;amp; nstrpty then run below command insf -d tels -s 1000..&lt;BR /&gt;Stiil its restrciting to 78 sessions . Pls let me know</description>
      <pubDate>Tue, 08 Mar 2011 15:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737363#M386973</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-08T15:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737364#M386974</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;A reboot will also run insf -e which will create the new device files.&lt;BR /&gt;&lt;BR /&gt;You can run this yourself, but still need to boot.&lt;BR /&gt;&lt;BR /&gt;Do not run insf -e with Oracle ASM running. It will change permissions on the database containers and could down your database.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 08 Mar 2011 16:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737364#M386974</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-03-08T16:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737365#M386975</link>
      <description>&amp;gt; npty 4000 4000&lt;BR /&gt;&amp;gt; nstrpty 1000 1000&lt;BR /&gt;&amp;gt; nstrtel (now) 60 Default (next boot) 200 200 &lt;BR /&gt; &lt;BR /&gt;Unless you know exactly which pty files will be used by each of your applications, make them all the same -- 4000 seems a bit high unless you plan on have several thousand users logon at the same time. Change the 3 kernel params to the same value, like 1000. Then you can either run insf or reboot to activate all the device files.</description>
      <pubDate>Wed, 09 Mar 2011 01:14:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737365#M386975</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-03-09T01:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737366#M386976</link>
      <description>Hi,&lt;BR /&gt;after reboot &amp;amp; chaging all parametere to 1000 still users can not open xterms . it does not go beyond 81 sessions.  Let me know anything need to be done further any other kernel parameter ned to change.&lt;BR /&gt;&lt;BR /&gt;I have done reboot &amp;amp; run insf but still xterm does not go beyond 81 .. any idea &lt;BR /&gt;&lt;BR /&gt;Thank &amp;amp; regards&lt;BR /&gt;Amit</description>
      <pubDate>Wed, 09 Mar 2011 09:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737366#M386976</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-09T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737367#M386977</link>
      <description>Hi Leonardo,&lt;BR /&gt;&lt;BR /&gt;Do you have problems with logging in or is this another application for which you want to raise the number of ptys? &lt;BR /&gt;&lt;BR /&gt;I'm asking this because I had problems with an old application. Created some more device files with insf but it didn't solve my problem. It turned out that this legacy application used the ptys directly from under /dev. insf created the new ones under the directory /dev/ptym. So I created hard links to wire the new device files under /dev manually and it solved my problem.&lt;BR /&gt;&lt;BR /&gt;Maybe this helps you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://viktorbalogh.net/blog/hp-ux/hp-ux_sysadm/listing-used-ptys-on-hpux" target="_blank"&gt;http://viktorbalogh.net/blog/hp-ux/hp-ux_sysadm/listing-used-ptys-on-hpux&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Viktor</description>
      <pubDate>Wed, 09 Mar 2011 10:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737367#M386977</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-03-09T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737368#M386978</link>
      <description>posted almost the same time like you..&lt;BR /&gt;&lt;BR /&gt;&amp;gt;xterm does not go beyond 81&lt;BR /&gt;any error messages? start xterm from command line to catch error messages.</description>
      <pubDate>Wed, 09 Mar 2011 10:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737368#M386978</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-03-09T10:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737369#M386979</link>
      <description>Hello viktor,&lt;BR /&gt;&lt;BR /&gt;Actaully i am trying to open xterm from anpther xterm from humming bird Excced GUI application .  so a that that after changing this 3 kerenel paramet to 1000 but still its stucks at 81 . so just want to know if anythng else also need to change.&lt;BR /&gt;now i have increased this paramet to 4000 so it may increst that xterm &lt;BR /&gt;kctune nstrtel nstrpty npty&lt;BR /&gt;Tunable               Value  Expression  &lt;BR /&gt;npty     (now)         1000  1000        &lt;BR /&gt;         (next boot)   4000  4000        &lt;BR /&gt;nstrpty  (now)         1000  1000        &lt;BR /&gt;         (next boot)   4000  4000        &lt;BR /&gt;nstrtel  (now)         1000  1000        &lt;BR /&gt;         (next boot)   4000  4000        &lt;BR /&gt;&lt;BR /&gt;Attached is the list of 62 users which ar elogging in . but when this reached 82 in in xterm hummimngbird exceed it gives error as below:-&lt;BR /&gt;xterm: Error 32, errno 16: Device busy&lt;BR /&gt;Reason: get_pty: not enough ptys xterm &amp;amp;&lt;BR /&gt;regards&lt;BR /&gt;Amit</description>
      <pubDate>Wed, 09 Mar 2011 14:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737369#M386979</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-09T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pty Special File activation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737370#M386980</link>
      <description>&lt;P&gt;duplicate?!??&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Networking/Reason-get-pty-not-enough-ptys/m-p/4762753#M47332" target="_blank"&gt;http://h30499.www3.hp.com/t5/Networking/Reason-get-pty-not-enough-ptys/m-p/4762753#M47332&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2011 17:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pty-special-file-activation/m-p/4737370#M386980</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-11-10T17:28:39Z</dc:date>
    </item>
  </channel>
</rss>

