[Server-devel] Gadget on XS

Dave Bauer dave.bauer at gmail.com
Fri Apr 3 10:40:20 EDT 2009


On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes <
guillaume.desmottes at collabora.co.uk> wrote:

> Le vendredi 03 avril 2009 à 09:41 -0400, Dave Bauer a écrit :
> >
> >
> > On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes
> > <guillaume.desmottes at collabora.co.uk> wrote:
> >         Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit :
> >         > Hi,
> >         >
> >         > I am trying to get gadget working on my XS at
> >         > schoolserver.solutiongrove.com
> >         >
> >         > First I downloaded the source and built it, but I could not
> >         find any
> >         > indication that gadget was installed. How can I tell if it
> >         is working?
> >         >
> >         > Next I tried the gadget package
> >         > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886
> >         RPM but it
> >         > required ejabberd package. RPM says this is not installed.
> >         (I did
> >         > install python-twisted which was another requirement of the
> >         RPM).
> >         >
> >         > Does anyoe have any advice on getting gadget working?
> >
> >
> >         Basically you have to install the gadget service, launch it
> >         (it's a
> >         separated process), modify your ejabberd.cfg as explained in
> >         the Gadget
> >         README and then restart your ejabberd.
> >
> >         You can see if Gadget is working by looking at the XMPP
> >         traffic
> >         exchanged between clients and the server.
> >
> > Gadget started /etc/init.d/gadget start
> >
> > logs on server say
> >
> > 2009/04/03 09:37 -0400 [-] Log opened.
> > 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1)
> > starting up
> > 2009/04/03 09:37 -0400 [-] reactor class: <class
> > 'twisted.internet.selectreactor.SelectReactor'>
> > 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac...
> > 2009/04/03 09:37 -0400 [-] Loaded.
> > 2009/04/03 09:37 -0400 [-] Starting factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [Uninitialized] <twisted.internet.tcp.Connector
> > instance at 0x8a8bb4c> will retry in 2 seconds
> > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [-] Starting factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [Uninitialized] <twisted.internet.tcp.Connector
> > instance at 0x8a8bb4c> will retry in 9 seconds
> > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [-] Starting factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:37 -0400 [Uninitialized] <twisted.internet.tcp.Connector
> > instance at 0x8a8bb4c> will retry in 24 seconds
> > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:38 -0400 [-] Starting factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:38 -0400 [Uninitialized] <twisted.internet.tcp.Connector
> > instance at 0x8a8bb4c> will retry in 70 seconds
> > 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:39 -0400 [-] Starting factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> > 2009/04/03 09:39 -0400 [Uninitialized] <twisted.internet.tcp.Connector
> > instance at 0x8a8bb4c> will retry in 183 seconds
> > 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory
> > <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at
> > 0x8a8644c>
> >
> > and so on. Not sure where to look. is this OK?
>
> Did you properly configured ejabberd as explained in Gadget's README?
> You should have something like that:
>
>  {5560, ejabberd_service, [
>      {ip, {127, 0, 0, 1}},
>      {access, all},
>      {host, "gadget.jabber.sugarlabs.org", [{password, "xxxx"}]}]},
>
> Your gadget.config should match these params.
>
AHA! gadget.config.

Can we add the startup and gadget.config to the README?
Thanks
Dave


>
> Then don't forget to restart ejabberd to reload the new configuration.
>
>
>
>        G.
>
>
>


-- 
Dave Bauer
dave at solutiongrove.com
http://www.solutiongrove.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20090403/687c302c/attachment.htm 


More information about the Server-devel mailing list