[JDEV] jpolld configuration question

John Hebert john at vedalabs.com
Fri Nov 17 16:22:21 CST 2000


Oliver,

The usage output is misleading. Your command line for jpolld would be:

	./jpolld -h 127.0.0.1 -s foo -n jpolld

as that is what you named the service in your jabber.xml file. I'm not
sure if using <service id="jpolld"> will cause other things to break, so
you could still use <service id="c2s"> and it will work and follow the
conventions in place. It worked for me. :)

John Hebert


Oliver Jones wrote:
> 
> Hello everyone; I'm looking for some advice on setting up jpolld with
> jabberd 1.2.  (On Linux 2.12, RH 6.1, also targeting RH.6.2)
> 
> First:  Like others on this list, I have successfully compiled jpolld from
> cvs by removing the line with -lsocket from the makefile.  Making the
> software load also requires libxode-config and jabber-config to be in the
> PATH when making.
> 
> Second: I have put this stanza in my jabberd configuration file in place of
> the c2s service.
> 
> <service id="jpolld">
>   <accept>
>    <ip>127.0.0.1</ip>
>    <secret>foo</secret>
>    <port>5225</port>
>   </accept>
> </service>
> 
> Third: I have started jabberd -D -h tunes.dotclick.com
> 
> Fourth: I have tried to run jpolld like this.
>   ./jpolld -h 127.0.0.1 -s foo -n tunes.dotclick.com
> 
> It doesn't seem to work:  jpolld's output says:
> 
> [1] Vital error.  Master has closed the stream.Listening on NULL:5222
> [1] Error on MFD: 0: Success
> 
> Jabberd's debug output says (in part):
> 
> Fri Nov 17 16:56:39 2000  base_accept.c:453 new connection on port 5225
> from ip 127.0.0.1 as fd 11
> 
> Fri Nov 17 16:56:39 2000  base_accept.c:308 io thread starting for 11
> Fri Nov 17 16:56:39 2000  base_accept.c:328 io read event for 11
> 
> Fri Nov 17 16:56:39 2000  log.c:105 <log type='warn'
> from='base_accept_undetermined'>Request for invalid host:
> tunes.dotclick.com</log>
> 
> Fri Nov 17 16:56:39 2000  base_accept.c:372 read thread exiting for 11:
> Interrupted system call
> Fri Nov 17 16:56:39 2000  log.c:105 <log type='warn'
> from='-internal'>base_accept: connection died on accepted socket</log>
> 
> Can anyone offer advice on getting this configured correctly?
> Thanks.
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list