erlang plugin: Hint towards epmd if erl_publish fails.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 13 Nov 2009 12:18:00 +0000 (13:18 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 13 Nov 2009 12:18:00 +0000 (13:18 +0100)
src/erlang.c

index 4daf828..5b84675 100644 (file)
@@ -712,7 +712,8 @@ static int create_listen_socket (void) /* {{{ */
                status = erl_publish (numeric_serv);
                if (status < 0)
                {
                status = erl_publish (numeric_serv);
                if (status < 0)
                {
-                       ERROR ("erlang plugin: erl_publish (%i) failed with status %i.", numeric_serv, status);
+                       ERROR ("erlang plugin: erl_publish (%i) failed with status %i. "
+                                       "Is epmd running?", numeric_serv, status);
                        close (sock_descr);
                        sock_descr = -1;
                        return (-1);
                        close (sock_descr);
                        sock_descr = -1;
                        return (-1);