[Server-devel] connection to jabber.laptop.org

John Watlington wad at laptop.org
Mon Dec 10 01:34:34 EST 2007


On Dec 6, 2007, at 6:39 PM, Robert McQueen wrote:

>> Also, I couldnt connect to http://server:5280/admin/ as indicated  
>> in the
>> wiki. Is this really necessary?
>
> Yes, at the moment you need to log in on the web interface to set  
> up the
> shared roster. Ticket #5310 is about working out how to avoid this.
>
> Why couldn't you connect? If it was a login problem, register  
> whichever
> account is listed as the admin in the config file, using "ejabberdctl
> register admin server password" (to register admin at server with  
> password
> "password").

I installed your latest RPM (thanks), and followed the directions in  
the wiki
(Ejabberd_Configuration) about editing the config.  I then restarted  
ejabberd,
but could not get an admin user registered with the server properly.

When I try: sudo ejabberdctl register admin schoolserver admin
the response is:
RPC failed on the node register at schoolserver: nodedown

When I try: sudo ejabberdctl ejabberd register admin schoolserver admin
the response is:
Can't register user "admin at schoolserver" at node  
ejabberd at schoolserver: not_allowed

When I try: sudo ejabberdctl ejabberd register admin localhost admin
it works, after placing that in the config file (and restarting) I'm  
unable to
connect via http://schoolserver:5280/admin/
(Giannis, the only person on the admin ACL for jabber.laptop.org is
  jtest.   Were you using that name to try to login ?)

The problem might be the weird DNS situation of a school server ?
If it DHCPs, it accepts a domain name (search ...) and DNS servers from
it's ISP.  But it also maintains a local DNS space  
(<random>.xs.laptop.org)
which will (eventually) be supported from the outside through dynamic  
or static DNS.
For example, I have a server which thinks its FQDN is  
schoolserver.pinewood.net.
It also resolves as schoolserver.pinewood.xs.laptop when querying the  
local
named.   What should the ejabberd server name be (or does it  
matter ?  Are server
names in the ejabberd configuration virtual ?)

Can you install your latest ejabberd server on  
schoolserver.laptop.org ?   The
server name from a laptop's point of view will be  
schoolserver.cambridge.xs.laptop.org.

Regarding server release timing (your IRC question ?):   They happen  
whenever there
something new to release.   Anybody running FC7 can build a release  
and test it...
We are a little short on QA people right now, but I moved the 1CC  
schoolserver
over to build 137 on Friday (it had been running a hand-installed/ 
configured build
up to now) so that our laptop QA team can help with testing!
See:   http://wiki.laptop.org/go/XS_Building_Software

I expect that we will place a finalized configuration file in place  
(along with a
script which initializes the ejabberd server --- we can't require  
someone to set up
muc manually for each school!) using xs-config.

wad













More information about the Server-devel mailing list