zotonic/zotonic — Issue #246: net_adm:ping issue
Author: kaos
Created: 2011-10-28 10:44:46+00:00
State: open

I have an issue to get net_adm to connect to my zotonic node:

```
[12:01:03] net_adm can't connect....
[12:01:05] zotonic@srv188:~/maberlz$ ./bin/zotonic stop
Stopping zotonic zotonic001@srv188.local
Stop:'zotonic001@srv188.local'
There is no node with this name
zotonic@srv188:~/maberlz$ epmd -names
epmd: up and running on port 4369 with data:
name zotonic001 at port 47767
name maberld at port 41988
zotonic@srv188:~/maberlz$ erl -sname test
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [rq:1] [async-threads:0] [kernel-poll:false]

Eshell V5.8.5 (abort with ^G)
(test@srv188)1> net_adm:nodes().
** exception error: undefined function net_adm:nodes/0
(test@srv188)2> net_adm:names().
{ok,[{"maberld",41988},{"zotonic001",47767},{"test",51667}]}
(test@srv188)3> net_adm:ping(zotonic001).
pang
(test@srv188)4>

[12:02:48] using long names doesn't help either...
(test@srv188)5> zotonic@srv188:~/maberlz$ erl -name test@srv188.local
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [rq:1] [async-threads:0] [kernel-poll:false]

Eshell V5.8.5 (abort with ^G)
(test@srv188.local)1> net_adm:names().
{ok,[{"maberld",41988},{"zotonic001",47767},{"test",41731}]}
(test@srv188.local)2> net_adm:ping(zotonic001).
pang
(test@srv188.local)3> net_adm:ping('zotonic001@srv188.local').
pang
(test@srv188.local)4>
```

No clue yet, just posted to get it out in the open...