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