Erlang/OTP Forums

Author Message

<  Trapexit Forums  ~  Ejabberd User Register

madana.gopal
Posted: Mon Mar 14, 2011 2:19 pm Reply with quote
Joined: 14 Mar 2011 Posts: 1
Hi
I have installed ejabberd server on ubuntu(on oracle VM virtual box manager., and all this is on windows 7)

I could not get to register the initial user for the server., below are what I figure some details that has to do with the issue;

the hosts file contains these;
Code:
127.0.0.1   localhost
127.0.0.1   madan-laptop
127.0.0.1   jabb<dot>gaachat<dot>com

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


the settings I modified in ejabberd.cfg are;
Code:
%% Admin user
{acl, admin, {user, "adm", "jabb<dot>gaachat<dot>com"}}.
%% Host name
{hosts, ["localhost","madan-laptop","jabb<dot>gaachat<dot>com"]}



My current hostname;
Code:
root@jmadan-laptop:/etc# sudo hostname
madan-laptop


When I do the following to register the username;
Code:
root@madan-laptop:/etc# sudo ejabberdctl register adm madan-laptop 123456


the error I get is;
Can't register user "adm@madan-laptop" at node 'ejabberd@madan-laptop': not_allowed

If I try to register the user on localhost (hostname);
Code:
root@madan-laptop:/etc# sudo ejabberdctl register adm localhost 123456


There is no error message displayed., but trying to login at localhost:5280<slash>admin on the browser ( with the set username: adm@localhost , password: 123456 ) ;

It throws a "401 Unauthorized" error.

Any idea what could be wrong?. I have been pulling my hair over this for many hours now.

Would really appreciate any help.
View user's profile Send private message
kisto5
Posted: Fri Jul 29, 2011 9:25 am Reply with quote
Joined: 29 Jul 2011 Posts: 2
We read so many complaints like this these days and it is really becoming a concern that we don’t get a real fulfillmentsolution for half the issues!! I wonder why no one has attempted to answer this post considering it’s been a few months!! I am sure that a prompt answer would help us to save is a lot of time and effort – hope someone helps out soon!!
View user's profile Send private message
wuji
Posted: Wed Aug 29, 2012 6:27 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
first ordered its pilots to stop wearing the vests last last [h4]cheap Ralph Lauren[/h4] last month, but Air Force spokesperson Lt. Col. Tadd Scholtis
ABC News at the time that while the vests were were [h1]imitation designer *beep*[/h1] were believed to have contributed to the problem, they were
believed to be the root cause of the prior incidents."When incidents."When knockoff designer *beep* incidents."When asked by a reporter if the new solution could
account for the at least five instances in which the the cheap polo shirts the Air Force said ground crews working on the F-22s
their own hypoxia-like symptoms, Little said he "did not have have knockoff designer *beep* have specifics" on those incidents.Still, Gen. Charles Lyon, the head
the team investigating the F-22 problem, made his case in in cheap authentic jordans in the Pentagon against the so-called G-suit and its valve
t
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum