Simple install on Ubuntu

Hi folks.

I've tried umpteen config mods and still don't seem to have a working server so, here I am, hoping for some help.

The system is a fresh install of ubuntu 11.10 server.

I installed the server with apt-get install ejabberd. I edited /etc/ejabberd/ejabberd.cfg to include this...

%% Admin user
{acl, admin, {user, "adminjserv", "jserv.drsimon.co.nz"}}.

%% Hostname
{hosts, ["jserv.drsimon.co.nz"]}.

There's a DNS A record for the server, and the router is configured to forward 5222, 5269 & 5280 to the server machine.

I run service ejabberd start and then do ejabberdctl status and get

The node ejabberd@glenlivet is started with status: started
ejabberd 2.1.6 is running in that node

Glenlivet is the host name in the local network.

If I try to register a user with ejabberctl register username jserv.drsimon.co.nz password I get
Can't register user username@jserv.drsimon.co.nz at node ejabberd@glenlivet: not_allowed

So folks... what have I got wrong and how do I go about fixing it?

Thanks.

Simon.

YAY! I got it working. It

YAY! I got it working. It appears that, as installed, connecting is disabled. So an deny, allow got swapped round and all is working perfectly!

Syndicate content