ejabberd not starting due to missing packages
Description:
Just as jfk9w described in this thread, I am unable to start ejabberd via systemd. After installing erlang-mnesia, erlang-os_mon, erlang-odbc, erlang-syntax_tools, erlang-debugger, erlang-observer, and erlang-xmerl, I was able to start ejabberd again. However, installing erlang-debugger adds roughly 500 MB of packages, including gtk3 and wayland.
Additional info:
- package version(s): ejabberd 24.12-3
- config and/or log files: When starting ejabberd via systemd, the first of the following error messages appeared in the log. When installing the respective package and restarting ejabberd, the next error message appeared.
Failed to start ejabberd application: {ejabberd, {"no such file or directory", "mnesia.app"}}
Failed to start ejabberd application: {ejabberd, {"no such file or directory", "os_mon.app"}}
Failed to start ejabberd application: {ejabberd, {"no such file or directory", "odbc.app"}}
Failed to start ejabberd application: {ejabberd, {"no such file or directory", "syntax_tools.app"}}
[error] Failed to start ejabberd application: {:debugger, {~c"no such file or directory", ~c"debugger.app"}}
[error] Failed to start ejabberd application: {:observer, {~c"no such file or directory", ~c"observer.app"}}
[critical] Failed to start Erlang application 'xmerl': no such file or directory: xmerl.app. This usually means that ejabberd or Erlang was compiled/installed incorrectly.