Crmgo Блог

ejabberd решение проблем

ejabberd решение проблем

Проблема в логе : 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…

ejabberd решение проблем

Проблема в логе :

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.

 

Решение:

  1. Stop ejabberd.
/etc/init.d/ejabberd stop

 

2.Kill processes: beam, beam.smp, epmd

killall ejabberd

killall beam

killall beam.smp

killall epmd

 

3.Remove the files in /var/lib/ejabberd (Create a backup copy of this folder just in case)

rm -rf /var/lib/ejabberd/*

rm -rf /var/lib/ejabberd/.erlang.cookie

 

4.Try to start ejabberd.

/etc/init.d/ejabberd start

 

Примечание: материал мог быть создан с помощью ИИ и затем отредактирован человеком. Ответственный: Dmytro Lomaka, Kaltenkirchen.