2012-02-11 14 views
5

ho faticato a connettermi al nodo di erlang e senza fortuna. La situazione è la seguente:Erlang. Connessione al nodo locale: *** ERRORE: processo di shell terminato

1) Ho nodo "-detached" erlang esecuzione sull'host locale con -sname n1

2)

$ epmd -names 
epmd: up and running on port 4369 with data: 
name n1 at port 53653 

3) tentativo di connessione

$ erl -sname test -remsh n1 
... 
ERROR: Shell process terminated! (^G to start new job) 


$ erl -sname test -setcookie *COOKIE* -remsh n1 
... 
ERROR: Shell process terminated! (^G to start new job) 


$ erl -sname test -setcookie *COOKIE* -remsh [email protected] 
... 
ERROR: Shell process terminated! (^G to start new job) 

Cos'altro dovrei provare?

UPD:

Seguendo @Odobenus rosmarus consiglio:

$ hostname 
server.domain.com 
$ erl -sname test -setcookie *COOKIE* -remsh [email protected] 
** System NOT running to use fully qualified hostnames ** 
** Hostname server.domain.com is illegal ** 
** ERROR: Shell process terminated! (^G to start new job) ** 

altro tentativo cieco (buttare via parte del nome di dominio completo):

$ erl -sname test -setcookie *COOKIE* -remsh [email protected] 
Eshell V5.8.5 (abort with ^G) 
([email protected])1> 

Ok, in 5 tentativi siamo lì, bello.

risposta

7
erl -sname test -setcookie *COOKIE* -remsh [email protected] 

dove hostname non è localhost, ma l'output del comando 'hostname' sul computer.

Problemi correlati