[ejabberd] ejabberdctl node name woes

Randy Bush randy at psg.com
Mon May 22 03:06:24 MSD 2006


still pursuing the password change for the user, i try ejabberdctl.

    su-2.05b$ ejabberdctl work0 status
    Can't get node work0 status: nodedown

hmmm, it is running as ejabberd as am i

    su-2.05b$ id
    uid=522(ejabberd) gid=522(ejabberd) groups=522(ejabberd)
    su-2.05b$ ps -auxww | grep ejabberd
    ejabberd   761  0.0  0.1  5264   752  ??  S    25Mar06   0:23.17 /usr/local/lib/erlang/erts-5.4.12/bin/epmd -daemon
    ejabberd   779  0.0  0.1  6544  1252  ??  Ss   25Mar06   0:37.28 /usr/local/lib/erlang/lib/ssl-3.0.10/priv/bin/ssl_esock
    ejabberd   780  0.0  0.1  5264   680  ??  Is   25Mar06   0:08.50 inet_gethost 4
    ejabberd   781  0.0  0.1  5264   900  ??  I    25Mar06   0:10.52 inet_gethost 4
    ejabberd   782  0.0  0.1  5264   900  ??  I    25Mar06   0:09.43 inet_gethost 4
    ejabberd   783  0.0  0.1  5264   900  ??  I    25Mar06   0:09.06 inet_gethost 4
    ejabberd   784  0.0  0.1  5264   900  ??  I    25Mar06   0:09.44 inet_gethost 4
    ejabberd 70340  0.0  0.5 11920  5156  ??  S    13May06   0:46.56 /usr/local/sbin/jabberd -h aim.psg.com -c /usr/local/etc/aim-master.xml
    ejabberd   617  0.0  0.1  5524   852  d0- I    25Mar06   0:00.01 /bin/sh /usr/local/etc/rc.d/aim.hack
    ejabberd   776  0.0  2.4 38928 24708  p0- S    25Mar06  47:07.22 /usr/local/lib/erlang/erts-5.4.12/bin/beam -K true -- -root /usr/local/lib/erlang -progname erl -- -home /var/spool/ejabberd -sname ejabberd -s ejabberd -ejabberd config "/usr/local/etc/ejabberd/ejabberd.cfg" log_path "/var/log/ejabberd/ejabberd.log" -sasl sasl_error_logger {file,"/var/log/ejabberd/sasl.log"} -mnesia dir "/var/spool/ejabberd" -kernel inetrc "/usr/local/etc/ejabberd/ejabberd.inetrc" -noshell -noshell -noinput
    root     16524  0.0  0.6  9700  6496  p0  T     4:22PM   0:00.13 /usr/local/bin/emacs -nw ejabberd.cfg.example
    root     21563  0.0  0.1  5548  1288  p0  I    11:00PM   0:00.01 su ejabberd
    ejabberd 21564  0.0  0.2  5664  1908  p0  S    11:00PM   0:00.01 su (bash)
    ejabberd 21585  0.0  0.1  5292  1004  p0  R+   11:02PM   0:00.00 ps -auxww
    ejabberd 21586  0.0  0.1  5384   964  p0  R+   11:02PM   0:00.00 grep ejabberd

and the node is work0, 

    su-2.05b$ hostname
    work0.psg.com

well, almost, eh.  but

    su-2.05b$ ejabberdctl work0.psg.com status
    Can't get node 'work0.psg.com' status: nodedown

so then i start guessing

    su-2.05b$ ejabberdctl ejabberd at work0 status
    Can't get node ejabberd at work0 status: nodedown

and then hit

    su-2.05b$ ejabberdctl ejabberd at work0.psg.com status
    Can't get node 'ejabberd at work0.psg.com' status: nodedown

    =ERROR REPORT==== 21-May-2006::23:04:57 ===
    ** System NOT running to use fully qualified hostnames **
    ** Hostname work0.psg.com is illegal **

hmmm.  ok, clue bat, please

randy



More information about the ejabberd mailing list