<?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 urgent: &amp;quot;Cannot allocate pty&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984685#M420645</link>
    <description>Unfortunately I had to rebuild our production system from scratch last week.&lt;BR /&gt;It is a k460 running on hpux 10.2&lt;BR /&gt;I reinstalled the o/s from disk, then recreated the lvm structure and applied an frecover, using the graph file below:-&lt;BR /&gt;&lt;BR /&gt;e /stand/bootconf&lt;BR /&gt;e /stand/system&lt;BR /&gt;e /dev&lt;BR /&gt;e /etc/checklist&lt;BR /&gt;e /etc/fstab&lt;BR /&gt;e /etc/fstab&lt;BR /&gt;e /stand/ioconfig&lt;BR /&gt;e /ioconfig&lt;BR /&gt;e /etc/lvmtab&lt;BR /&gt;e /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;Users are back in,but are experiencing 2 problems:-&lt;BR /&gt;1) cannot print (I think this is related to missing /dev device files, so I'm about to copy those back from an frecover&lt;BR /&gt;&lt;BR /&gt;2)we can only get 60 users logged on through telnet sessions at any one time (we need 90)&lt;BR /&gt;the syslog shows the following:-&lt;BR /&gt;&lt;BR /&gt;"Jun 12 12:10:02 alk460 telnetd[28601]: Cannot allocate pty"&lt;BR /&gt;&lt;BR /&gt;The sysdef command (attatched) shows npty and nstrpty set to 400 each, although the /stand/system (attacthed) shows it set to 60. Obviously if I copied back the /stand/vmunix and this is up-to-date , but the /stand/system (see below) is out of date, does this matter?&lt;BR /&gt;&lt;BR /&gt;alk460 /stand &amp;gt;cat system | pg&lt;BR /&gt;***************************************&lt;BR /&gt;* $Source: /usr/local/kcs/sys.DAVIS_800/filesets.info/CORE-KRN/RCS/generic,v $&lt;BR /&gt;* $Revision: 1.3.98.1 $ $Author: root $&lt;BR /&gt;* $State: Exp $         $Locker: CRT $&lt;BR /&gt;* $Date: 95/07/20 10:24:09 $&lt;BR /&gt;*&lt;BR /&gt;***************************************&lt;BR /&gt;* Generic system file for new computers&lt;BR /&gt;***************************************&lt;BR /&gt;*&lt;BR /&gt;* Drivers/Subsystems&lt;BR /&gt;ccio&lt;BR /&gt;c720&lt;BR /&gt;sctl&lt;BR /&gt;sdisk&lt;BR /&gt;mux2&lt;BR /&gt;CentIf&lt;BR /&gt;ps2&lt;BR /&gt;scsi3&lt;BR /&gt;scsi1&lt;BR /&gt;target&lt;BR /&gt;tape2&lt;BR /&gt;lanmux0&lt;BR /&gt;cdfs&lt;BR /&gt;vxbase&lt;BR /&gt;lvm&lt;BR /&gt;lv&lt;BR /&gt;hpstreams&lt;BR /&gt;clone&lt;BR /&gt;strlog&lt;BR /&gt;sad&lt;BR /&gt;echo&lt;BR /&gt;sc&lt;BR /&gt;timod&lt;BR /&gt;tirdwr&lt;BR /&gt;pipedev&lt;BR /&gt;pipemod&lt;BR /&gt;ffs&lt;BR /&gt;lan2&lt;BR /&gt;lan3&lt;BR /&gt;dlpi&lt;BR /&gt;inet&lt;BR /&gt;uipc&lt;BR /&gt;nm&lt;BR /&gt;ni&lt;BR /&gt;tpiso&lt;BR /&gt;inet_cots&lt;BR /&gt;inet_clts&lt;BR /&gt;netdiag1&lt;BR /&gt;ldterm&lt;BR /&gt;ptem&lt;BR /&gt;pts&lt;BR /&gt;ptm&lt;BR /&gt;pckt&lt;BR /&gt;nfs&lt;BR /&gt;diag0&lt;BR /&gt;dump lvol&lt;BR /&gt;nstrpty         60&lt;BR /&gt;maxswapchunks 750&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Jun 2006 06:25:31 GMT</pubDate>
    <dc:creator>Paul Senior_1</dc:creator>
    <dc:date>2006-06-12T06:25:31Z</dc:date>
    <item>
      <title>urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984685#M420645</link>
      <description>Unfortunately I had to rebuild our production system from scratch last week.&lt;BR /&gt;It is a k460 running on hpux 10.2&lt;BR /&gt;I reinstalled the o/s from disk, then recreated the lvm structure and applied an frecover, using the graph file below:-&lt;BR /&gt;&lt;BR /&gt;e /stand/bootconf&lt;BR /&gt;e /stand/system&lt;BR /&gt;e /dev&lt;BR /&gt;e /etc/checklist&lt;BR /&gt;e /etc/fstab&lt;BR /&gt;e /etc/fstab&lt;BR /&gt;e /stand/ioconfig&lt;BR /&gt;e /ioconfig&lt;BR /&gt;e /etc/lvmtab&lt;BR /&gt;e /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;Users are back in,but are experiencing 2 problems:-&lt;BR /&gt;1) cannot print (I think this is related to missing /dev device files, so I'm about to copy those back from an frecover&lt;BR /&gt;&lt;BR /&gt;2)we can only get 60 users logged on through telnet sessions at any one time (we need 90)&lt;BR /&gt;the syslog shows the following:-&lt;BR /&gt;&lt;BR /&gt;"Jun 12 12:10:02 alk460 telnetd[28601]: Cannot allocate pty"&lt;BR /&gt;&lt;BR /&gt;The sysdef command (attatched) shows npty and nstrpty set to 400 each, although the /stand/system (attacthed) shows it set to 60. Obviously if I copied back the /stand/vmunix and this is up-to-date , but the /stand/system (see below) is out of date, does this matter?&lt;BR /&gt;&lt;BR /&gt;alk460 /stand &amp;gt;cat system | pg&lt;BR /&gt;***************************************&lt;BR /&gt;* $Source: /usr/local/kcs/sys.DAVIS_800/filesets.info/CORE-KRN/RCS/generic,v $&lt;BR /&gt;* $Revision: 1.3.98.1 $ $Author: root $&lt;BR /&gt;* $State: Exp $         $Locker: CRT $&lt;BR /&gt;* $Date: 95/07/20 10:24:09 $&lt;BR /&gt;*&lt;BR /&gt;***************************************&lt;BR /&gt;* Generic system file for new computers&lt;BR /&gt;***************************************&lt;BR /&gt;*&lt;BR /&gt;* Drivers/Subsystems&lt;BR /&gt;ccio&lt;BR /&gt;c720&lt;BR /&gt;sctl&lt;BR /&gt;sdisk&lt;BR /&gt;mux2&lt;BR /&gt;CentIf&lt;BR /&gt;ps2&lt;BR /&gt;scsi3&lt;BR /&gt;scsi1&lt;BR /&gt;target&lt;BR /&gt;tape2&lt;BR /&gt;lanmux0&lt;BR /&gt;cdfs&lt;BR /&gt;vxbase&lt;BR /&gt;lvm&lt;BR /&gt;lv&lt;BR /&gt;hpstreams&lt;BR /&gt;clone&lt;BR /&gt;strlog&lt;BR /&gt;sad&lt;BR /&gt;echo&lt;BR /&gt;sc&lt;BR /&gt;timod&lt;BR /&gt;tirdwr&lt;BR /&gt;pipedev&lt;BR /&gt;pipemod&lt;BR /&gt;ffs&lt;BR /&gt;lan2&lt;BR /&gt;lan3&lt;BR /&gt;dlpi&lt;BR /&gt;inet&lt;BR /&gt;uipc&lt;BR /&gt;nm&lt;BR /&gt;ni&lt;BR /&gt;tpiso&lt;BR /&gt;inet_cots&lt;BR /&gt;inet_clts&lt;BR /&gt;netdiag1&lt;BR /&gt;ldterm&lt;BR /&gt;ptem&lt;BR /&gt;pts&lt;BR /&gt;ptm&lt;BR /&gt;pckt&lt;BR /&gt;nfs&lt;BR /&gt;diag0&lt;BR /&gt;dump lvol&lt;BR /&gt;nstrpty         60&lt;BR /&gt;maxswapchunks 750&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2006 06:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984685#M420645</guid>
      <dc:creator>Paul Senior_1</dc:creator>
      <dc:date>2006-06-12T06:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984686#M420646</link>
      <description>sorry, sysdef output is included in this attatchment</description>
      <pubDate>Mon, 12 Jun 2006 06:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984686#M420646</guid>
      <dc:creator>Paul Senior_1</dc:creator>
      <dc:date>2006-06-12T06:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984687#M420647</link>
      <description>"Obviously if I copied back the /stand/vmunix and this is up-to-date , but the /stand/system (see below) is out of date, does this matter?"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It will matter the next time you build a kernel, because the npty value present in /stand/system will be used.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 12 Jun 2006 06:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984687#M420647</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-12T06:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984688#M420648</link>
      <description>fair point, but why can't I get more than 60 pty's with the current kernel when it has npty and nstrpty both set to 400?</description>
      <pubDate>Mon, 12 Jun 2006 06:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984688#M420648</guid>
      <dc:creator>Paul Senior_1</dc:creator>
      <dc:date>2006-06-12T06:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984689#M420649</link>
      <description>I would try fixing /stand/system, then re-building the kernel and see what you get.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 12 Jun 2006 06:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984689#M420649</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-12T06:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984690#M420650</link>
      <description>I now think the /stand/system file being out of date is a red-herring RE why we can only get 60 users on the server.&lt;BR /&gt;&lt;BR /&gt;I've done a count on the No of pty's we have setup and it is 62. &lt;BR /&gt;I now want to create more device drivers; bearing in mind people are in using the system at present, how can I create extra pty's without affecting existing users?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2006 07:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984690#M420650</guid>
      <dc:creator>Paul Senior_1</dc:creator>
      <dc:date>2006-06-12T07:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984691#M420651</link>
      <description>Hi Paul:&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;# insf -d pty -n 400&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Jun 2006 07:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984691#M420651</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-12T07:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984692#M420652</link>
      <description>will running insf to create more ptty's destroy the active ptty sessions?</description>
      <pubDate>Mon, 12 Jun 2006 07:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984692#M420652</guid>
      <dc:creator>Paul Senior_1</dc:creator>
      <dc:date>2006-06-12T07:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984693#M420653</link>
      <description>pty values require two changes: kernel params *and* device file creation. Set all 3 params:&lt;BR /&gt; &lt;BR /&gt;npty = nstrpty = nstrtel = 400&lt;BR /&gt; &lt;BR /&gt;to 400, then run insf -e. Since your system was restored in a piecemeal fashion, SAM may or may not work correctly to set the pty values and create the needed device files. I cannot stress enough that you should be using Ignite/UX for your VG00 backup.</description>
      <pubDate>Mon, 12 Jun 2006 07:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984693#M420653</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-06-12T07:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984694#M420654</link>
      <description>Hi (again) Paul:&lt;BR /&gt;&lt;BR /&gt;You should be able to run 'insf' without impacting your current sessions.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Jun 2006 07:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984694#M420654</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-12T07:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: urgent: "Cannot allocate pty"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984695#M420655</link>
      <description>I ran insf -d pty -n 400 and no users seem to have been adversly affected and we seem to have pty's on tap again.&lt;BR /&gt;excellant, thankyou to everyone that responded. I'm almost out of the woods...</description>
      <pubDate>Mon, 12 Jun 2006 08:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-quot-cannot-allocate-pty-quot/m-p/4984695#M420655</guid>
      <dc:creator>Paul Senior_1</dc:creator>
      <dc:date>2006-06-12T08:50:47Z</dc:date>
    </item>
  </channel>
</rss>

