ejabberd - Comments for "Strange problems (maybe bad config?)" https://www.ejabberd.im/node/3198 en Not started correctly; some error message would help https://www.ejabberd.im/node/3198#comment-53548 <div class="quote-msg"> <div class="quote-author"><em>clayman</em> wrote:</div> <p>And what is that meaning:</p> <div class="codeblock"><code>root@misfortune&gt; ejabberdctl status<br />Node ejabberd@localhost is started. Status: started<br />ejabberd is not running</code></div> </div> <p>That means the Erlang node called "ejabberd@localhost" is started correctly. Inside that node (it's like a virtual machine), the ejabberd application is NOT running.</p> <p>This means ejabberd did not crash, but it didn't start correctly. The problem is usually a syntax mistke in ejabberd.cfg, badly corrupted Mnesia database, or unable to load some important ejabberd or erlang library. I think in all those cases some kind of ERROR REPORT or similar is shown in ejabberd.log or sasl.log</p> <p>If ejabberd is started correctly, you should see in sasl.log a lot of PROGRESS REPORT, and finally something like this:</p> <div class="codeblock"><code>=PROGRESS REPORT==== 13-Sep-2008::01:25:04 ===<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application: ejabberd<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; started_at: ejabberd@atenea</code></div> Fri, 12 Sep 2008 23:27:27 +0000 mfoss comment 53548 at https://www.ejabberd.im Same https://www.ejabberd.im/node/3198#comment-53544 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>Did you check ejabberd.log and sasl.log immediately after starting ejabberd? </p></div> <p>Yes, there is nothing in them, just old crash reports. Nothing about current start.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>With that ACL only "user@misfortune will have admin privileges.</p></div> <p>Fixed, thanks.</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Once your server works correctly, remember to enter in the Web Admin and delete the stored old ACLs that you don't want. </p></div> <p>The problem is I cannot enter in the Web Admin. I cannot create new user from the terminal nor from jabber client. Ahd what is that meaning:</p> <div class="codeblock"><code>root@misfortune&gt; ejabberdctl status<br />Node ejabberd@localhost is started. Status: started<br />ejabberd is not running</code></div> Thu, 11 Sep 2008 22:09:50 +0000 clayman comment 53544 at https://www.ejabberd.im Check logs when starting ejabberd https://www.ejabberd.im/node/3198#comment-53542 <blockquote><p>Hello. I have a problems getting ejabberd up and running correctly.<br /> ...</p> <div class="codeblock"><code>root@misfortune&gt; ejabberdctl status<br />Node ejabberd@localhost is started. Status: started<br />ejabberd is not running</code></div> <p>...<br /> ejabberd is ... inactive on 5222... </p></blockquote> <p>Did you check ejabberd.log and sasl.log immediately after starting ejabberd?</p> <blockquote><p> Some lines from config:<br /> <code>{acl, admin, {user, &quot;user&quot; }}.</code> </p></blockquote> <p>That ACL grants admin privileges to any account named "user@*"!! You should put something like:</p> <div class="codeblock"><code>{acl, admin, {user, &quot;user&quot;, &quot;misfortune&quot;}}.</code></div> <p>With that ACL only "user@misfortune will have admin privileges.</p> <p>Once your server works correctly, remember to enter in the Web Admin and delete the stored old ACLs that you don't want.</p> Wed, 10 Sep 2008 08:43:48 +0000 mfoss comment 53542 at https://www.ejabberd.im