So I'm not very good at using Ubuntu yet, but after doing the standard install through the package system, whenever I try to use "sudo service ejabberd live" or other variations to start the server it doesn't work and I get the following error:
"=ERROR REPORT==== 9-Apr-2013::02:49:16 ===
E(<0.41.0>:ejabberd_config:110) : Problem loading ejabberd config file /etc/ejabberd/ejabberd.cfg : permission denied
Crash dump was written to: /var/log/ejabberd/erl_crash.dump
Problem loading ejabberd config file /etc/ejabberd/ejabberd.cfg : permission denied"
And to be completely honest I haven't the faintest idea what it means by "permission denied" as I'm logged in as root and using sudo.
check /etc/ejabberd directory
check /etc/ejabberd directory permission.
my debian dist before:
$ ls -dl /etc/ejabberd
drwxr-x--- 2 root root 4096 Jun 20 12:03 /etc/ejabberd
$ chown root:ejabberd /etc/ejabberd
$ chmod 750 /etc/ejabberd
after:
$ ls -dl /etc/ejabberd
drwxr-x--- 2 root ejabberd 4096 Jun 20 12:03 /etc/ejabberd