rsh fails: [WAS] pvm connection problems
Context: 2 pentium 4 boxes; freebsd 5.4 6.0 I detected that remote login via rsh doesn't work in my boxes: e.g. # rsh uffbsd uffbsd.myd.prv: Connection refused even though I've defined the trusted hosts on each box both in $HOME/.rhosts and in /etc/hosts.equiv. I've also uncommented the shell lines in /etc/inetd.conf to no avail. What should I do to enable the (mistrusted) rsh connection? Vittorio Alle 08:07, mercoledì 30 novembre 2005, Vittorio ha scritto: At office I'm trying to solve a heavy statistical problem by means of parallel computation with R and pvm. The problem is with setting up the cluster of computers which - to begin with - is made of two pentium 4 with freebsd 5.4 (host uffbsd) and 6.0 (host NbBSD). They see each other. From NbBSD: # ping uffbsd PING uffbsd.myd.prv (10.155.194.115): 56 data bytes 64 bytes from 10.155.194.115: icmp_seq=0 ttl=64 time=0.221 ms 64 bytes from 10.155.194.115: icmp_seq=1 ttl=64 time=0.193 ms But trying to setup the virtual machine pvm add NbBSD add NbBSD 0 successful HOST DTID NbBSD Duplicate host pvm conf conf 1 host, 1 data format HOST DTID ARCH SPEED DSIG NbBSD.myd.prv4 FREEBSD1000 0x00408841 pvm add uffbsd add uffbsd 0 successful HOST DTID uffbsd Can't start pvmd Auto- Diagnosing Failed Hosts... uffbsd... Verifying Local Path to rsh... Rsh found in /usr/bin/rsh - O.K. Testing Rsh/Rhosts Access to Host uffbsd... Rsh/Rhosts Access FAILED - uffbsd.myd.prv: Connection refused Make sure host uffbsd is up and connected to a network and check its DNS / IP address. Also verify that NbBSD.myd.prv is allowed rsh access on uffbsd Add this line to the $HOME/.rhosts on uffbsd: NbBSD.myd.prv victor ... Of course, in /home/victor/.rhost on uffbsd there's the required line. The same reciprocal situation happens from host uffbsd. Perhaps I'm missing something. Could you please help me? Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsh fails: [WAS] pvm connection problems
On Wednesday 30 November 2005 08:30 am, Vittorio De Martino wrote: Context: 2 pentium 4 boxes; freebsd 5.4 6.0 I detected that remote login via rsh doesn't work in my boxes: e.g. # rsh uffbsd uffbsd.myd.prv: Connection refused even though I've defined the trusted hosts on each box both in $HOME/.rhosts and in /etc/hosts.equiv. I've also uncommented the shell lines in /etc/inetd.conf to no avail. What should I do to enable the (mistrusted) rsh connection? Vittorio Do you have inetd enabled (inetd_enable=YES in /etc/rc.conf) and is it running? -- John Baldwin [EMAIL PROTECTED] http://www.FreeBSD.org/~jhb/ Power Users Use the Power to Serve = http://www.FreeBSD.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
R: Re: rsh fails: [WAS] pvm connection problems
Messaggio originale Da: [EMAIL PROTECTED] Data: 30-nov-2005 2.15 PM A: freebsd-cluster@freebsd.org Cc: Vittorio De Martino [EMAIL PROTECTED], freebsd-questions@freebsd.org Ogg: Re: rsh fails: [WAS] pvm connection problems On Wednesday 30 November 2005 08:30 am, Vittorio De Martino wrote: Context: 2 pentium 4 boxes; freebsd 5.4 6.0 I detected that remote login via rsh doesn't work in my boxes: e.g. # rsh uffbsd uffbsd.myd.prv: Connection refused even though I've defined the trusted hosts on each box both in $HOME/.rhosts and in /etc/hosts.equiv. I've also uncommented the shell lines in /etc/inetd.conf to no avail. What should I do to enable the (mistrusted) rsh connection? Vittorio Do you have inetd enabled (inetd_enable=YES in /etc/rc.conf) and is it running? Actually no, but... From the standpoint of my first box, NbBSD (freebsd 6.0) I did the following steps 1) added inetd_enable=YES at the end of /etc/rc.conf 2) modified /etc/inetd. conf uncommenting the line shell stream tcp nowait root /usr/libexec/rshd rshd (I don't know if it helps, anyway!) 3) /etc/rc.d/inetd start 4) I've checked the presence of inetd via top. It existed!! 5) Under user victor there's a .rhosts file containing: uffbsd.myd.prv victor (user victor exists on the box uffbsd and uffbsd.myd.prv is also present in the box NbBSD in /etc/hosts: I can ping it!) 6) I reciprocate the same configuring steps on the other machine uffbsd. Well in the end: # rsh uffbsd uffbsd.myd.prv: Connection refused Please help Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: R: Re: rsh fails: [WAS] pvm connection problems
On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of Vittorio, and lo! it spake thus: 6) I reciprocate the same configuring steps on the other machine uffbsd. Well in the end: # rsh uffbsd uffbsd.myd.prv: Connection refused rsh with no arguments uses rlogind, not the rshd. -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: R: Re: rsh fails: [WAS] pvm connection problems
Alle 15:19, mercoledì 30 novembre 2005, Matthew D. Fuller ha scritto: On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of Vittorio, and lo! it spake thus: 6) I reciprocate the same configuring steps on the other machine uffbsd. Well in the end: # rsh uffbsd uffbsd.myd.prv: Connection refused rsh with no arguments uses rlogind, not the rshd. Thanks to the suggestions in this mailing-list, after enabling rlogind in inetd.conf and restarting the service now rsh works! $ rsh uffbsd Password: Last login: Wed Nov 30 16:02:31 on ttyp0 Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE (SERVER3) #0: Mon Nov 7 18:07:20 CET 2005 Welcome in FreeBSD! uffbsd victor# exit rlogin: connection closed BUT.. pvm goes on complaining as at the very beginning of this thread that: victor$ pvm pvm add NbBSD add NbBSD 0 successful HOST DTID NbBSD Duplicate host pvm add uffbsd add uffbsd 0 successful HOST DTID uffbsd Can't start pvmd Auto-Diagnosing Failed Hosts... uffbsd... Verifying Local Path to rsh... Rsh found in /usr/bin/rsh - O.K. Testing Rsh/Rhosts Access to Host uffbsd... Rsh/Rhosts Access FAILED - rshd: Login incorrect. Make sure host uffbsd is up and connected to a network and check its DNS / IP address. Also verify that NbBSD.myd.prv is allowed rsh access on uffbsd Add this line to the $HOME/.rhosts on uffbsd: NbBSD.myd.prv victor ... . Now user victor on the uffbsd box had been defined via adduser as a normal user with password.Thinking the the problem was the password, I deleted it and recreated this user as passwordless but rsh fails asking for a password all the same and pvm fails with identical diagnostic. Please help again Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]