Problém v logu:
Error reading Mnesia database spool files: The Mnesia database couldn't read the spool file for the table 'config'. ejabberd needs read and write access in the directory: /var/lib/ejabberd/spool Maybe the problem is a change in the computer hostname, or a change in the Erlang node name, which is currently: ejabberd@asterisk Check the ejabberd guide for details about changing the computer hostname or Erlang node name.
Řešení:
- Zastavte ejabberd.
/etc/init.d/ejabberd stop
2. Zabilte procesy: beam, beam.smp, epmd
killall ejabberd killall beam killall beam.smp killall epmd
3. Odstraňte soubory v /var/lib/ejabberd (pro jistotu vytvořte zálohu této složky)
rm -rf /var/lib/ejabberd/* rm -rf /var/lib/ejabberd/.erlang.cookie
4. Zkuste spustit ejabberd.
/etc/init.d/ejabberd start
