[JDEV] can't see (or chat with) users??
Doug Monroe
monroe at lucent.com
Mon May 22 13:10:06 CDT 2000
Need help...installed pth, adns, libxode, libjabber, libetherx,
jabber-transport on an intranet box. No gripes from any installations.
edited jserver.xml as follows-
################
<jserver>
This is the Jabber Server XML configuration file. Each section has it's own
instructions.
Replace the default name with your primary server hostname:
<names>
<default>foo.wh.lucent.com</default>
<!-- You may have alises for this server, these are NOT virtual hosts,
only use these for migrating from an old server name or for *receive
only* on an alternate name
<alias>old.host.net</alias>
-->
</names>
This section provides the default bindings for IP addresses and ports used
within the server.
If the service is not loaded/used, it's direcives here are ignored.
<listen>
<jabber>5222</jabber>
<ssl>5223</ssl>
<irc>6667</irc>
<http>5280</http>
<telnet>5228</telnet>
<!-- Specific IPs can also be used:
<jabber ip='12.34.56.78'>5222</jabber>
<irc ip='12.34.56.79'>6667</irc>
-->
</listen>
The session log, make sure the folder exists!
<log>
<!-- replace with <error>syslog</error> to log to syslog instead, remove
to log to STDERR -->
<error>/var/log/jabberserver.error</error>
<session>/var/log/jabberserver.log</session>
<!-- This will log some basic tracking information about every packet of
data (TONS!)
<packet>/var/log/jabberserver_packet.log</packet>
-->
</log>
Data is stored on the filesystem for each user, make sure the folder exists!
<spool>/var/jabberspool</spool>
Registration instructions and fields, remove to disallow registration:
<register>
<instructions>Choose a username and password to register with this
server.</instructions>
<username/><password/><name/><email/>
</register>
Server info:
<info>
<name>Jabonicus</name>
<description>A Jabber Server!</description>
<url>http://jabber.org/</url>
</info>
A place to list the available agents for the users of this server:
<agents>
<!-- this is the default agent for the (temporary) master jabber user
directory -->
<agent jid="foo.lucent.com">
<name>Jabber User Directory</name>
<description>You may register and create a public searchable profile,
and search for other registered Jabber users.</description>
<service>user directory</service>
<register/>
<search/>
</agent>
<!-- these are just examples, you will receive instructions on what to
place here when you install a real agent
<agent jid="foo.lucent.com">
<name>AIM Transport</name>
<description>This is the AIM Transport</description>
<transport>AIM/AOL ScreenName</transport>
<service>aim</service>
<register/>
</agent>
<agent jid="foo.lucent.com">
<name>ICQ Transport</name>
<description>This is the ICQ Transport</description>
<transport>ICQ#</transport>
<service>icq</service>
<register/>
</agent>
<agent jid="foo.lucent.com">
<name>GroupChat</name>
<description>You can create and participate in private
chatrooms.</description>
<service>privatechat</service>
<groupchat/>
<register/>
</agent>
-->
</agents>
List of the default DSO loaded modules:
<dso>
<mod_time>/usr/local/lib/jabber/mod_time.so</mod_time>
<mod_version>/usr/local/lib/jabber/mod_version.so</mod_version>
<mod_echo>/usr/local/lib/jabber/mod_echo.so</mod_echo>
<svc_http>/usr/local/lib/jabber/svc_http.so</svc_http>
<svc_irc>/usr/local/lib/jabber/svc_irc.so</svc_irc>
</dso>
This is how the server connects to etherx:
<etherx>
<secret>test</secret>
<!-- only enable to use remote mode, you should know what you are doing!
<remote>12.34.56.78</remote>
-->
</etherx>
List of usernames with administrative access, these users will all receive
messages and notices sent to 'hostname':
<!--
<admin>
<read>support</read>
<write>root</write>
</admin>
-->
</jserver>
################
started jserver using '/usr/local/bin/jserver -D &'
Using WinJab 0.9.1.1, all attempts to contact other users fail. Debug info for
attempts below.
Help appreciated.
Doug Monroe
######################################################################
ATTEMPTED ACTION: "Send Message" from dwm -> abmdemo
Mon May 22 13:57:12 2000 debug/xmlstream.c:222 xmlstream_main: startup
Mon May 22 13:57:12 2000 debug/svc_client.c:171 SVC_BASIC: socket 10 thread
80AFAC8 onNode 8087628
Mon May 22 13:57:12 2000 debug/svc_client.c:280 sending packet to session:
<message id='JCOM_5'
to='abmdemo'><thread>648F87085BD97B40293548EB19F456B6</thread><subject/><body>asdad</body></message>
Mon May 22 13:57:12 2000 debug/sessions.c:140 spacket 2 to session 80BA108
packet 80D5778
Mon May 22 13:57:12 2000 debug/sessions.c:84 worker fetch returning
swaiters[0] 80BAD68
Mon May 22 13:57:12 2000 debug/sessions.c:537 pth->WORKER(80BAD68)
Mon May 22 13:57:12 2000 debug/sessions.c:346 PROCESS 80BAD68 type 2 for
session 80BA108
Mon May 22 13:57:12 2000 debug/sessions.c:393 THREAD:SESSION:FROM received a
message!
Mon May 22 13:57:12 2000 debug/modules.c:192 mapi_call 7
Mon May 22 13:57:12 2000 debug/deliver.c:16
deliver(to[abmdemo],from[dwm at foo.lucent.com/Winjab],type[1],packet[<message
id='JCOM_5' to='abmdemo'
from='dwm at foo.lucent.com/Winjab'><thread>648F87085BD97B40293548EB19F456B6</thread><subject/><body>asdad</body></message>])
Mon May 22 13:57:12 2000 debug/config.c:150 name 3 for abmdemo
Mon May 22 13:57:12 2000 debug/modules.c:192 mapi_call 4
Mon May 22 13:57:12 2000 debug/mod_etherx.c:92 delivering external packets
Mon May 22 13:57:12 2000 debug/ehandler.c:86 ehandler_send: daemon <message
id='JCOM_5' to='abmdemo'
from='dwm at foo.lucent.com/Winjab'><thread>648F87085BD97B40293548EB19F456B6</thread><subject/><body>asdad</body></message>
Mon May 22 13:57:12 2000 debug/etherxd.c:27 etherxd_send()
Mon May 22 13:57:12 2000 debug/ehlist.c:69 list_get(abmdemo)
Mon May 22 13:57:12 2000 debug/ehlist.c:69 list_get(abmdemo)
Mon May 22 13:57:12 2000 debug/ehandler.c:39
ehandler_new(abmdemo,jabber:server)
Mon May 22 13:57:12 2000 debug/tstream.c:63 tstream_new
Mon May 22 13:57:12 2000 debug/xmlstream.c:101 head: <?xml
version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams'
id='392974F8' xmlns='jabber:server' to='abmdemo'>
Mon May 22 13:57:12 2000 debug/tstream.c:133 tstream_write_buffer
Mon May 22 13:57:12 2000 debug/ehlist.c:26 list_add(abmdemo)
Mon May 22 13:57:12 2000 debug/etherxd.c:50 deliver to netout abmdemo
Mon May 22 13:57:12 2000 debug/etherxd_out.c:77 etherxd_netout_write
Mon May 22 13:57:12 2000 debug/tstream.c:170 tstream_oob_buffer
Mon May 22 13:57:12 2000 debug/sessions.c:555 swaiters[0] is now 80BAD68
Mon May 22 13:57:12 2000 debug/sessions.c:531 WORKER(80BAD68)->pth
Mon May 22 13:57:12 2000 debug/tstream.c:212 tstream_main: startup
Mon May 22 13:57:12 2000 debug/xmlstream.c:222 xmlstream_main: startup
Mon May 22 13:57:12 2000 debug/tstream.c:335 tstream_connect:
ADNS[abmdemo:5269]
Mon May 22 13:57:12 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
loop
Mon May 22 13:57:12 2000 debug/tstream.c:395 tstream_connect: ADNS MX lookup
loop
Mon May 22 13:57:12 2000 debug/tstream.c:459 tstream_cleanup
Mon May 22 13:57:12 2000 debug/tstream.c:188 tstream_oob_flush
Mon May 22 13:57:12 2000 debug/etherxd_out.c:100 etherxd_netout_error
Mon May 22 13:57:12 2000 debug/etherxd_out.c:100 etherxd_netout_error
Mon May 22 13:57:12 2000 debug/etherxd_out.c:100 etherxd_netout_error
Mon May 22 13:57:12 2000 debug/etherxd_out.c:105 bouncing data intended for
abmdemo
Mon May 22 13:57:12 2000 debug/etherxd.c:27 etherxd_send()
Mon May 22 13:57:12 2000 debug/ehlist.c:69 list_get(foo.lucent.com)
Mon May 22 13:57:12 2000 debug/etherxd.c:63 deliver to transport(INPROC)
foo.lucent.com
Mon May 22 13:57:12 2000 debug/mod_etherx.c:79 EXTERNAL: got error epacket
bounce to abmdemo reason delivery failure
Mon May 22 13:57:12 2000 debug/deliver.c:16
deliver(to[dwm at foo.lucent.com/Winjab],from[abmdemo],type[1],packet[<message
id='JCOM_5' to='dwm at foo.lucent.com/Winjab' from='abmdemo'
type='error'><thread>648F87085BD97B40293548EB19F456B6</thread><subject/><body>asdad</body><error
code='502'>Remote Server Error</error></message>])
Mon May 22 13:57:12 2000 debug/config.c:150 name 3 for foo.lucent.com
Mon May 22 13:57:12 2000 debug/users.c:150 js_user(dwm)
Mon May 22 13:57:12 2000 debug/modules.c:192 mapi_call 4
Mon May 22 13:57:12 2000 debug/sessions.c:140 spacket 1 to session 80BA108
packet 80D9438
Mon May 22 13:57:12 2000 debug/sessions.c:84 worker fetch returning
swaiters[0] 80BAD68
Mon May 22 13:57:12 2000 debug/etherxd_out.c:67 etherxd_netout_cleanup
Mon May 22 13:57:12 2000 debug/ehlist.c:58 list_free(abmdemo)
Mon May 22 13:57:12 2000 debug/ehlist.c:38 list_isolate(abmdemo)
Mon May 22 13:57:12 2000 debug/xmlstream.c:273 xmlstream_cleanup
Mon May 22 13:57:12 2000 debug/sessions.c:537 pth->WORKER(80BAD68)
Mon May 22 13:57:12 2000 debug/sessions.c:346 PROCESS 80BAD68 type 1 for
session 80BA108
Mon May 22 13:57:12 2000 debug/sessions.c:441 THREAD:SESSION:TO received data
from abmdemo!
Mon May 22 13:57:12 2000 debug/modules.c:192 mapi_call 6
Mon May 22 13:57:12 2000 debug/svc_client.c:88 SVC_BASIC: got a
packet[<message id='JCOM_5' from='abmdemo'
type='error'><thread>648F87085BD97B40293548EB19F456B6</thread><subject/><body>asdad</body><error
code='502'>Remote Server Error</error></message>] to send to the
user[134772096]
Mon May 22 13:57:12 2000 debug/xmlstream.c:42 xmlstream_write
Mon May 22 13:57:12 2000 debug/tstream.c:133 tstream_write_buffer
Mon May 22 13:57:12 2000 debug/tstream.c:285 tstream_write 181 blocks
Mon May 22 13:57:12 2000 debug/sessions.c:555 swaiters[0] is now 80BAD68
Mon May 22 13:57:12 2000 debug/sessions.c:531 WORKER(80BAD68)->pth
Mon May 22 13:57:36 2000 debug/tstream.c:247 tstream read event
Mon May 22 13:57:36 2000 debug/xmlstream.c:222 xmlstream_main: startup
######################################################################
ATTEMPTED ACTION: "Start Chat" from dwm -> abmdemo
Mon May 22 13:58:32 2000 debug/xmlstream.c:222 xmlstream_main: startup
Mon May 22 13:58:32 2000 debug/svc_client.c:171 SVC_BASIC: socket 10 thread
80AFAC8 onNode 8087628
Mon May 22 13:58:32 2000 debug/svc_client.c:280 sending packet to session:
<message id='JCOM_6' to='@abmdemo'
type='chat'><thread>2A83DAA15A5055473D994E178CF0F514</thread><subject/><body>asdas</body></message>
Mon May 22 13:58:32 2000 debug/sessions.c:140 spacket 2 to session 80BA108
packet 80D9490
Mon May 22 13:58:32 2000 debug/sessions.c:84 worker fetch returning
swaiters[0] 80BAD68
Mon May 22 13:58:32 2000 debug/sessions.c:537 pth->WORKER(80BAD68)
Mon May 22 13:58:32 2000 debug/sessions.c:346 PROCESS 80BAD68 type 2 for
session 80BA108
Mon May 22 13:58:32 2000 debug/sessions.c:393 THREAD:SESSION:FROM received a
message!
Mon May 22 13:58:32 2000 debug/modules.c:192 mapi_call 7
Mon May 22 13:58:32 2000 debug/deliver.c:16
deliver(to[abmdemo],from[dwm at foo.lucent.com/Winjab],type[1],packet[<message
id='JCOM_6' to='@abmdemo' type='chat'
from='dwm at foo.lucent.com/Winjab'><thread>2A83DAA15A5055473D994E178CF0F514</thread><subject/><body>asdas</body></message>])
Mon May 22 13:58:32 2000 debug/config.c:150 name 3 for abmdemo
Mon May 22 13:58:32 2000 debug/modules.c:192 mapi_call 4
Mon May 22 13:58:32 2000 debug/mod_etherx.c:92 delivering external packets
Mon May 22 13:58:32 2000 debug/ehandler.c:86 ehandler_send: daemon <message
id='JCOM_6' to='@abmdemo' type='chat'
from='dwm at foo.lucent.com/Winjab'><thread>2A83DAA15A5055473D994E178CF0F514</thread><subject/><body>asdas</body></message>
Mon May 22 13:58:32 2000 debug/etherxd.c:27 etherxd_send()
Mon May 22 13:58:32 2000 debug/ehlist.c:69 list_get(abmdemo)
Mon May 22 13:58:32 2000 debug/ehlist.c:69 list_get(abmdemo)
Mon May 22 13:58:32 2000 debug/ehandler.c:39
ehandler_new(abmdemo,jabber:server)
Mon May 22 13:58:32 2000 debug/tstream.c:63 tstream_new
Mon May 22 13:58:32 2000 debug/xmlstream.c:101 head: <?xml
version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams'
id='39297548' xmlns='jabber:server' to='abmdemo'>
Mon May 22 13:58:32 2000 debug/tstream.c:133 tstream_write_buffer
Mon May 22 13:58:32 2000 debug/ehlist.c:26 list_add(abmdemo)
Mon May 22 13:58:32 2000 debug/etherxd.c:50 deliver to netout abmdemo
Mon May 22 13:58:32 2000 debug/etherxd_out.c:77 etherxd_netout_write
Mon May 22 13:58:32 2000 debug/tstream.c:170 tstream_oob_buffer
Mon May 22 13:58:32 2000 debug/sessions.c:555 swaiters[0] is now 80BAD68
Mon May 22 13:58:32 2000 debug/sessions.c:531 WORKER(80BAD68)->pth
Mon May 22 13:58:32 2000 debug/tstream.c:212 tstream_main: startup
Mon May 22 13:58:32 2000 debug/xmlstream.c:222 xmlstream_main: startup
Mon May 22 13:58:32 2000 debug/tstream.c:335 tstream_connect:
ADNS[abmdemo:5269]
Mon May 22 13:58:32 2000 debug/tstream.c:357 tstream_connect: ADNS A lookup
loop
Mon May 22 13:58:32 2000 debug/tstream.c:395 tstream_connect: ADNS MX lookup
loop
Mon May 22 13:58:32 2000 debug/tstream.c:459 tstream_cleanup
Mon May 22 13:58:32 2000 debug/tstream.c:188 tstream_oob_flush
Mon May 22 13:58:32 2000 debug/etherxd_out.c:100 etherxd_netout_error
Mon May 22 13:58:32 2000 debug/etherxd_out.c:100 etherxd_netout_error
Mon May 22 13:58:32 2000 debug/etherxd_out.c:100 etherxd_netout_error
Mon May 22 13:58:32 2000 debug/etherxd_out.c:105 bouncing data intended for
abmdemo
Mon May 22 13:58:32 2000 debug/etherxd.c:27 etherxd_send()
Mon May 22 13:58:32 2000 debug/ehlist.c:69 list_get(foo.lucent.com)
Mon May 22 13:58:32 2000 debug/etherxd.c:63 deliver to transport(INPROC)
foo.lucent.com
Mon May 22 13:58:32 2000 debug/mod_etherx.c:79 EXTERNAL: got error epacket
bounce to abmdemo reason delivery failure
Mon May 22 13:58:32 2000 debug/deliver.c:16
deliver(to[dwm at foo.lucent.com/Winjab],from[abmdemo],type[1],packet[<message
id='JCOM_6' to='dwm at foo.lucent.com/Winjab' type='error'
from='@abmdemo'><thread>2A83DAA15A5055473D994E178CF0F514</thread><subject/><body>asdas</body><error
code='502'>Remote Server Error</error></message>])
Mon May 22 13:58:32 2000 debug/config.c:150 name 3 for foo.lucent.com
Mon May 22 13:58:32 2000 debug/users.c:150 js_user(dwm)
Mon May 22 13:58:32 2000 debug/modules.c:192 mapi_call 4
Mon May 22 13:58:32 2000 debug/sessions.c:140 spacket 1 to session 80BA108
packet 80B7D80
Mon May 22 13:58:32 2000 debug/sessions.c:84 worker fetch returning
swaiters[0] 80BAD68
Mon May 22 13:58:32 2000 debug/etherxd_out.c:67 etherxd_netout_cleanup
Mon May 22 13:58:32 2000 debug/ehlist.c:58 list_free(abmdemo)
Mon May 22 13:58:32 2000 debug/ehlist.c:38 list_isolate(abmdemo)
Mon May 22 13:58:32 2000 debug/xmlstream.c:273 xmlstream_cleanup
Mon May 22 13:58:32 2000 debug/sessions.c:537 pth->WORKER(80BAD68)
Mon May 22 13:58:32 2000 debug/sessions.c:346 PROCESS 80BAD68 type 1 for
session 80BA108
Mon May 22 13:58:32 2000 debug/sessions.c:441 THREAD:SESSION:TO received data
from abmdemo!
Mon May 22 13:58:32 2000 debug/modules.c:192 mapi_call 6
Mon May 22 13:58:32 2000 debug/svc_client.c:88 SVC_BASIC: got a
packet[<message id='JCOM_6' type='error'
from='abmdemo'><thread>2A83DAA15A5055473D994E178CF0F514</thread><subject/><body>asdas</body><error
code='502'>Remote Server Error</error></message>] to send to the
user[134772096]
Mon May 22 13:58:32 2000 debug/xmlstream.c:42 xmlstream_write
Mon May 22 13:58:32 2000 debug/tstream.c:133 tstream_write_buffer
Mon May 22 13:58:32 2000 debug/tstream.c:285 tstream_write 181 blocks
Mon May 22 13:58:32 2000 debug/sessions.c:555 swaiters[0] is now 80BAD68
Mon May 22 13:58:32 2000 debug/sessions.c:531 WORKER(80BAD68)->pth
Mon May 22 13:58:36 2000 debug/tstream.c:247 tstream read event
Mon May 22 13:58:36 2000 debug/xmlstream.c:222 xmlstream_main: startup
More information about the JDev
mailing list