ejabberd - Comments for "killsession option of mod_admin_extra" https://www.ejabberd.im/node/18729 en Thank you!! * Now we use some https://www.ejabberd.im/node/18729#comment-63991 <p>Thank you!!</p> <p>* Now we use some ejabberd servers ( host1 and host2 )as same resource.</p> <p>We tried and executed on host1:</p> <p>&gt; ejabberdctl kick_session username host2 resource.com "KickedWithEjabberdctl"</p> <p>...But we had ERROR in "ejabberd.log".</p> <p>---</p> <p>=INFO REPORT==== 2014-05-13 20:04:42 ===<br /> I(&lt;0.11866.0&gt;:ejabberd_s2s:369) : New s2s connection started &lt;0.11867.0&gt;</p> <p>=INFO REPORT==== 2014-05-13 20:04:42 ===<br /> I(&lt;0.11867.0&gt;:ejabberd_s2s_out:1203) : Trying to open s2s connection: -&gt; host2 with TLS=false</p> <p>=INFO REPORT==== 2014-05-13 20:04:42 ===<br /> I(&lt;0.11867.0&gt;:ejabberd_s2s_out:439) : wait for validation: -&gt; host2 (closed)</p> <p>=ERROR REPORT==== 2014-05-13 20:04:42 ===<br /> E(&lt;0.11867.0&gt;:ejabberd_router:70) : {{badrecord,jid},<br /> [{ejabberd_router,do_route,3},<br /> {ejabberd_router,route,3},<br /> {ejabberd_s2s_out,bounce_queue,2},<br /> {ejabberd_s2s_out,terminate,3},<br /> {p1_fsm,terminate,7},<br /> {proc_lib,init_p,5}]}<br /> when processing: {{jid,"username","host2",<br /> "resource.com",<br /> "username","host2",<br /> "resource.com"},<br /> error,<br /> {xmlelement,"broadcast",<br /> [{"type","error"},<br /> {"to",[]},<br /> {"from",<br /> "username@host2/resouce.com"}],<br /> [{exit,"KickedWithEjabberdctl"},<br /> {xmlelement,"error",<br /> [{"code","404"},{"type","cancel"}],<br /> [{xmlelement,"remote-server-not-found",<br /> [{"xmlns",<br /> "urn:ietf:params:xml:ns:xmpp-stanzas"}],<br /> []}]}]}}</p> <p>---</p> <p>I suppose that host1 never communicate host2...<br /> If you know the reason of the ERROR, please let me know.</p> <p>Thnak you and regards,</p> <p>Tatsu</p> Tue, 13 May 2014 11:23:24 +0000 Tatsu Yashiro comment 63991 at https://www.ejabberd.im There is no command of https://www.ejabberd.im/node/18729#comment-63963 <p>There is no command of killsession in ejabberd. you should try this one.</p> <p><strong> ejabberdctl kick_session user localhost BombusMod </strong></p> <p>Regards!</p> Fri, 09 May 2014 04:15:33 +0000 mks comment 63963 at https://www.ejabberd.im There was a bug in https://www.ejabberd.im/node/18729#comment-63956 <p>There was a bug in mod_admin_extra.erl Now this works for me:</p> <pre>ejabberdctl kick_session user1 localhost tka1 "KickedWithEjabberdctl"</pre> Wed, 07 May 2014 16:46:10 +0000 mfoss comment 63956 at https://www.ejabberd.im