<?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: problem conecting to remshd from linux box in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870825#M563433</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One thing to check is to make sure that each host correctly resolves the hostname and IP address of both hosts.  I think you can get that error when there is a resolution problem.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Nov 2004 13:55:27 GMT</pubDate>
    <dc:creator>John Poff</dc:creator>
    <dc:date>2004-11-16T13:55:27Z</dc:date>
    <item>
      <title>problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870824#M563432</link>
      <description>Hi,&lt;BR /&gt;I'm getting an error when conecting from a linux box to the remshd server on my hp-ux server. The strange thing is that i'm able to login remotely to the server from the same linux box. In other words if I execute: "rsh hp-server" i get logged in, but if I execute "rsh hp-server date" i get:&lt;BR /&gt;&lt;BR /&gt;poll: protocol failure in circuit setup&lt;BR /&gt;&lt;BR /&gt;I have an aparently correct .rhosts in the users acount at the server.&lt;BR /&gt;&lt;BR /&gt;Can anyone please help me with this?&lt;BR /&gt;&lt;BR /&gt;The hp server is an hp 9000/803/D220 model with HP-UX B11.11&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 16 Nov 2004 13:44:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870824#M563432</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-16T13:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870825#M563433</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One thing to check is to make sure that each host correctly resolves the hostname and IP address of both hosts.  I think you can get that error when there is a resolution problem.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 13:55:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870825#M563433</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-11-16T13:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870826#M563434</link>
      <description>Thanks,But they both resolves the hostnames correctly. Each of them have the corresponding entry in their /etc/hosts files.Another problem which I have, and which is related to the previous one, is that i can't find any logs from remsh and rlogin.Thanks in advance for any suggestion</description>
      <pubDate>Tue, 16 Nov 2004 14:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870826#M563434</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-16T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870827#M563435</link>
      <description>Try it by ip address instead. If ip addy works and hostname does not its a resolution problem.&lt;BR /&gt;&lt;BR /&gt;Files to check&lt;BR /&gt;.rhostrs&lt;BR /&gt;/etc/hosts.equiv # can be used to bock access&lt;BR /&gt;/etc/nsswitch.conf # decides dns versus files&lt;BR /&gt;/etc/hosts # see prior line&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good way to grab data&lt;BR /&gt;&lt;BR /&gt;tail -f /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;Then try and connect from Linux.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 14:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870827#M563435</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-16T14:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870828#M563436</link>
      <description>Thank you StevenUnfortunatly, the problem persists. Changed th FQDN in .rhosts for IP number, but nothing changes. Besides I don't think that the problem does something to do with resolve problems, because login in remotly (with rlogin) does function properly.When i monitor the syslog log, nothing apears on it after i try to conect. I supose the logging of remsh is disabled, which could be because of the antique OS. I'm not sure abaout this.Thanks anyway.</description>
      <pubDate>Tue, 16 Nov 2004 14:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870828#M563436</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-16T14:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870829#M563437</link>
      <description>Most likely your problem is firewall (iptables/ipchains?) on your linux box.&lt;BR /&gt;&lt;BR /&gt;rsh server (remshd on hp-ux) opens inbound connection to pass stderr and it is connecting back to the client on a random port below 1023. The client sends port number to the server when it initially opens the connection.&lt;BR /&gt;&lt;BR /&gt;The reason why it works when you run rsh without command is that it uses rlogind on the hp-ux end (which doesn't open inbound connection like remshd does).</description>
      <pubDate>Tue, 16 Nov 2004 21:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870829#M563437</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-11-16T21:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870830#M563438</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;Since you are able to logon using 'rsh', I don't believe you have any issues with name resolution.&lt;BR /&gt;&lt;BR /&gt;So, I would check the services on HP system mainly. Look to see if the services 'shell, login and exec' are enabled in /etc/services and /etc/inetd.conf and are not restricted for Linux server in /var/adm/inetd.sec. Similarly look for these services (/etc/services ?) on the Linux server as well to see if they are properly resolving the services to port numbers. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 16 Nov 2004 23:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870830#M563438</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-16T23:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870831#M563439</link>
      <description>Thanks&lt;BR /&gt;&lt;BR /&gt;I just confirmed that there is no firewall running on the linux box. I don't know if it's possible to block incomming conections by other means, but that's hardly the case.&lt;BR /&gt;&lt;BR /&gt;On the Hp system, the three services are enabled in the /etc/services file:&lt;BR /&gt;&lt;BR /&gt;exec         512/tcp                 # remote execution, passwd required&lt;BR /&gt;login        513/tcp                 # remote login&lt;BR /&gt;who          513/udp  whod           # remote who and uptime&lt;BR /&gt;shell        514/tcp  cmd            # remote command, no passwd used&lt;BR /&gt;&lt;BR /&gt;And they are also enabled for inetd:&lt;BR /&gt;&lt;BR /&gt;login        stream tcp nowait root /usr/lbin/rlogind  rlogind&lt;BR /&gt;shell        stream tcp nowait root /usr/lbin/remshd   remshd&lt;BR /&gt;exec         stream tcp nowait root /usr/lbin/rexecd   rexecd&lt;BR /&gt;&lt;BR /&gt;Also, the hp system does not use restriction for inetd.&lt;BR /&gt;&lt;BR /&gt;A strange thing i have noticed is that on the hp system, is detected a conection from the linux box. The output of netstat just after the rsh attempt is something like this:&lt;BR /&gt;&lt;BR /&gt;tcp        0      0  HPSERVER.shell           LINUXBOX.1023  TIME_WAIT&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly apreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Wed, 17 Nov 2004 08:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870831#M563439</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-17T08:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870832#M563440</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;tcp 0 0 HPSERVER.shell LINUXBOX.1023 TIME_WAIT&lt;BR /&gt;&lt;BR /&gt;Do not worry about the above. It is in TIME_WAIT condition as a result of your previous 'rsh' command. You may need to do little bit more debugging.&lt;BR /&gt;&lt;BR /&gt;1. If you have another Linux box, try doing 'rsh' to it and see if it works.&lt;BR /&gt;2. If you have another HP system, try doing 'remsh' from one HP box to other.&lt;BR /&gt;&lt;BR /&gt;If both the above are working, then I wonder about 'rsh' implementation differences between HP and Linux. May HP is not able to understand what Linux is saying. Theoritically, they should be the same as they are supposed to use the same Berkeley suite.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Nov 2004 10:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870832#M563440</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-17T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870833#M563441</link>
      <description>Thank you Sri&lt;BR /&gt;&lt;BR /&gt;Unfortunatly we don't have another Hp system. So i couldn't test conecting from a similar machine. I tried to connect from all the boxes in the lan, included one sun system. All the linuxes responded with the same message (poll: protocol failure in circuit setup) but the sun box didn't print any message. It simply returned inmediatly.&lt;BR /&gt;&lt;BR /&gt;I just tried to connect with remsh from the hp server to itself and it did not succeed. So i think that it's inquestionable that the problem is on the serverside. The message i received was:&lt;BR /&gt;&lt;BR /&gt;$ remsh HPSERVER date&lt;BR /&gt;rcmd: recv: Connection reset by peer&lt;BR /&gt;&lt;BR /&gt;I really haven't any clue of what might be causing this. Could any one please give me some more advices?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 11:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870833#M563441</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-17T11:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870834#M563442</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use 'lsof' to determine what is exactly running at port 514 (and 512 and 513)&lt;BR /&gt;&lt;BR /&gt;These should be the permissions on remshd.&lt;BR /&gt;&lt;BR /&gt;-r-xr--r--   1 bin        bin          36864 Sep  9  2002 /usr/lbin/remshd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Nov 2004 12:08:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870834#M563442</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-17T12:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870835#M563443</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Thanks for your interest.&lt;BR /&gt;&lt;BR /&gt;The permissions of remshd are the correct ones:&lt;BR /&gt;&lt;BR /&gt;-r-xr--r--   1 bin        bin          32768 Nov 14  2000 /usr/lbin/remshd&lt;BR /&gt;&lt;BR /&gt;And with lsof i got the folowing output:&lt;BR /&gt;&lt;BR /&gt;# ./lsof -iTCP:512,513,514&lt;BR /&gt;COMMAND PID USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME&lt;BR /&gt;inetd   868 root    8u  inet 0x28f3440      0t0  TCP *:login (LISTEN)&lt;BR /&gt;inetd   868 root    9u  inet 0x28f3540      0t0  TCP *:shell (LISTEN)&lt;BR /&gt;inetd   868 root   10u  inet 0x28f3640      0t0  TCP *:exec (LISTEN)&lt;BR /&gt; &lt;BR /&gt;Which i think, seems to be correct.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 17 Nov 2004 13:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870835#M563443</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-17T13:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870836#M563444</link>
      <description>Post the output of the following.&lt;BR /&gt;&lt;BR /&gt;rsh hp-server date;rsh hp-server date&lt;BR /&gt;&lt;BR /&gt;Wait for about 10 secs.&lt;BR /&gt;&lt;BR /&gt;resh hp-server date&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 17 Nov 2004 13:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870836#M563444</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-11-17T13:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870837#M563445</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The output from the linux system is as follows:&lt;BR /&gt;&lt;BR /&gt;bash-2.05a$ rsh hpserver date;rsh hpserver date&lt;BR /&gt;poll: protocol failure in circuit setup&lt;BR /&gt;poll: protocol failure in circuit setup&lt;BR /&gt;bash-2.05a$ rsh hpserver date&lt;BR /&gt;poll: protocol failure in circuit setup&lt;BR /&gt;&lt;BR /&gt;And from the hpserver:&lt;BR /&gt;&lt;BR /&gt;$ remsh hpserver date; remsh hpserver date&lt;BR /&gt;rcmd: recv: Connection reset by peer&lt;BR /&gt;rcmd: recv: Connection reset by peer&lt;BR /&gt;$ remsh hpserver date&lt;BR /&gt;rcmd: recv: Connection reset by peer&lt;BR /&gt;&lt;BR /&gt;You think it may be a problem of a kind of timeout or something like that?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 17 Nov 2004 14:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870837#M563445</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-17T14:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870838#M563446</link>
      <description>I was think may be linux or hp box is running out of ports..&lt;BR /&gt;&lt;BR /&gt;Do you have tusc or equivalent?? (on linux)&lt;BR /&gt;&lt;BR /&gt;tusc -vfp "remsh hp-server date"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 17 Nov 2004 14:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870838#M563446</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-11-17T14:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870839#M563447</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;At this time, I would run 'tusc' on 'inetd' (follow forks), run 'remsh' and see if I get any clues. Is 'logging' enabled with inetd?. &lt;BR /&gt;&lt;BR /&gt;#inetd -l&lt;BR /&gt;#tail -f /var/adm/syslog/syslog.log&lt;BR /&gt;#remsh localhost -n 'll /etc/passwd'&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Nov 2004 14:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870839#M563447</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-17T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870840#M563448</link>
      <description>Please check your /var/adm/inetd.sec file.&lt;BR /&gt;&lt;BR /&gt;Any lines starting with word 'shell' are suspect.</description>
      <pubDate>Wed, 17 Nov 2004 23:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870840#M563448</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-11-17T23:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870841#M563449</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I feel a little bit stupid now... but well. Thank you Sridhar and Ermin. The services where disabled in inetd.sec. I didn't read carefully the first time Sid suggested that. Sorry for the loss of time.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 18 Nov 2004 07:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870841#M563449</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-18T07:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem conecting to remshd from linux box</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870842#M563450</link>
      <description>The services where denying connections, as of settings in /var/adm/inetd.sec.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 18 Nov 2004 07:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-conecting-to-remshd-from-linux-box/m-p/4870842#M563450</guid>
      <dc:creator>Victor Gonzalez_4</dc:creator>
      <dc:date>2004-11-18T07:29:39Z</dc:date>
    </item>
  </channel>
</rss>

