<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:10pt;color:#000000;"><div>Hello,<br><br><br><br>Thanks everyone, this list is very helpful. I really have done my due diligence on this one, but am stumped. I have inherited a production ejabberd server that I can not connect to with ejabberdctl! It is driving me crazy. I am trying to connect locally as the same user that is running ejabberd, root. Is this a cookie issue? Ejabberd is started upon reboot via a startup script in rc directories "/opt/ejabberd-2.0.5/ejabberdctl start", this works fine. (Could it be because I am su'ing to root instead of logging in as
root? That shouldn't matter, right?) Thanks in advance!!!! :)<br>
<br><br>> <span style="font-weight: bold;">ps -ef | grep ejab</span><br><br>root 5144 1 0 Jan21 ? 00:00:00 /opt/ejabberd-2.0.5/bin/epmd -daemon<br>root 5146 1 1 Jan21 ? 00:16:58 /opt/ejabberd-2.0.5/bin/beam.smp -K true -P 250000 -- -root /opt/ejabberd-2.0.5 -progname /opt/ejabberd-2.0.5/bin/erl -- -home / -sname ejabberd@localhost -smp auto -noshell -noinput -noshell -noinput -mnesia dir "/opt/ejabberd-2.0.5/database/ejabberd@localhost" -s ejabberd -ejabberd config "/opt/ejabberd-2.0.5/conf/ejabberd.cfg" log_path "/opt/ejabberd-2.0.5/logs/ejabberd.log" -sasl sasl_error_logger {file,"/opt/ejabberd-2.0.5/logs/sasl.log"}<br><br><span style="font-weight: bold;">These are the config variables you might want to know about:</span><br><br><meta
http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="OneNote.File"><meta name="Generator" content="Microsoft OneNote 12">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">ERLANG_NODE=ejabberd@localhost</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">{hosts,
["bosh1.prod.com"]}.</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">{host_config,
"bosh1.prod.com", [{auth_method, [internal, anonymous]},</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"><span style="">
</span>{anonymous_protocol, sasl_anon}]}.</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">xmpp_server =
bosh1.prod.com</p>
hostname=svrrhat06<br><br><span style="font-weight: bold;">No matter what I do I get:</span><br><br>> ./ejabberdctl status (**** or also if I try: "ejabberdctl --node ejabberd@bosh1.fididel.com status" I get the same thing just with the differing node name.)<br><br>RPC failed on the node ejabberd@localhost: nodedown<br><br>Commands to start an ejabberd node:<br> start Start an ejabberd node in server mode<br> debug Attach an interactive Erlang shell to a running ejabberd node<br> live Start an ejabberd node in live (interactive) mode<br><br><br><span style="font-weight: bold;">My ejabberd.log says:</span><br>
<br>=ERROR REPORT==== 2010-01-22 11:31:31 ===<br>** Connection attempt from disallowed node 'ejabberd-ctl@localhost' **<br><br><br><span style="font-weight: bold;">I have found at least 4 cookies:</span><br><br>/root/.erlang.cookie<br>/home/admin-guest/.erlang.cookie<br>/home/nearsoft/.erlang.cookie<br>/home/saikat/.erlang.cookie<br><br><br><span style="font-weight: bold;">Here is an excerpt from my logs:</span><br><br><br>=INFO REPORT==== 2010-01-21 12:28:21 ===<br>D(<0.1505.41>:ejabberd_router:301) : route<br> from {jid,"user_580","bosh1.prod.com","EApp2","user_580",<br> "bosh1.prod.com","EApp2"}<br> to {jid,[],"conference.bosh1.prod.com",[],[],<br>
"conference.bosh1.prod.com",[]}<br> packet {xmlelement,"iq",<br> [{"from","user_580@bosh1.prod.com/EApp2"},<br> {"to","conference.bosh1.prod.com"},<br> {"type","get"}],<br> [{xmlelement,"query",<br><span> [{"xmlns","<a target="_blank"
href="http://jabber.org/protocol/disco#items">http://jabber.org/protocol/disco#items</a>"}],</span><br> []}]}<br><br><br><span style="font-weight: bold;"></span><br></div>
<!-- cg1.c701.mail.mud.yahoo.com compressed/chunked Tue Jan 19 14:50:01 PST 2010 -->
</div><br>
</body></html>