<?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: remsh anf ftp not functioning in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659124#M47779</link>
    <description>Hi&lt;BR /&gt;try &lt;BR /&gt;ps -ef |grep inetd&lt;BR /&gt;&lt;BR /&gt;see if inetd is running. &lt;BR /&gt;&lt;BR /&gt;vi /etc/inetd.conf &lt;BR /&gt;check to make sure the services you want are not commented out. If they are .. uncomment them then run&lt;BR /&gt;inetd -c &lt;BR /&gt;inetd -c rereads the inetd.conf file.&lt;BR /&gt;&lt;BR /&gt;Let us know what you get. &lt;BR /&gt;also just wondering you said you cant ftp or remsh to it but can you ftp or remsh from it?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
    <pubDate>Tue, 05 Feb 2002 18:12:52 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2002-02-05T18:12:52Z</dc:date>
    <item>
      <title>remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659121#M47776</link>
      <description>Hey Gang, &lt;BR /&gt;&lt;BR /&gt;I have two identical workstations running HPUX 10.20.  One is able to accept telnet, rlogin, ftp and remsh commands in as well as going out.  The other one is giving the message "connection refused" when attempting to telnet or ftp to the box, and simply faisl when someone else tried to remsh to the box, however the box can telnet and ftp out.&lt;BR /&gt;&lt;BR /&gt;I have compared the two boxes and everything looks identical.  The .rhosts is the same for root on both boxes, there is no hosts.equiv for either, the inetd.sec looks the same between the two, the services file and the inetd.conf files are the same.&lt;BR /&gt;&lt;BR /&gt;Where else should I look on the box failing to accept ftp and telnet sessions?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 05 Feb 2002 18:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659121#M47776</guid>
      <dc:creator>Mike_316</dc:creator>
      <dc:date>2002-02-05T18:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659122#M47777</link>
      <description>It sounds to me like inetd isn't running...</description>
      <pubDate>Tue, 05 Feb 2002 18:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659122#M47777</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2002-02-05T18:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659123#M47778</link>
      <description>first eliminate the obvious: is inetd running? are there messages in syslog.log (or any of the log files in /var/adm/syslog) that refer to ftp or inetd?  are both port 20 and 21 listed in /etc/services? Have you checked the entries in /etc/ftpd/ftpusers?  Is ftp setup to log in /etc/inetd.conf (-l option)?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2002 18:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659123#M47778</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-02-05T18:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659124#M47779</link>
      <description>Hi&lt;BR /&gt;try &lt;BR /&gt;ps -ef |grep inetd&lt;BR /&gt;&lt;BR /&gt;see if inetd is running. &lt;BR /&gt;&lt;BR /&gt;vi /etc/inetd.conf &lt;BR /&gt;check to make sure the services you want are not commented out. If they are .. uncomment them then run&lt;BR /&gt;inetd -c &lt;BR /&gt;inetd -c rereads the inetd.conf file.&lt;BR /&gt;&lt;BR /&gt;Let us know what you get. &lt;BR /&gt;also just wondering you said you cant ftp or remsh to it but can you ftp or remsh from it?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 05 Feb 2002 18:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659124#M47779</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-05T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659125#M47780</link>
      <description>I was able to duplicate it &lt;BR /&gt;&lt;BR /&gt;with telnet and ftp in &lt;BR /&gt;/etc/services&lt;BR /&gt;on host box commented out.&lt;BR /&gt;&lt;BR /&gt;# telnet lupus&lt;BR /&gt;Trying...&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;# ftp lupus&lt;BR /&gt;ftp: connect: Connection refused&lt;BR /&gt;ftp&amp;gt; &lt;BR /&gt;&lt;BR /&gt;after uncommeted in&lt;BR /&gt;/etc/services&lt;BR /&gt;they both worked&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2002 18:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659125#M47780</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-05T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659126#M47781</link>
      <description>opps hit reply to fast&lt;BR /&gt;&lt;BR /&gt;now with just&lt;BR /&gt;telet and ftp commented out in&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;# telnet lupus&lt;BR /&gt;Trying...&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;# ftp lupus&lt;BR /&gt;ftp: connect: Connection refused&lt;BR /&gt;ftp&amp;gt; &lt;BR /&gt;&lt;BR /&gt;same thing&lt;BR /&gt;after uncommeted &lt;BR /&gt;then running&lt;BR /&gt;inetd -c&lt;BR /&gt;&lt;BR /&gt;it worked&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2002 18:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659126#M47781</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-05T18:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659127#M47782</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could also check the file&lt;BR /&gt;/etc/inetd.conf if there are&lt;BR /&gt;lines for telnet and rlogin.&lt;BR /&gt;/etc/services should also contain these lines.&lt;BR /&gt;&lt;BR /&gt;The file /var/adm/inetd.sec&lt;BR /&gt;checks if your system is denied or allowed access.&lt;BR /&gt;&lt;BR /&gt;You should also check how many sessions are already running on that system.&lt;BR /&gt;&lt;BR /&gt;It is most likely to many sessions are already running and all pty's are used.&lt;BR /&gt;Increasing the pty's and npty's could resolve your problem.&lt;BR /&gt;&lt;BR /&gt;First check how many pty's you have available with :&lt;BR /&gt;&lt;BR /&gt;ls /dev/pty |wc -w&lt;BR /&gt;ls /dev/ptym | wc -w&lt;BR /&gt;&lt;BR /&gt;FYI : 60 is default&lt;BR /&gt;      In this case the number       of pty's have never been       increased&lt;BR /&gt;&lt;BR /&gt;First you need to increase npty in the kernel to 512.&lt;BR /&gt;(or any number you desire)&lt;BR /&gt;&lt;BR /&gt;second you need to create additional pty's in /dev&lt;BR /&gt;&lt;BR /&gt;insf -d ptys -n 512 (=npty)&lt;BR /&gt;insf -d ptym -n 512 (=npty)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2002 18:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659127#M47782</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-02-05T18:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: remsh anf ftp not functioning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659128#M47783</link>
      <description>OK.  It was too simple.  The reason I could find nothing wrong with the files, was they were all correct.&lt;BR /&gt;&lt;BR /&gt;Although the inetd was running, it had been started with the old files and thus, was reacting to the security and process settings from the old files.&lt;BR /&gt;&lt;BR /&gt;Stopped and restarted inetd, and everything is fine now.&lt;BR /&gt;&lt;BR /&gt;Thanks again for all the help!&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 05 Feb 2002 18:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-anf-ftp-not-functioning/m-p/2659128#M47783</guid>
      <dc:creator>Mike_316</dc:creator>
      <dc:date>2002-02-05T18:54:43Z</dc:date>
    </item>
  </channel>
</rss>

