starting erlang on remote node
Per Bergqvist
per@REDACTED
Fri Apr 5 06:28:39 CEST 2002
Garry,
Erlang node names use either fully qualified domain names or
"shortnames" for the host part of node name.
This is controlled by the "-name" (FQDN) and "-sname" (short name)
switches.
To resolve your problem:
a1) replace "-name node" with "-sname node" to use shortnames
or
a2) try to contact "kestrel.sage.att.com" instead of "kestrel".
/Per
> Vladimir Sekissov wrote:
> > Garry Hodgson <garry@REDACTED> wrote:
> >
> > garry> i'm writing some oam scripts to enable users to remotely
start up
> > garry> erlang on various nodes in our linux clusters. i'm
attempting to use
> > garry> ssh for this, and getting some errors i don't understand.
in
> > garry> particular,
> > garry> when i run:
> > garry>
> > garry> ssh node0 erl -setcookie cookie -name node -pa
$FATHOM/lib -run
> > garry> master checkin
> > garry>
> > garry> i get:
> > garry>
> > garry> Eshell V5.0.1 (abort with ^G)
> > garry> (node@REDACTED)1>
> > garry> =ERROR REPORT==== 4-Apr-2002::14:09:48 ===
> > garry> ** System running to use fully qualified hostnames **
> > garry> ** Hostname kestrel is illegal **
> > garry> (node@REDACTED)1>
> > garry>
> > garry> and no response to anything i type at this command prompt.
the
> > garry> master:checkin()
> > garry> from the "-run" arg does not appear to get run. hitting ^C
gets me:
> > garry>
> > garry> Killed by signal 2.
> >
> > Your shell on remote host is not interactive.
> > So you can't interact with your program.
>
> i realized after i posted that i can, indeed, type at the erlang
> shell and run commands. the error above is coming from the
> master:checkin()
> call implied by the -run flag. if i run it by hand at the prompt i
get,
> the same error appears, even though the nodename appears correct:
>
> (node@REDACTED)2> master:checkin().
>
> =ERROR REPORT==== 4-Apr-2002::15:33:19 ===
> ** System running to use fully qualified hostnames **
> ** Hostname kestrel is illegal **
> {checkin,'node@REDACTED'}
> (node@REDACTED)3> node().
> 'node@REDACTED'
>
> --
> Garry Hodgson Let my inspiration flow
> Senior Hacker in token rhyme suggesting rhythm
> Software Innovation Services that will not forsake me
> AT&T Labs 'til my tale is told and done.
> garry@REDACTED
>
=========================================================
Per Bergqvist
Synapse Systems AB
Phone: +46 709 686 685
Email: per@REDACTED
More information about the erlang-questions
mailing list