ejabberd - Comments for "Compiled ejabberd from source, but cant find the ejabberdctl command" https://www.ejabberd.im/node/774 en It's in the source https://www.ejabberd.im/node/774#comment-3011 <p>If you've downloaded the source code,<br /> It's just under /tools</p> Mon, 05 Feb 2007 13:00:32 +0000 icomes comment 3011 at https://www.ejabberd.im Re: clarify filenames pls https://www.ejabberd.im/node/774#comment-1716 <div class="quote-msg"> <div class="quote-author"><em>ferriswheel</em> wrote:</div> <p>ejabberd_ctl.in ==&gt; ?</p></div> <p>This is a typo: "ejabberdctl default configuration" is ejabberd_cfg.in</p> <div class="quote-msg"> <div class="quote-author"><em>ferriswheel</em> wrote:</div> <p>ejabberdctl.in ==&gt; ?</p></div> <p>And this is "the enhanced ejabberdctl".</p> Thu, 11 May 2006 07:27:44 +0000 sander comment 1716 at https://www.ejabberd.im clarify filenames pls https://www.ejabberd.im/node/774#comment-1714 <p>hi</p> <p>points 2,3 have different files names to those in the bugzilla ref.</p> <p>which do i use?<br /> ejabberd_ctl.in ==&gt; ?<br /> ejabberdctl.in ==&gt; ?</p> <p>regards</p> <p>john</p> Wed, 10 May 2006 22:46:25 +0000 ferriswheel comment 1714 at https://www.ejabberd.im RPM for CentOS or .spec file https://www.ejabberd.im/node/774#comment-1685 <p>Where can I get rpm for CentOS 4.3 or .spec file for ejabberd-1.1.1?</p> Wed, 03 May 2006 09:25:50 +0000 yyovkov comment 1685 at https://www.ejabberd.im solved for me https://www.ejabberd.im/node/774#comment-1627 <p>I solve this problem by replacing ejabberdctl from version 1.0.0 and now start and stop is OK.</p> Thu, 27 Apr 2006 20:43:54 +0000 awf comment 1627 at https://www.ejabberd.im Re: ejabberd_ctl.beam is not in https://www.ejabberd.im/node/774#comment-1626 <div class="quote-msg"> <div class="quote-author"><em>mremond</em> wrote:</div> <p>ejabberd_ctl.beam is not in your Erlang path when running ejabberdctl.</p> <p>--<br /> Mickaël Rémond<br /> <noindex><a href="http://www.process-one.net/" rel="nofollow" >Process-one</a></noindex></p></div> <p>How can I fix it??</p> Thu, 27 Apr 2006 20:32:38 +0000 awf comment 1626 at https://www.ejabberd.im You can try my patch to make https://www.ejabberd.im/node/774#comment-1624 <p>You can try <a href="http://www.jabber.ru/bugzilla/show_bug.cgi?id=27">my patch to make ejabberdctl more userfriendly</a>.</p> <ol> <li>Add ejabberd.inetrc to the src/ directory.</li> <li>Add ejabberd_ctl.in to the src/ directory.</li> <li>Add ejabberdctl.in to the src/ directory.</li> <li>Apply the patch.</li> <li>Note that there still is <a href="http://www.jabber.ru/bugzilla/show_bug.cgi?id=27#c12">a bug</a>.</li> <li>Recompile your package.</li> <li>Install the package.</li> <li>Do "ejabberdctl shoconfig" to verify the settings.</li> <li>Eventually change settings in /etc/ejabberd/ejabberdctl.cfg</li> <li>Editi /etc/ejabberd/ejabberd.cfg (hostname and admin at least)</li> <li>Start ejabberd with "ejabberdctl start".</li> <li>Add the admin user you specified in the config with "ejabberdctl adminname hostname password</li> </ol> <p>-- <br/> sander</br/></p> Thu, 27 Apr 2006 18:30:23 +0000 sander comment 1624 at https://www.ejabberd.im No solution to your problem, but https://www.ejabberd.im/node/774#comment-1622 <p>No solution to your problem, but you could create admin users<br /> in your ejabberd.cfg file and restart ejabberd</p> <p>Worked for me, first time I used ejabberd. I have also used ejabberdctl, which was slightly easier.</p> Thu, 27 Apr 2006 16:18:49 +0000 Jxn comment 1622 at https://www.ejabberd.im ejabberd_ctl.beam is not in https://www.ejabberd.im/node/774#comment-1620 <p>ejabberd_ctl.beam is not in your Erlang path when running ejabberdctl.</p> <p>--<br /> Mickaël Rémond<br /> <noindex><a href="http://www.process-one.net/" rel="nofollow" >Process-one</a></noindex></p> Thu, 27 Apr 2006 15:29:19 +0000 mremond comment 1620 at https://www.ejabberd.im ejabberctl crashes https://www.ejabberd.im/node/774#comment-1619 <p>Ok, so i started my ejabberd service, i am attaching my running daemon info and after finding and attempting to run the ejabberctl program i get the following error message:</p> <p>ejabberd 12023 0.0 0.1 3128 524 ? S 10:08 0:00 /usr/lib/erlang/erts-5.4.13/bin/epmd -daemon<br /> ejabberd 12025 2.1 2.3 14636 9156 pts/0 S 10:08 0:01 /usr/lib/erlang/erts-5.4.13/bin/beam -- -root /usr/lib/erlang -progname erl -- -home /home/ejabberd -pa /var/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config "/etc/ejabberd/ejabberd.cfg" log_path "/var/log/ejabberd/ejabberd.log" -sasl sasl_error_logger {file,"/var/log/ejabberd/sasl.log"} -noshell -noinput<br /> ejabberd 12028 0.0 0.3 5020 1200 ? Ss 10:08 0:00 /usr/lib/erlang/lib/ssl-3.0.11/priv/bin/ssl_esock<br /> root 12039 0.0 0.1 2536 744 pts/0 R+ 10:09 0:00 ps auxww<br /> [root@NMU-IT-WSDB1 tools]# ./ejabberdctl<br /> {"init terminating in do_boot",{undef,[{ejabberd_ctl,start,[]},{init,start_it,1},{init,start_em,1}]}}</p> <p>Crash dump was written to: erl_crash.dump<br /> init terminating in do_boot ()</p> Thu, 27 Apr 2006 15:13:04 +0000 havok1977 comment 1619 at https://www.ejabberd.im I found the ejabberdctl https://www.ejabberd.im/node/774#comment-1617 <p>I found the ejabberdctl binary included in the tarball, i will test it and get back with results.</p> Thu, 27 Apr 2006 14:38:00 +0000 havok1977 comment 1617 at https://www.ejabberd.im I am using CentOS 4.3, which https://www.ejabberd.im/node/774#comment-1616 <p>I am using CentOS 4.3, which is based on Red Hat Enterprise Linux; cheching my generated RPM, there is no tools directory:</p> <p>[root@NMU-IT-WSDB1 ejabberd]# rpm -ql ejabberd<br /> /etc<br /> /etc/ejabberd<br /> /etc/ejabberd/ejabberd.cfg<br /> /etc/ejabberd/ejabberd.cfg~<br /> /var<br /> /var/lib<br /> /var/lib/ejabberd<br /> /var/lib/ejabberd/ebin<br /> /var/lib/ejabberd/ebin/ELDAPv3.beam<br /> /var/lib/ejabberd/ebin/XmppAddr.beam<br /> /var/lib/ejabberd/ebin/acl.beam<br /> /var/lib/ejabberd/ebin/adhoc.beam<br /> /var/lib/ejabberd/ebin/cyrsasl.beam<br /> /var/lib/ejabberd/ebin/cyrsasl_anonymous.beam<br /> /var/lib/ejabberd/ebin/cyrsasl_digest.beam<br /> /var/lib/ejabberd/ebin/cyrsasl_plain.beam<br /> /var/lib/ejabberd/ebin/ejabberd.app<br /> /var/lib/ejabberd/ebin/ejabberd.beam<br /> /var/lib/ejabberd/ebin/ejabberd_app.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth_ad.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth_anonymous.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth_external.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth_internal.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth_ldap.beam<br /> /var/lib/ejabberd/ebin/ejabberd_auth_odbc.beam<br /> /var/lib/ejabberd/ebin/ejabberd_c2s.beam<br /> /var/lib/ejabberd/ebin/ejabberd_config.beam<br /> /var/lib/ejabberd/ebin/ejabberd_ctl.beam<br /> /var/lib/ejabberd/ebin/ejabberd_hooks.beam<br /> /var/lib/ejabberd/ebin/ejabberd_http.beam<br /> /var/lib/ejabberd/ebin/ejabberd_http_poll.beam<br /> /var/lib/ejabberd/ebin/ejabberd_listener.beam<br /> /var/lib/ejabberd/ebin/ejabberd_local.beam<br /> /var/lib/ejabberd/ebin/ejabberd_logger_h.beam<br /> /var/lib/ejabberd/ebin/ejabberd_receiver.beam<br /> /var/lib/ejabberd/ebin/ejabberd_router.beam<br /> /var/lib/ejabberd/ebin/ejabberd_s2s.beam<br /> /var/lib/ejabberd/ebin/ejabberd_s2s_in.beam<br /> /var/lib/ejabberd/ebin/ejabberd_s2s_out.beam<br /> /var/lib/ejabberd/ebin/ejabberd_service.beam<br /> /var/lib/ejabberd/ebin/ejabberd_sm.beam<br /> /var/lib/ejabberd/ebin/ejabberd_sup.beam<br /> /var/lib/ejabberd/ebin/ejabberd_tmp_sup.beam<br /> /var/lib/ejabberd/ebin/ejabberd_update.beam<br /> /var/lib/ejabberd/ebin/ejabberd_web.beam<br /> /var/lib/ejabberd/ebin/ejabberd_web_admin.beam<br /> /var/lib/ejabberd/ebin/ejabberd_zlib.beam<br /> /var/lib/ejabberd/ebin/ejd2odbc.beam<br /> /var/lib/ejabberd/ebin/eldap.beam<br /> /var/lib/ejabberd/ebin/extauth.beam<br /> /var/lib/ejabberd/ebin/gen_iq_handler.beam<br /> /var/lib/ejabberd/ebin/gen_mod.beam<br /> /var/lib/ejabberd/ebin/iconv.beam<br /> /var/lib/ejabberd/ebin/idna.beam<br /> /var/lib/ejabberd/ebin/jd2ejd.beam<br /> /var/lib/ejabberd/ebin/jlib.beam<br /> /var/lib/ejabberd/ebin/mod_adhoc.beam<br /> /var/lib/ejabberd/ebin/mod_announce.beam<br /> /var/lib/ejabberd/ebin/mod_configure.beam<br /> /var/lib/ejabberd/ebin/mod_configure2.beam<br /> /var/lib/ejabberd/ebin/mod_disco.beam<br /> /var/lib/ejabberd/ebin/mod_echo.beam<br /> /var/lib/ejabberd/ebin/mod_irc.beam<br /> /var/lib/ejabberd/ebin/mod_irc_connection.beam<br /> /var/lib/ejabberd/ebin/mod_last.beam<br /> /var/lib/ejabberd/ebin/mod_last_odbc.beam<br /> /var/lib/ejabberd/ebin/mod_muc.beam<br /> /var/lib/ejabberd/ebin/mod_muc_log.beam<br /> /var/lib/ejabberd/ebin/mod_muc_room.beam<br /> /var/lib/ejabberd/ebin/mod_offline.beam<br /> /var/lib/ejabberd/ebin/mod_offline_odbc.beam<br /> /var/lib/ejabberd/ebin/mod_privacy.beam<br /> /var/lib/ejabberd/ebin/mod_private.beam<br /> /var/lib/ejabberd/ebin/mod_pubsub.beam<br /> /var/lib/ejabberd/ebin/mod_register.beam<br /> /var/lib/ejabberd/ebin/mod_roster.beam<br /> /var/lib/ejabberd/ebin/mod_roster_odbc.beam<br /> /var/lib/ejabberd/ebin/mod_service_log.beam<br /> /var/lib/ejabberd/ebin/mod_shared_roster.beam<br /> /var/lib/ejabberd/ebin/mod_shared_roster_ad.beam<br /> /var/lib/ejabberd/ebin/mod_stats.beam<br /> /var/lib/ejabberd/ebin/mod_time.beam<br /> /var/lib/ejabberd/ebin/mod_vcard.beam<br /> /var/lib/ejabberd/ebin/mod_vcard_ad.beam<br /> /var/lib/ejabberd/ebin/mod_vcard_ldap.beam<br /> /var/lib/ejabberd/ebin/mod_vcard_odbc.beam<br /> /var/lib/ejabberd/ebin/mod_version.beam<br /> /var/lib/ejabberd/ebin/randoms.beam<br /> /var/lib/ejabberd/ebin/sha.beam<br /> /var/lib/ejabberd/ebin/shaper.beam<br /> /var/lib/ejabberd/ebin/stringprep.beam<br /> /var/lib/ejabberd/ebin/tls.beam<br /> /var/lib/ejabberd/ebin/translate.beam<br /> /var/lib/ejabberd/ebin/xml.beam<br /> /var/lib/ejabberd/ebin/xml_stream.beam<br /> /var/lib/ejabberd/priv<br /> /var/lib/ejabberd/priv/lib<br /> /var/lib/ejabberd/priv/lib/ejabberd_zlib_drv.so<br /> /var/lib/ejabberd/priv/lib/expat_erl.so<br /> /var/lib/ejabberd/priv/lib/iconv_erl.so<br /> /var/lib/ejabberd/priv/lib/stringprep_drv.so<br /> /var/lib/ejabberd/priv/lib/tls_drv.so<br /> /var/lib/ejabberd/priv/msgs<br /> /var/lib/ejabberd/priv/msgs/de.msg<br /> /var/lib/ejabberd/priv/msgs/es.msg<br /> /var/lib/ejabberd/priv/msgs/fr.msg<br /> /var/lib/ejabberd/priv/msgs/nl.msg<br /> /var/lib/ejabberd/priv/msgs/pl.msg<br /> /var/lib/ejabberd/priv/msgs/pt-br.msg<br /> /var/lib/ejabberd/priv/msgs/pt.msg<br /> /var/lib/ejabberd/priv/msgs/ru.msg<br /> /var/lib/ejabberd/priv/msgs/sv.msg<br /> /var/lib/ejabberd/priv/msgs/uk.msg<br /> [root@NMU-IT-WSDB1 ejabberd]# rpm -ql ejabberd|grep tools<br /> [root@NMU-IT-WSDB1 ejabberd]#</p> Thu, 27 Apr 2006 14:07:32 +0000 havok1977 comment 1616 at https://www.ejabberd.im What operating system do you https://www.ejabberd.im/node/774#comment-1612 <p>What operating system do you use?</p> <p>See in the tools directory for ejabberdctl.</p> <p>--<br /> sander</p> Thu, 27 Apr 2006 08:23:48 +0000 sander comment 1612 at https://www.ejabberd.im