Problem adding admin

Hi,

I've installed ejabberd from github repo. The installation went fine. Then it started OK. Then i registered a user. Which also went just fine. But after it, when i tried to change the acl in ejabberd.yml for "admin" user, it stops starting and spits out error message .

The change :

acl:
  ##
  ## The 'admin' ACL grants administrative privileges to XMPP accounts.
  ## You can put here as many accounts as you want.
  ##
   admin:
     user:
       - "admin": "localhost"

And

configure:
    admin: allow

But when i restart ejabberd, it spits out --

2015-05-26 07:33:02.525 [error] <0.37.0>@ejabberd_config:get_plain_terms_file:219 Cannot load //etc/ejabberd/ejabberd.yml: Syntax error on line 410 at position 3: did not find expected key

Now the Number 410 line denotes to the line

local:
    user_regexp: ""

But i suspect something is wrong in other parts of conf, not this.

It is hard to tell without

It is hard to tell without the whole file, but maybe this online tool can help you check the syntax of your Yaml file ?

http://yaml-online-parser.appspot.com

change this line "admin":

change this line "admin": "localhost"
to
admin@localhost

I have the same.. I edit the

I have the same..

I edit the config file, and can't get the node starting up again..

What can I do? Can you help me out?

Syndicate content