The apparmour profile for ejabberd is broken. With startup of ejabberd: sudo systemctrl (re)start ejabberd the process hangs and in the reason is that erlang is unable to communicate with systemd with it's notify hook fails with:
2022-06-01 09:12:46.211457+03:00 [error] <0.356.0>@ejabberd_systemd:handle_info/2:135 Cannot ping watchdog: {badmatch,{error,eacces}}
There is path problem most likely in it or right issue. Funny thing is that with exactly same config on other server works.... Anyone?