<?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: Telnet problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069810#M307364</link>
    <description>Check the number of pty/s drivers that are created in /dev/pty and /dev/pts&lt;BR /&gt;&lt;BR /&gt;# ls *|wc -l&lt;BR /&gt;&lt;BR /&gt; Increase the count to say 200&lt;BR /&gt;# cd /dev&lt;BR /&gt;# insf -n200 -dpty0&lt;BR /&gt;# insf -n200 -dpty1&lt;BR /&gt;# insf -d pts -s 200 -e&lt;BR /&gt;c) Now try to login again&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if it  not solved change the below kernel values to bigger value say 400 (Reboot required )&lt;BR /&gt;&lt;BR /&gt;nstrtel&lt;BR /&gt;npty&lt;BR /&gt;nstrpty</description>
    <pubDate>Thu, 13 Sep 2007 01:50:04 GMT</pubDate>
    <dc:creator>Aneesh Mohan</dc:creator>
    <dc:date>2007-09-13T01:50:04Z</dc:date>
    <item>
      <title>Telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069808#M307362</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I face this problem on Itanium rx2620 with HP-UX 11.23&lt;BR /&gt;&lt;BR /&gt;Here are the symptons:&lt;BR /&gt;&lt;BR /&gt;1. Error message in /var/adm/syslog/syslog.log file:&lt;BR /&gt;hprx2620 telnetd[5134]: telnet pty allocation failed&lt;BR /&gt;&lt;BR /&gt;2. telnet from solaris machine:&lt;BR /&gt;bv-nis:root:[223] telnet hprx2620&lt;BR /&gt;Trying 10.10.102.68...&lt;BR /&gt;Connected to hprx2620.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;3. telnet from hp-ux machine:&lt;BR /&gt;# telnet hprx2620&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to hprx2620.broadvision.com.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;Local flow control off&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;4. telnet from windows' dos command line: no reponse&lt;BR /&gt;&lt;BR /&gt;Could you please help us to solve this problem? Is it something to do with pty allocation?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Senthil&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2007 00:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069808#M307362</guid>
      <dc:creator>prakasse</dc:creator>
      <dc:date>2007-09-13T00:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069809#M307363</link>
      <description>hi Parkasse,&lt;BR /&gt;&lt;BR /&gt;firstly check you have patch up telnetd&lt;BR /&gt;&lt;BR /&gt;PHNE_35770 11.23 telnet kernel, telnetd(1M), telnet(1) patch&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Step 1:  Find out the value of the kernel parameter nstrtel which is what &lt;BR /&gt;controls the maximum number of telnet sessions in conjunction with the "tels" &lt;BR /&gt;device files: &lt;BR /&gt;#  kmtune  -q nstrtel &lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version &lt;BR /&gt;=============================================================================== &lt;BR /&gt;nstrtel                    60  -  60 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 2:  Find out how many "tels" device files are available, which also &lt;BR /&gt;control the maximum number of telnet sessions.  They are found in /dev/pts and &lt;BR /&gt;begin with the letter "t": &lt;BR /&gt;#  ls /dev/pts/t* | wc -w &lt;BR /&gt;60 &lt;BR /&gt;&lt;BR /&gt;If the kernel parameter is already at your desired value, but you don't have &lt;BR /&gt;enough device files, skip to Step 5. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 3:  Run SAM to modify the kernel parameter: &lt;BR /&gt;Use SAM &lt;BR /&gt;          Kernel &lt;BR /&gt;            Configurable Parameters &lt;BR /&gt;             nstrtel &lt;BR /&gt;Set nstrtel to your desired value, e.g. 512, save and reboot. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 4:  Upon reboot, repeat Step #1 to verify the nstrtel kernal parameter is &lt;BR /&gt;at your desired value. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 5:  Build the desired number of the "tels" device files.  There are &lt;BR /&gt;several ways to do this.  Use -s to specify the number of device files to &lt;BR /&gt;build: &lt;BR /&gt;# insf -d tels -s 512 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note:  Existing device files are not recreated unless you delete them.  The -e &lt;BR /&gt;parameter does not recreate them in contrast of what the insf man page &lt;BR /&gt;states. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 6:  Repeat Step #2 to verify you have the number of device files desired. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For more detailed technical information: &lt;BR /&gt;See tels(7) and telm(7) man page for details of the telnet device files. &lt;BR /&gt;&lt;BR /&gt;Also please note the following: &lt;BR /&gt;The npty kernel parameter does not control nor affect telnet sessions.  That &lt;BR /&gt;parameter affects pty's used for non-telnet and non-r-command purposes, such &lt;BR /&gt;as hpterm and xterm ptys.  See pty(7). &lt;BR /&gt;&lt;BR /&gt;The nstrpty kernel parameter controls r-command and secure shell pty's &lt;BR /&gt;called "pts".  See pts (7) and ptm(7).  Device files in /dev/pts that start &lt;BR /&gt;with a number are used by the "r-commands" such as rlogin. &lt;BR /&gt;&lt;BR /&gt;The telnet master pty is /dev/telnetm.  There is only one.  If it is missing, &lt;BR /&gt;it can be recreated as follows: &lt;BR /&gt;#  insf -d telm -e -v &lt;BR /&gt;insf: Installing special files for pseudo driver telm &lt;BR /&gt;        making telnetm c 72 0x000020 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;please assign points&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2007 00:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069809#M307363</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-09-13T00:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069810#M307364</link>
      <description>Check the number of pty/s drivers that are created in /dev/pty and /dev/pts&lt;BR /&gt;&lt;BR /&gt;# ls *|wc -l&lt;BR /&gt;&lt;BR /&gt; Increase the count to say 200&lt;BR /&gt;# cd /dev&lt;BR /&gt;# insf -n200 -dpty0&lt;BR /&gt;# insf -n200 -dpty1&lt;BR /&gt;# insf -d pts -s 200 -e&lt;BR /&gt;c) Now try to login again&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if it  not solved change the below kernel values to bigger value say 400 (Reboot required )&lt;BR /&gt;&lt;BR /&gt;nstrtel&lt;BR /&gt;npty&lt;BR /&gt;nstrpty</description>
      <pubDate>Thu, 13 Sep 2007 01:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069810#M307364</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2007-09-13T01:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069811#M307365</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for your quick response and instruction. &lt;BR /&gt;&lt;BR /&gt;I downloaded patch PHNE_35770 and its required patches, and installed them&lt;BR /&gt;on our server. &lt;BR /&gt;&lt;BR /&gt;But telnet still does not work after rebooting the server. &lt;BR /&gt;&lt;BR /&gt;Then I used swlist -l patch | grep PHNE_35770 command, and got the following&lt;BR /&gt;result:&lt;BR /&gt;&lt;BR /&gt;# swlist -l patch| grep PHNE_35770&lt;BR /&gt;  PHNE_35770.INET-ENG-A-MAN        1.0&lt;BR /&gt;InternetSrvcs.INET-ENG-A-MA&lt;BR /&gt;N    applied&lt;BR /&gt;  PHNE_35770.INETSVCS2-RUN         1.0&lt;BR /&gt;InternetSrvcs.INETSVCS2-RUN&lt;BR /&gt;    applied&lt;BR /&gt;  PHNE_35770.NET2-KRN      1.0               Networking.NET2-KRN    applied&lt;BR /&gt;&lt;BR /&gt;  PHNE_35770.KERN-ENG-A-MAN        1.0               OS-Core.KERN-ENG-A-MAN&lt;BR /&gt;a&lt;BR /&gt;pplied&lt;BR /&gt;# PHNE_35770                            1.0            telnet kernel,&lt;BR /&gt;telnetd(1M&lt;BR /&gt;), telnet(1) patch&lt;BR /&gt;# PHNE_35770.INET-ENG-A-MAN                1.0&lt;BR /&gt;InternetSrvcs.INET-&lt;BR /&gt;ENG-A-MAN    applied&lt;BR /&gt;# PHNE_35770.INETSVCS2-RUN                 1.0&lt;BR /&gt;InternetSrvcs.INETS&lt;BR /&gt;VCS2-RUN    applied&lt;BR /&gt;# PHNE_35770.KERN-ENG-A-MAN                1.0&lt;BR /&gt;OS-Core.KERN-ENG-A-&lt;BR /&gt;MAN    applied&lt;BR /&gt;# PHNE_35770.NET2-KRN                      1.0&lt;BR /&gt;Networking.NET2-KRN&lt;BR /&gt;    applied&lt;BR /&gt;&lt;BR /&gt;Could you help me to figure out what could be wrong? Why # sign infront of&lt;BR /&gt;PHNE_35770?&lt;BR /&gt;&lt;BR /&gt;Further info:&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX hprx2620 B.11.23 U ia64 0169430382 unlimited-user license &lt;BR /&gt;# kmtune -q nstrtel kmtune is a wrapper script which exists for compatibility reasons only.&lt;BR /&gt;The underlying command used is 'kctune'.  New or modified scripts or procedures should use kctune directly.&lt;BR /&gt;About to execute: &lt;BR /&gt;kctune    -q nstrtel&lt;BR /&gt;Tunable  Value  Expression&lt;BR /&gt;nstrtel     60  Default&lt;BR /&gt;# ls /dev/pts/t* | wc -w&lt;BR /&gt;60&lt;BR /&gt;&lt;BR /&gt;Right now I am the only user to access the server. I think we may need around 10 telnet/rlogin/ssh session for development later on.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Senthil.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Sep 2007 01:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-problem/m-p/4069811#M307365</guid>
      <dc:creator>prakasse</dc:creator>
      <dc:date>2007-09-14T01:56:34Z</dc:date>
    </item>
  </channel>
</rss>

