shell$ /usr/bin/rsh
usage: rsh [-nd] [-l login] host [command]
but the lam requires the "-n" parameter:
/usr/bin/rsh mpi202 -n hboot -t -c lam-conf.lamd -v -s -I "-H 168.0.0.201 -P 32805
-n 1 -o 0"
This parameter can not be accept by /usr/bin/rsh
I don't think /usr/bin/rsh is the solution.
>From: Jeff Squyres <jsquyres_at_[hidden]>
>Reply-To: General LAM/MPI mailing list <lam_at_[hidden]>
>To: General LAM/MPI mailing list <lam_at_[hidden]>
>Subject: Re: LAM: kerberos blocks rsh
>
>Are you exporting LAMRSH to the environment? Note that it's not
> sufficient to (assuming bash):
>
> $ LAMRSH=rsh
> $ lamboot ...
>
> You need to export LAMRSH so that lamboot will see it:
>
> $ LAMRSH=rsh
> $ export LAMRSH
> $ lamboot ...
>
>
> On Oct 21, 2004, at 8:58 AM, "" <wdz03_at_[hidden]> wrote:
>
> > http://lam.squyres.com/MailArchives/lam/msg02364.php
> > "default remote shell uses kerberos leading to lamboot faliure"
> >
> > -----------------------------------
> > Hi,
> > I am facing yet another problem. While compilig for lam I did NOT
> > select
> > any rsh so my rsh was automatically selected to be:
> > /usr/kerberos/bin/rsh
> > (On RHL-6.2 P-3)
> > However in absence of kerberos authentication mechanism commmands
> > like
> > /usr/kerberos/bin/rsh arjun2.aero.iitb.ernet.in -n echo $SHELL
> > yeild following output :
> > arjun2.aero.iitb.ernet.in: Connection refused
> > Trying krb4 rsh...
> > arjun2.aero.iitb.ernet.in: Connection refused
> > trying normal rsh (/usr/bin/rsh)
> > /bin/sh
> > Because the first four lines are printed on stderr lamboot refuses to
> > boot and recon also fails.
> > I tried setting LAMRSH=/usr/bin/rsh and then excute lamboot but Lam
> > still tried to use the remote agent command "/usr/kerberos/bin/rsh"
> > to invoke "echo $SHELL" on the remote node.
> > I have a dirty trick in mind i.e. to
> > cp /usr/bin/rsh /usr/kerberos/bin/rsh (Which I hope should
> > work)
> > But before I do anything of that sort I would like to ask why setting
> > LAMRSH did not give me any reprive? Also if any elegant solution exists
> > please let me know.
> >
> > Thanking you in advance.
> >
> >
> > ***********************************************************************
> > ********
> >
> > snail mail addresses:-
> >
> > Kaustuv, # Kaustuv,
> > H-6, #255; # C/o Dr. N. R. Prasad,
> > IIT BOMBAY; # East Patel Nagar, Rd. No.1;
> > POWAI -400076 # Patna -800023;
> > MAHARASTRA. {ph: 91-22-7460551}# Bihar . {ph:91-612-281274}
> > ***********************************************************************
> > ********
> >
> > --------------------------------------------------------------------
> > There are no answers to this question
> >
> > I have met the same question. How to solve this problem? Thank you!
> >
> > regards
> > Caregx
> >
> >
> > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
> >
>
> --
> {+} Jeff Squyres
> {+} jsquyres_at_[hidden]
> {+} http://www.lam-mpi.org/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|