ejabberd - Comments for "what is the initial admin password ?" https://www.ejabberd.im/node/168 en Another way: ejabberdctl.cmd https://www.ejabberd.im/node/168#comment-340 <p>You can also get an exact equivalent of the unix ejabberdctl shellscript by creating a .cmd file with the following line: </p> <pre><code>erl.exe -noinput -sname ejabberdctl -s ejabberd_ctl -extra %*</code></pre><p> Note that it would work only if started in the same directory with ejabberd_ctl.beam file and only if erl.exe is available on the %PATH%, so you may want to modify the script to make it location-independent: </p> <pre><code>PUT_ERLANG_PATH_HERE\bin\erl.exe -pa &quot;PUT_EJABBERD_PATH_HERE\ebin&quot; -noinput -sname ejabberdctl -s ejabberd_ctl -extra %*</code></pre> Thu, 14 Apr 2005 02:00:35 +0000 slipstream comment 340 at https://www.ejabberd.im ejabberd_ctl on windows: dirty trick https://www.ejabberd.im/node/168#comment-339 <blockquote>now i want to admin it with the web interface but i don't know the admin password. what is it ?</blockquote> <p><a href="/node/166">web admin</a></p> <blockquote>also in the intalled directory i can't found the ejabberdctl.exe utility. it works for win or is only a script for unix/linux OS ?</blockquote> <p>You are right, there is no access to that utility on the Windows installer. For now you can try this quick and dirty trick: <ol> <li>Copy the 'Start Ejabberd.lnk' shortcut to C:\ and rename it to 'ejabberdctl.lnk' </li><li>Edit the properties of that shortcut. On Destination: <ol> <li>Replace 'werl.exe' with 'erl.exe' </li><li>Replace '-sname ejabberd' with '-sname ejabberd2' </li><li>Remove the rest of the text: '-env EJABBERD_SO_PATH ...' </li><li>Add '-s ejabberd_ctl -extra ejabberd@MACHINENAME'. Instead of MACHINENAME you must put the machine short name (without the domain part). </li></ol> </li><li>Now open a Windows command line. For example: Start -> Run -> cmd.exe </li><li>Change to the place where you copied the new shortcut. For example: cd C:\ </li><li>Execute the shorcut giving an additional option. For example: ejabberdctl.lnk status </li><li>I only get a response after 4 or 5 tries. If it does not answer in several tries, check the MACHINENAME. </li></ol> </p> <p>As you can see, this method is not perfect.</p> Wed, 13 Apr 2005 18:21:19 +0000 mfoss comment 339 at https://www.ejabberd.im