[JDEV] jpolld configuration question

Oliver Jones oj at world.std.com
Fri Nov 17 16:05:46 CST 2000


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.




More information about the JDev mailing list