Erl_publish error with partial package

I'm having a weird problem finding a C-Node server. I am following the example from http://www.erlang.org/doc/tutorial/cnode.html .

I found that I will fail at

if (erl_publish(port) == -1)
erl_err_quit("erl_publish");

      

Running epmd in debug mode showed the following message after crashing:

got partial packet only on file descriptor 4 (0)

      

gdb showed that the application was getting an error in epmd_publish.c when checking for a valid response.

 if (((res=get8(s)) != EI_EPMD_ALIVE2_RESP))

      

Have you seen this before? Is there something configured incorrectly on the system? I'm so confused.

+3


source to share





All Articles