<?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: Unable to get pty in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585321#M32228</link>
    <description>When are you getting this error message?.&lt;BR /&gt;&lt;BR /&gt;Check the permissions on /usr/dt/bin/dtterm if you are getting it when you are trying to open dt/xterms. The permissions on dtterm are supposed to be -r-sr-xr-x . Also, check the permissions over /dev/pty*. The group should be tty. Try insf -e.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 26 Sep 2001 14:37:11 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-09-26T14:37:11Z</dc:date>
    <item>
      <title>Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585319#M32226</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;We recently started receiving this message and I was wondering what the fix might be.  I another user that posted this exact same problem back in Oct 2000. I ensured that the permissions on /usr/dt/bin/dtterm were:&lt;BR /&gt;-r-sr-xr-x (they are).  I also ran dr_dt and received no an error about hostname and a warning about the /etc/named file does not match the correct permissions.  We are running HP-UX 10.20.  Any help is appreciated. Thanks!&lt;BR /&gt;&lt;BR /&gt;Andre &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2001 14:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585319#M32226</guid>
      <dc:creator>Andre Ford</dc:creator>
      <dc:date>2001-09-26T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585320#M32227</link>
      <description>I'm wondering if you are running out of available ptys. Does this happen during heavy use of the system?&lt;BR /&gt;&lt;BR /&gt;try increasing npty kernel parameter.&lt;BR /&gt;&lt;BR /&gt;just a thought</description>
      <pubDate>Wed, 26 Sep 2001 14:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585320#M32227</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-26T14:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585321#M32228</link>
      <description>When are you getting this error message?.&lt;BR /&gt;&lt;BR /&gt;Check the permissions on /usr/dt/bin/dtterm if you are getting it when you are trying to open dt/xterms. The permissions on dtterm are supposed to be -r-sr-xr-x . Also, check the permissions over /dev/pty*. The group should be tty. Try insf -e.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 26 Sep 2001 14:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585321#M32228</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-26T14:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585322#M32229</link>
      <description>Yes, it does seem to happen when the system is heavily used.  The error started occuring about a week ago and now it's a daily event.  My npty value is currently at 4200.  Is there a recommended value that this should be set to?  Also, if I change this through SAM, would it, in turn, adjust other values accordingly?  I rebuilding the kernel will be required. Thanks....&lt;BR /&gt;&lt;BR /&gt;Andre</description>
      <pubDate>Wed, 26 Sep 2001 14:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585322#M32229</guid>
      <dc:creator>Andre Ford</dc:creator>
      <dc:date>2001-09-26T14:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585323#M32230</link>
      <description>do you have more than 4200 connections? You need 1 pty per connection.&lt;BR /&gt;&lt;BR /&gt;take a look at this thread... especially the answer by Ian about finding out how many pty processes you have running.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2001 14:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585323#M32230</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-26T14:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585324#M32231</link>
      <description>do you have more than 4200 connections? You need 1 pty per connection.&lt;BR /&gt;&lt;BR /&gt;take a look at this thread... especially the answer by Ian about finding out how many pty processes you have running.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x51d5f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x51d5f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Wed, 26 Sep 2001 14:56:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585324#M32231</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-26T14:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585325#M32232</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I read Ian's posts and ran the commands that were listed. Here are the results as of 12:30pm EST:&lt;BR /&gt;&lt;BR /&gt;ll /dev/pty* | wc -l&lt;BR /&gt;16095&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep pty* | wc -l&lt;BR /&gt;77&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep nstrpty* | wc -l&lt;BR /&gt;1&lt;BR /&gt;&lt;BR /&gt;I'm still getting my feet wet in Unix so if I seem to stumble a bit please bear with me.  We also have a lof of other filesystems mounted and I was wondering if they are being counted as well.  Also, if I adjust the npty and nstrpty values through SAM, what other configuration values will be adjusted? I really appreciate all the help that I've received.  Thanks!</description>
      <pubDate>Thu, 27 Sep 2001 11:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585325#M32232</guid>
      <dc:creator>Andre Ford</dc:creator>
      <dc:date>2001-09-27T11:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585326#M32233</link>
      <description>it does not seem that you are running out of pty... you have more than enough...&lt;BR /&gt;&lt;BR /&gt;If it is still giving you an error at this level of use then that is not the problem.  If the connections increase above your limit and then you get the error, then i would increase the numbers... not now...&lt;BR /&gt;&lt;BR /&gt;I'll have to think of what else to try... &lt;BR /&gt;&lt;BR /&gt;sorry, wrong guess.</description>
      <pubDate>Thu, 27 Sep 2001 11:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585326#M32233</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-27T11:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585327#M32234</link>
      <description>I just notices someting... you looked for the number of /dev/pty ... can you please issue the same command to get the number of /dev/ttyp* and post the values...&lt;BR /&gt;&lt;BR /&gt;#ll /dev/ttyp* | wc -l&lt;BR /&gt;&lt;BR /&gt;Take a look at this message i found on the hp developers website...  I think my original hunch might be right after all, but i was pointing you to the wrong type of pty...&lt;BR /&gt;&lt;BR /&gt;--------&lt;BR /&gt;| I am facing a problem with hp-ux 11 m/c. &lt;BR /&gt;| Whenever I start x-windows and open terminal, am getting the error &lt;BR /&gt;| "Unable to get PTY" &lt;BR /&gt;| However,I am able to do a telnet since it uses a tty &lt;BR /&gt;| For your info.: The number of users/terminals opened are well under the &lt;BR /&gt;| limit. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  This is really off-topic for cxx-dev. You should take this kind of OS &lt;BR /&gt;question to &lt;A href="http://forums.itrc.hp.com/cm/" target="_blank"&gt;http://forums.itrc.hp.com/cm/&lt;/A&gt; or news:comp.sys.hp.hpux . &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  There are actually three different types of ptys in HP-UX 11.00. You &lt;BR /&gt;can see them all among the output of lsdev- &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Character Block Driver Class &lt;BR /&gt;       16 -1 ptym ptym &lt;BR /&gt;       17 -1 ptys ptys &lt;BR /&gt;      139 -1 telm strtelm &lt;BR /&gt;      140 -1 tels strtels &lt;BR /&gt;      156 -1 ptm strptym &lt;BR /&gt;      157 -1 pts strptys &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  The telnet connection uses "telnet stream" ptys. The slave side of those &lt;BR /&gt;appear as /dev/pts/t*. The dtterm and hpterm terminals use "stream" ptys. &lt;BR /&gt;The slave side of those appear as /dev/pts/[0-9]*. The xterm terminal uses &lt;BR /&gt;plain old ptys. The slave side of those appear as /dev/ttyp*. Each type &lt;BR /&gt;of pty has different kernel parameter limits and different device files. &lt;BR /&gt;Check the kernel parameters and try recreating the device files with insf. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2001 11:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585327#M32234</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-27T11:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585328#M32235</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I think we have run into this problem before with systems here.  The problem wasn't the npty parameter as it was set plenty high.  Our problem was that we had to do an 'insf -e' to get the additional pty devices created.  I ran into this problem last month with a new system that I cloned via Ignite-UX.  Everything was great until about 70-80 people opened telnet sessions.  The 'insf -e' fixed things quick for us.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2001 13:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585328#M32235</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-09-27T13:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585329#M32236</link>
      <description>Yes, John brings up an important point...&lt;BR /&gt;&lt;BR /&gt;just because you change the values in the kernel for the 3 type of ptys that doesn't create the dev files. You have to:&lt;BR /&gt;&lt;BR /&gt;#insf -evd ptys -n (number in kernel)&lt;BR /&gt;#insf -evd ptym -n (number in kernel)&lt;BR /&gt;#insf -evd pts -n (number in kernel)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2001 13:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585329#M32236</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-27T13:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585330#M32237</link>
      <description>John/Edward,&lt;BR /&gt;&lt;BR /&gt;I did the 'insf' command with the e,v,d and n options (with the values set in the kernel) and so far it looks like it's working fine.  I was able to open more than five different windows (which I could not do before) without the error.  I'll monitor this for a few days and post back to let you know the status.  Thanks again for everything.&lt;BR /&gt;&lt;BR /&gt;Andre&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2001 16:40:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585330#M32237</guid>
      <dc:creator>Andre Ford</dc:creator>
      <dc:date>2001-09-27T16:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585331#M32238</link>
      <description>Hi all...&lt;BR /&gt;&lt;BR /&gt;It's been almost a week since I applied the solutions that were suggested and everything is working great.  Thanks again for all of your help.&lt;BR /&gt;&lt;BR /&gt;Andre</description>
      <pubDate>Wed, 03 Oct 2001 11:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-get-pty/m-p/2585331#M32238</guid>
      <dc:creator>Andre Ford</dc:creator>
      <dc:date>2001-10-03T11:38:08Z</dc:date>
    </item>
  </channel>
</rss>

