[ejabberd] Failed RPC connection to the node ejabberd@:workhorse nodedown

Aaron Martinez willwrk4u at hotmail.com
Sat Jul 13 05:00:13 MSK 2013


Hi All,

I'm running ejabberd 2.1.12 on OpenBSD 5.3.  I get this error any time I try
to use ejabberctl and I'm not sure why.  I googled and there weren't a whole
lot of answers and the ones I read didn't appear to be what was affecting me.

# ejabberdctl register admin1 company.org changeme
Failed RPC connection to the node ejabberd at workhorse: nodedown

Commands to start an ejabberd node:
  start  Start an ejabberd node in server mode
  debug  Attach an interactive Erlang shell to a running ejabberd node
  live   Start an ejabberd node in live (interactive) mode

Optional parameters when starting an ejabberd node:
  --config-dir dir   Config ejabberd:    /etc/ejabberd
  --config file      Config ejabberd:    /etc/ejabberd/ejabberd.cfg
  --ctl-config file  Config ejabberdctl: /etc/ejabberd/ejabberdctl.cfg
  --logs dir         Directory for logs: /var/log/ejabberd
  --spool dir        Database spool dir: /var/db/ejabberd/ejabberd
  --node nodename    ejabberd node name: ejabberd at workhorse


I started up ejabberd using "ejabberdctl live" and when I issued the above
command, it produced no logging message at all.

I did see that there was one issue with duplicate_name but that doesn't
appear to be my issue as I shut it down completely, made sure no traces were
left and then restarted.
# ps waux | grep ejabber
_ejabberd 22535  0.0  0.0   524   844 ??  S      4:39PM    0:00.01
/usr/local/lib/erlang/erts-5.9.2/bin/epmd -daemon
_ejabberd 28797  0.0  0.0   352  1060 ??  Is     4:40PM    0:00.01
inet_gethost 4
_ejabberd 11069  0.0  0.0   412  1028 ??  I      4:40PM    0:00.00
inet_gethost 4
root      3586  0.0  0.0   324   240 p0  R+/2   4:54PM    0:00.00 grep ejabber
root     13677  0.0  0.0   720   680 p1  I+     4:40PM    0:04.39 /bin/sh
/usr/local/sbin/ejabberdctl /usr/local/sbin/ejabberdctl
_ejabberd 10889  0.0  0.0   636   500 p1  I+     4:40PM    0:00.10 sh -m -c
/usr/local/bin/erl       -sname ejabberd at workhorse       -pa
/usr/local/lib/ejabberd/ebin
_ejabberd 26758  0.0  0.2 75344 57424 p1  I+     4:40PM    0:02.65
/usr/local/lib/erlang/erts-5.9.2/bin/beam.smp -P 250000 -- -root
/usr/local/lib/erlang -progname erl

I attached my config below, any help would be appreciated.

Thanks in advance.

Aaron Martinez



{loglevel, 5}.

{domain_certfile, company.com, "/etc/ejabberd/myserver.pem"}.
{fqdn,  jabber.company.com}.

%%{hosts, ["company.com", "company2.com", "company.net"]}.
{hosts, ["company.com"]}.

{acl, admin, {user, "admin1", "company.com"}}.
{access, configure, [{allow, admin}]}.

{modules,
 [
  {mod_roster,          []},
  {mod_configure,       []},
  {mod_disco,           []},
  {mod_blocking,        []},
  {mod_last,            []},
  {mod_muc,             []},
  {mod_muc_log,         []},
  {mod_offline,         []},
  {mod_privacy,         []},
  {mod_stats,           []}
%%  {mod_vcard_ldap,    []}
]}.


{host_config, "company.com", [{auth_method, ldap},
                                {ldap_encrypt, none},
                                {ldap_servers, ["thing10.company.com"]},
%%                              {ldap_uids,    [{"userPrincipalName", "%u"}]},
%%                              {ldap_uids,    [{"userPrincipalName"}]},
%%                              {ldap_uids,    [{"sAMAccountName"}]},
%%                              {ldap_uids,    [{"sAMAccountName",
"%u at company.com"}]},
                                {ldap_uids,    [{"sAMAccountName", "%u"}]},
%%                              {ldap_uidattr,    [{"userPrincipalName"}]},
%%                              {ldap_uidattr,    [{"sAMAccountName"}]},
                                {ldap_base,
"ou=NetnumberStaff,ou=Netnumber,dc=Netnumber,dc=com"},
                                {ldap_rootdn,
"cn=Administrator,cn=Users,dc=Netnumber,dc=com"},
                                {ldap_password, "password"}]}.

{listen,
 [
  {5222, ejabberd_c2s, [
        {certfile, "/etc/ejabberd/myserver.pem"}, starttls,
%%      {access, c2s},
%%      {shaper, c2s_shaper},
        {max_stanza_size, 65536}
    ]},

  {5280, ejabberd_http, [
                         %%{request_handlers,
                         %% [
                         %%  {["pub", "archive"], mod_http_fileserver}
                         %% ]},
                        {defalut_host, company.com},
%%                         captcha,
%%                         http_bind,
                        starttls_required,
                         http_poll,
                         %%register,
                         web_admin
                        ]}

 ]}.







More information about the ejabberd mailing list