<?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 : Connection closed by foreign host in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970516#M417776</link>
    <description>To close the thread.</description>
    <pubDate>Thu, 30 Mar 2006 07:06:57 GMT</pubDate>
    <dc:creator>GRANDIERE</dc:creator>
    <dc:date>2006-03-30T07:06:57Z</dc:date>
    <item>
      <title>telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970507#M417767</link>
      <description>Impossible to connect to my serveur with telnet ou ftp.&lt;BR /&gt;I can ping the server.&lt;BR /&gt;The server has tow interface lan0 et lan2. I can connect with telnet from a another server whitch uses the lan2 interface. But it is impossible with the lan0.&lt;BR /&gt;&lt;BR /&gt;First Error Message : &lt;BR /&gt;RPU0H057 &amp;gt;/ #telnet 150.62.104.68&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to 150.62.104.68.&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;Second Error Message : &lt;BR /&gt;RPU0H057 &amp;gt;/ #telnet 150.62.104.68&lt;BR /&gt;Trying...&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;Le telnet deamon is started &lt;BR /&gt;prisme4:/var/adm/syslog#ps -ef |grep telnet&lt;BR /&gt;    root 15039 14956  1 17:23:51 pts/5     0:00 grep telnet&lt;BR /&gt;    root 14829   690  0 16:39:19 pts/ta    0:00 telnetd&lt;BR /&gt;&lt;BR /&gt;I started the inet&lt;BR /&gt;prisme4:#inetd -b&lt;BR /&gt;And saw that messages in the logs : &lt;BR /&gt;prisme4:/var/adm/syslog#tail syslog.log&lt;BR /&gt;Mar 29 16:54:08 prisme4 telnetd[14919]: getpid: peer died: Error 0&lt;BR /&gt;Mar 29 16:55:50 prisme4 nmbd[10368]: [2006/03/29 16:55:50, 0] nmbd/nmbd_responserecordsdb.c:(234)&lt;BR /&gt;Mar 29 16:55:50 prisme4 nmbd[10368]:   find_response_record: response packet id 32843 received with no matching record.&lt;BR /&gt;Mar 29 17:01:01 prisme4 rlogind[14796]: Login failure (exit(130) from login(1))&lt;BR /&gt;Mar 29 17:12:16 prisme4 syslog: inetd sendsig: entered, sig=4&lt;BR /&gt;Mar 29 17:12:16 prisme4 syslog: inetd sendsig: exiting&lt;BR /&gt;Mar 29 17:12:16 prisme4 inetd[690]: Extended connection logging enabled&lt;BR /&gt;Mar 29 17:12:16 prisme4 inetd[690]: Select() returned:n=-1,errno=4:Interrupted system call&lt;BR /&gt;Mar 29 17:12:16 prisme4 inetd[690]: Entered for(;;) loop.&lt;BR /&gt;Mar 29 17:12:16 prisme4 inetd[690]: About to select()...&lt;BR /&gt;&lt;BR /&gt;Thanks for help.&lt;BR /&gt;&lt;BR /&gt;GRANDIERE&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 10:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970507#M417767</guid>
      <dc:creator>GRANDIERE</dc:creator>
      <dc:date>2006-03-29T10:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970508#M417768</link>
      <description>shalom,&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0 lan1 lan2 in sequence ifconfig lan.&lt;BR /&gt;&lt;BR /&gt;Check /etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;is telnet enabled. Is ftp&lt;BR /&gt;&lt;BR /&gt;inetd -c&lt;BR /&gt;# restarts&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 29 Mar 2006 10:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970508#M417768</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-29T10:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970509#M417769</link>
      <description>Thanks for your response : &lt;BR /&gt;&lt;BR /&gt;prisme4:/#ifconfig lan0&lt;BR /&gt;lan0: flags=843&lt;UP&gt;&lt;BR /&gt;        inet 150.62.104.68 netmask fffff800 broadcast 150.62.111.255&lt;BR /&gt;prisme4:/#ifconfig lan2&lt;BR /&gt;lan2: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 192.10.10.4 netmask ffffff00 broadcast 192.10.10.255&lt;BR /&gt;&lt;BR /&gt;Since i wrote my first message, the telnet service works again. But the service work and not for 2 days : i think the service will fail again ...&lt;BR /&gt;&lt;BR /&gt;I can say that the telnet service is enable because i can connect from another serveur.&lt;BR /&gt;prisme4:/#more inetd.conf&lt;BR /&gt;[...]&lt;BR /&gt;telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd &lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;GRANDIERE&lt;/UP&gt;&lt;/UP&gt;</description>
      <pubDate>Wed, 29 Mar 2006 11:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970509#M417769</guid>
      <dc:creator>GRANDIERE</dc:creator>
      <dc:date>2006-03-29T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970510#M417770</link>
      <description>Grandiere,&lt;BR /&gt;&lt;BR /&gt;I have seen this scenario caused by a couple different issues.&lt;BR /&gt;&lt;BR /&gt;/, /tmp, or /var/tmp are full.&lt;BR /&gt;&lt;BR /&gt;maximum number of sessions is maxed out&lt;BR /&gt;&lt;BR /&gt;nproc is maxed out&lt;BR /&gt;&lt;BR /&gt;a runaway process is usung up too many system resources.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 11:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970510#M417770</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-03-29T11:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970511#M417771</link>
      <description>***************************************&lt;BR /&gt;No FS are full : &lt;BR /&gt;&lt;BR /&gt;prisme4:/#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     212992   62280  149584   29% /&lt;BR /&gt;/dev/vg00/lvol1     298928   34784  234248   13% /stand&lt;BR /&gt;/dev/vg00/lvol7    4718592  452888 4232408   10% /var&lt;BR /&gt;/dev/vg00/lvol6     884736  766544  117368   87% /usr&lt;BR /&gt;/dev/vg02/lv_travail&lt;BR /&gt;                   5120000 1977314 2946604   40% /travail&lt;BR /&gt;/dev/vg00/lvol5     212992    4152  207248    2% /tmp&lt;BR /&gt;/dev/vg01/lv_s1_prisme4_sybsystemprocs_v12&lt;BR /&gt;                     90112   83045    6633   93% /sybsystemprocs_v12&lt;BR /&gt;/dev/vg01/lv_sybase12&lt;BR /&gt;                   1024000  630190  369248   63% /sybase12&lt;BR /&gt;/dev/vg00/lvol4    1228800  820328  405312   67% /opt&lt;BR /&gt;/dev/vg01/fs_backup_01&lt;BR /&gt;                    409600  156605  237226   40% /netbackup&lt;BR /&gt;/dev/vg01/lv_lk_   12288000 6858344 5261470   57% /lk_&lt;BR /&gt;/dev/vg00/lvol8      32768    2872   29712    9% /home&lt;BR /&gt;/dev/vgdump/lv_dump&lt;BR /&gt;                   143351808 98690920 44312624   69% /dump&lt;BR /&gt;/dev/vg02/lv_alim  15360000 7382342 7728358   49% /donnees&lt;BR /&gt;prisme2:/dump      215027712 181691528 33075992   85% /dump_prisme2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;***************************************&lt;BR /&gt;And the CPU seems to be quit : &lt;BR /&gt;prisme4:/#top&lt;BR /&gt;&lt;BR /&gt;System: prisme4                                       Wed Mar 29 18:52:29 2006&lt;BR /&gt;Load averages: 0.05, 0.10, 0.11&lt;BR /&gt;105 processes: 103 sleeping, 2 running&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    0.00   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.10   0.2%   0.0%   0.2%  99.6%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   0.05   0.0%   0.0%   0.2%  99.8%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 33668K (20296K) real, 122748K (81572K) virtual, 61868K free  Page# 1/3&lt;BR /&gt;&lt;BR /&gt;CPU TTY     PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 0   ?       33 root     152 20  1856K     0K run     79:47  1.13  1.13 vxfsd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How can i know if maximum number of sessions is maxed out.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;GRANDIERE</description>
      <pubDate>Wed, 29 Mar 2006 12:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970511#M417771</guid>
      <dc:creator>GRANDIERE</dc:creator>
      <dc:date>2006-03-29T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970512#M417772</link>
      <description>&lt;BR /&gt;You can monitor the number of processes and sessions real time with glance.  If you have measureware installed, you can look at the history with perfview.</description>
      <pubDate>Wed, 29 Mar 2006 12:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970512#M417772</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-03-29T12:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970513#M417773</link>
      <description>The problem came again !&lt;BR /&gt;I don't think that problem commes cause a runaway process is usung up too many system resources : when i connecte the server by another network interface the telnet session works well.&lt;BR /&gt;&lt;BR /&gt;Has anyone another idea ?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;GRANDIERE</description>
      <pubDate>Thu, 30 Mar 2006 03:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970513#M417773</guid>
      <dc:creator>GRANDIERE</dc:creator>
      <dc:date>2006-03-30T03:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970514#M417774</link>
      <description>As mentioned in another thread (Sorry, I cannot find the reference at the moment) is it possible that another box has duplicated the 150.62.104.68 address?  A simple test would be, while telnet is not working, to disconnect the network cable to the server and ping the address. If the ping works, you have a duplicate address.</description>
      <pubDate>Thu, 30 Mar 2006 06:39:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970514#M417774</guid>
      <dc:creator>Tom Henning</dc:creator>
      <dc:date>2006-03-30T06:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970515#M417775</link>
      <description>Hi Tom Henning,&lt;BR /&gt;&lt;BR /&gt;You know what you are a superman !&lt;BR /&gt;&lt;BR /&gt;That's my problem.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !!!!&lt;BR /&gt;&lt;BR /&gt;By</description>
      <pubDate>Thu, 30 Mar 2006 07:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970515#M417775</guid>
      <dc:creator>GRANDIERE</dc:creator>
      <dc:date>2006-03-30T07:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: telnet : Connection closed by foreign host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970516#M417776</link>
      <description>To close the thread.</description>
      <pubDate>Thu, 30 Mar 2006 07:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-connection-closed-by-foreign-host/m-p/4970516#M417776</guid>
      <dc:creator>GRANDIERE</dc:creator>
      <dc:date>2006-03-30T07:06:57Z</dc:date>
    </item>
  </channel>
</rss>

