ejabberd - Comments for "Suddenly, &amp;quot;ejabberd is not running&amp;quot;. WHY?!?" https://www.ejabberd.im/node/4016 en The problem is the database https://www.ejabberd.im/node/4016#comment-55619 <p>After I installed it again and fresh, I just put the files of the database on that directory... Unfortunately, it was <strong>forever damaged</strong>. It didn't worked.</p> <p>I didn't know what happened, but that's it. Time to start anew and backup when everything is done.</p> <p>On the bright side, The contacts are stored in pidgin ready to be created.</p> <p>Thanks anyway.</p> Wed, 21 Apr 2010 16:05:05 +0000 Neurochild comment 55619 at https://www.ejabberd.im The crash happens while the https://www.ejabberd.im/node/4016#comment-55613 <p>The crash happens while the Mnesia internal database system is starting. It doesn't say why exactly it crashes:</p> <ul> <li>Not enough disk space to write temporary files? </li><li>Not read/write permissions to the Mnesia disk files? </li><li>A corrupted Mnesia disk file? </li></ul> <p>Something interesting is that the ejabberd starting process is paused for 13 seconds, and then crashes:</p> <pre> =PROGRESS REPORT==== 20-Apr-2010::07:18:18 === ... =CRASH REPORT==== 20-Apr-2010::07:18:31 === </pre><p> In order to know if the problem is in your current Mnesia database, you can try this:</p> <ol> <li>Find where is the Mnesia spool directory (with files like acl.DCD). Maybe it's /var/lib/ejabberd </li><li>Backup those files to a safe place (copy, compress...) </li><li>Delete those files </li><li>Start ejabberd. It will create new files, all empty </li><li>Does ejabberd start correctly now? Obviously, it doesn't have your accounts, rosters... </li><li>If that is the case, then it means the problem is in your Mnesia database. </li><li>If ejabberd doesn't start, and shows an error message like the old one, it means the problem is in your ejabberd installation or the machine, or the erlang installation (try to reinstall it) </li></ol> Tue, 20 Apr 2010 20:44:29 +0000 mfoss comment 55613 at https://www.ejabberd.im