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