Erlang. Подключение к локальному узлу: *** ERROR: Shell process terminated

Я пытаюсь подключиться к узлу erlang, но безуспешно. Ситуация следующая:

1) У меня "-detached" узел erlang запущен на локальном хосте с -sname n1

2)

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

3) Пытаюсь подключиться

$ 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 n1@localhost
...
ERROR: Shell process terminated! (^G to start new job)

Что еще попробовать?

UPD:

Следуя совету @Odobenus Rosmarus:

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

еще одна слепая попытка (выбросить часть fqdn):

$ erl -sname test -setcookie *COOKIE* -remsh n1@server
Eshell V5.8.5  (abort with ^G)
(ipspy@server)1>

Ок, через 5 попыток мы на месте, круто.

6
задан Dfr 11 February 2012 в 10:38
поделиться