Hello everyone,
my ejabberd service always says it’s stopped. When i checked the logs for ejabberd it says:
E(<0.36.0>:ejabberd_config:556) : Error reading Mnesia database spool files: ejabberd needs read and write access in the directory: /var/lib/ejabberd/spool ejabberd@office Check the ejabberd guide for details about changing the application: ejabberd exited: {bad_return,{{ejabberd_app,start,[normal,[]]}, E(<0.36.0>:ejabberd_config:556) : Error reading Mnesia database spool files: ejabberd needs read and write access in the directory: /var/lib/ejabberd/spool ejabberd@office Check the ejabberd guide for details about changing the application: ejabberd exited: {bad_return,{{ejabberd_app,start,[normal,[]]}, E(<0.36.0>:ejabberd_config:556) : Error reading Mnesia database spool files: ejabberd needs read and write access in the directory: /var/lib/ejabberd/spool ejabberd@office Check the ejabberd guide for details about changing the application: ejabberd exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
I can’t seem to figure out what’s the problem other than permission for access but shouldn’t it be working by default?
Ok so in case anyone comes in this post. I managed to fix it by changing the ejabberd configuration in /etc/ejabberd/ and adding office.example.com. It only had example.com by default.