I'm running 16.09 on Amazon's latest Linux AMI and can't seem to get it to boot on start. I have a similar Ubuntu version that I'm not having any issues with.
To start on boot I followed these commands:
56 cp ejabberd.init /etc/init.d/ejabberd
57 chmod +x /etc/init.d/ejabberd
58 /usr/sbin/groupadd -r ejabberd
59 /usr/sbin/useradd -g ejabberd -p ejabberd -r ejabberd
60 /sbin/chkconfig --add ejabberd
61 /sbin/chkconfig ejabberd on
After boot I check status of the node: /home/user/ec2-user/ejabberd/bin/.ejabberctl status
Failed RPC connection to the node ejabberd@localhost: nodedown
Thanks!