Can't run ejabberdctl

I give up. I've been trying to set up ejabberd, and I simply can't.
After installing by sudo apt-get install ejabberd the command ejabberdctl start throws the following console error.

root@Sebastians:~# ejabberdctl start
/usr/sbin/ejabberdctl: line 27: /bin/mkdir: Permission denied
/usr/sbin/ejabberdctl: line 28: /bin/chown: Permission denied
/usr/sbin/ejabberdctl: line 447: /bin/ps: Permission denied
/usr/sbin/ejabberdctl: line 451: /bin/ps: Permission denied
sh: /bin/false: Permission denied
root@Sebastians:~#

Please help

Syndicate content