<?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: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501663#M477888</link>
    <description>&lt;P&gt;no idea about the relationship between them, but I can connect through my server before /tmp is 100 %. Not sure why it can be 100% suddenly. I've searched the issued about /dev/tty things and you're right it about to setting the parameter. I've checked too and I see that my DAEMON is failed to start when I reboot the server&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2012 09:48:50 GMT</pubDate>
    <dc:creator>adr33</dc:creator>
    <dc:date>2012-01-19T09:48:50Z</dc:date>
    <item>
      <title>Server refused to allocate pty , ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5482321#M477794</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have hp-ux server with 11.11 OS version, Today with suddenly I can't remote my server with telnet or putty (ssh) eve ftp.&lt;/P&gt;&lt;P&gt;But I can use it well with terminal (directly through server).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked the syslog.log and found this below:&lt;/P&gt;&lt;P&gt;error:openpty:Bad file number&lt;/P&gt;&lt;P&gt;error:session_pty_req:session 0 alloc failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read some articles in this forum and try to restart my server but not solve the problem,&lt;/P&gt;&lt;P&gt;Anyone can tell me what happen to my server? it's a bug or something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Adrian Tjahjana&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2012 15:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5482321#M477794</guid>
      <dc:creator>adr33</dc:creator>
      <dc:date>2012-01-12T15:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5490931#M477802</link>
      <description>&lt;P&gt;&amp;gt;suddenly I can't remote my server with telnet or putty (ssh) even ftp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does kmtune(1m) show for npty nstrpty nstrtel?&lt;/P&gt;&lt;P&gt;You may need to use SAM to make these larger.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 02:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5490931#M477802</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-13T02:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty , ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5491789#M477803</link>
      <description>Hi how I can show kmtune(1m) for npty nstrpty nstrtel? Thanks</description>
      <pubDate>Fri, 13 Jan 2012 01:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5491789#M477803</guid>
      <dc:creator>adr33</dc:creator>
      <dc:date>2012-01-13T01:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5492997#M477804</link>
      <description>&lt;P&gt;&amp;gt;how I can show kmtune(1m) for npty nstrpty nstrtel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the kmtune(1m) man page:&lt;/P&gt;&lt;P&gt;kmtune -q npty -q nstrpty -q nstrtel&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 02:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5492997#M477804</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-13T02:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5493593#M477806</link>
      <description>Hi, here's the parameter, anything wrong? Parameter Current Dyn Planned Module Version =============================================================================== npty 60 - 60 nstrpty 60 - 60 nstrtel 60 - 60</description>
      <pubDate>Fri, 13 Jan 2012 06:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5493593#M477806</guid>
      <dc:creator>adr33</dc:creator>
      <dc:date>2012-01-13T06:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5494529#M477815</link>
      <description>&lt;P&gt;&amp;gt;npty 60 - 60&amp;nbsp; nstrpty 60 - 60 nstrtel 60 - 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have more than 60 people trying to log on?&amp;nbsp; You may have to use SAM to increase these limits.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 23:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5494529#M477815</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-13T23:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5494687#M477818</link>
      <description>&lt;P&gt;no it's only for around 50 users no more than 60, after I reboot the server the problem still occur.&lt;/P&gt;&lt;P&gt;it's corrupt maybe?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2012 08:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5494687#M477818</guid>
      <dc:creator>adr33</dc:creator>
      <dc:date>2012-01-14T08:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5495065#M477819</link>
      <description>&lt;P&gt;&amp;gt;after I reboot the server the problem still occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are going to reboot anyway, you might as well use SAM to increase these kernel parms.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jan 2012 22:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5495065#M477819</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-14T22:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5495747#M477825</link>
      <description>&lt;P&gt;... no it's only for around 50 users no more than 60, after I reboot the server the problem still occur.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;it's corrupt maybe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;60 is the default and is way too small for 50 users. Every time a user logs in, you need a pty pair. This also includes all the junk logins caused by users that don't log out properly. Change all 3 parameters (npty, nstrtel and nstrpty) to 200, perhaps 500. There is no reason to have the system jam up due to a very small kernel parameter. By changing all 3 to a large value, you won't have this problem in the foreseeable future.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Jan 2012 03:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5495747#M477825</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-01-16T03:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501441#M477881</link>
      <description>Hi,&lt;BR /&gt;finally I restore the ignite and not to increase the kernel parms and the problem is solve, before the problem occur my /tmp file going to be 100% and the problem occur after that. It because of full space of tmp folder?</description>
      <pubDate>Thu, 19 Jan 2012 04:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501441#M477881</guid>
      <dc:creator>adr33</dc:creator>
      <dc:date>2012-01-19T04:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501471#M477883</link>
      <description>&lt;P&gt;&amp;gt;It because of full space of tmp folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running out of space in /tmp can cause all types of problems, including not being able to logon, especially if / is full.&amp;nbsp; (Which sounds like your problem.)&lt;/P&gt;&lt;P&gt;I'm not sure why it mentions /dev/tty if /tmp is full?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 05:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501471#M477883</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-19T05:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Server refused to allocate pty, ttytype: couldn't open /dev/tty for reading</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501663#M477888</link>
      <description>&lt;P&gt;no idea about the relationship between them, but I can connect through my server before /tmp is 100 %. Not sure why it can be 100% suddenly. I've searched the issued about /dev/tty things and you're right it about to setting the parameter. I've checked too and I see that my DAEMON is failed to start when I reboot the server&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 09:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-refused-to-allocate-pty-ttytype-couldn-t-open-dev-tty-for/m-p/5501663#M477888</guid>
      <dc:creator>adr33</dc:creator>
      <dc:date>2012-01-19T09:48:50Z</dc:date>
    </item>
  </channel>
</rss>

