[JDEV] Groupchat with 1.2 problems

Peter Saint-Andre stpeter at jabber.org
Thu Dec 28 15:49:07 CST 2000


You might to name the groupchat agent something other than the hostname
of your Jabber server. You have:

<host>jabber.co.lsil.com</host>
...snip...
<agent jid="jabber.co.lsil.com">

I think you need to name the groupchat agent something like
"conference.jabber.co.lsil.com"

Peter

--
Peter Saint-Andre
stpeter at jabber.org

"Malone, Pat" wrote:
> 
> I made the big switch to 1.2 today, and I'm quite stumped with groupchat.
> The jabberd server installs clean (I grabbed and built all the parts, not
> the pre-compiled) and works fine for messages and chats.
> I installed the 'conference' groupchat component per the instructions and
> modified my jabber.xml for it.
> However, when I try to do a groupchat (using winjab 0.9.3.5 and/or jabberim
> 0.9.6.86), I get nothing but errors.  It seems to be trying to find an
> existing spool file with my target groupname?
> 
> Error log and debug output show I *may* be misconfigured somehow, but I
> can't figure it out.  Any help would be appreciated.
> 
> Server is Caldera Linux.
> It's pure internal (no cross firewall traffic)
> server is jabber.co.lsil.com
> Below are my jabber.xml and a debug snip of an attempt to join a group
> called 'testgroup'
> 
> Thanks
> 
> Pat
> pat.malone at lsil.com
> -----
> jabber.xml
> -----
> <jabber>
> 
>   <!-- This section is for the session manager, the most important component
> within the server. -->
>   <service id="sessions">
> 
>     <!--
>     Change hostname below to something other than "localhost", or use the
> "jabberd -h hostname" command line flag.
>     Multiple <host>...</host> entries are allowed, each one is a seperate
> virtual server.
>     -->
>     <host>jabber.co.lsil.com</host>
> 
>     <!-- This is the custom configuration section for the session manager.
> -->
>     <jsm xmlns="jabber:config:jsm">
> 
>       <info>
>         <name>Jabber Server</name>
>         <description>LSI internal Jabber Server!</description>
>         <url>http://foo.bar/</url>
>       </info>
> 
>       <register>
>         <instructions>Choose a username and password to register with this
> server.</instructions>
>         <name/><email/>
>       </register>
> 
>       <agents>
> 
>         <agent jid="jabber.co.lsil.com">
>           <name>Group Conferencing</name>
>           <description>You can create and participate in private
> chatrooms.</description>
>           <service>conferencing</service>
>           <groupchat/>
>           <register/>
>         </agent>
> 
>       </agents>
> 
>       <!-- Session log file -->
>       <log>
>         <file>session.log</file>
>         <type>session</type>
>       </log>
> 
>       <!-- List of IDs with administrative access, all will receive
> administrator messages
>       <admin>
>         <read>support at localhost</read>
>         <write>admin at localhost</write>
>       </admin>
>       -->
> 
>       <!-- Server version update notification, set to the server name so
> that all administrators (above) will be notified, or set to any ID -->
>       <!--
>       <update><jabberd:cmdline flag="h"/></update>
>       -->
> 
>     </jsm>
> 
>     <!-- This section dynamically loads the session manager, remove or
> comment out modules to disable them. -->
>     <load main="jsm">
>       <jsm>./jsm/jsm.so</jsm>
>       <mod_echo>./jsm/jsm.so</mod_echo>
>       <mod_roster>./jsm/jsm.so</mod_roster>
>       <mod_time>./jsm/jsm.so</mod_time>
>       <mod_vcard>./jsm/jsm.so</mod_vcard>
>       <mod_version>./jsm/jsm.so</mod_version>
>       <mod_announce>./jsm/jsm.so</mod_announce>
>       <mod_agents>./jsm/jsm.so</mod_agents>
>       <mod_admin>./jsm/jsm.so</mod_admin>
>       <mod_private>./jsm/jsm.so</mod_private>
>       <mod_filter>./jsm/jsm.so</mod_filter>
>       <mod_presence>./jsm/jsm.so</mod_presence>
>       <mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
>       <mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
>       <mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
>       <mod_register>./jsm/jsm.so</mod_register>
>       <mod_log>./jsm/jsm.so</mod_log>
>     </load>
> 
>   </service>
> 
>   <!-- This component handles all data storage, using the filesystem. -->
>   <xdb id="xdb">
>     <host/>
>     <load><xdb_file>./xdb_file/xdb_file.so</xdb_file></load>
>     <xdb_file
> xmlns="jabber:config:xdb_file"><spool>./spool</spool></xdb_file>
>   </xdb>
> 
>   <!-- Service to manage incoming client socket connections. -->
>   <service id="c2s">
> 
> <load><pthsock_client>./pthsock/pthsock_client.so</pthsock_client></load>
>     <pthcsock xmlns='jabber:config:pth-csock'>
>       <authtime/> <!-- unlimited time to auth, could be
> <authtime>10</authtime> for 10 seconds, etc -->
>       <rate time="5" points="25"/> <!-- 25 connects in 5 seconds limit (per
> IP) -->
>       <!-- Karma based I/O rate limits, per connection, see
> http://docs.jabber.org/ for more info. -->
>       <karma>
>         <max>10</max>
>         <inc>1</inc>
>         <dec>1</dec>
>         <restore>5</restore>
>         <penalty>-5</penalty>
>       </karma>
>       <!-- Use these to listen on particular addresses and/or ports.
>       <ip port="5223"/>
>       <ip port="5222">127.0.0.1</ip>
>       -->
>     </pthcsock>
>   </service>
> 
>   <!-- Default server logging component, copies to a file and STDERR. -->
>   <log id='logger'>
>     <host/>
>     <format>%d: [%t] (%h): %s</format>
>     <file>error.log</file>
>     <stderr/>
>   </log>
> 
>   <!-- The following two services are for handling server to server traffic.
> -->
> 
>   <!-- External asychronous DNS resolver -->
>   <service id="dnsrv">
>     <host/>
>     <load><dnsrv>./dnsrv/dnsrv.so</dnsrv></load>
>     <dnsrv xmlns="jabber:config:dnsrv">
>         <resend service="_jabber._tcp">s2s</resend> <!-- for supporting SRV
> records -->
>         <resend>s2s</resend>
>     </dnsrv>
>   </service>
> 
>   <!-- Handles server connections and dialback hostname verification -->
>   <service id="s2s">
> 
> <load><pthsock_server>./pthsock/pthsock_server.so</pthsock_server></load>
>     <pthssock xmlns='jabber:config:pth-ssock'>
>       <legacy/> <!-- allow communication with old 1.0-style servers -->
>       <rate time="5" points="25"/> <!-- 25 connects in 5 seconds limit (per
> IP) -->
>       <!-- Karma based I/O rate limits, per connection, set a little higher
> for server connections -->
>       <karma>
>         <max>30</max>
>         <inc>2</inc>
>         <dec>1</dec>
>         <restore>15</restore>
>         <penalty>-1</penalty>
>       </karma>
>       <!-- Use these to listen on particular addresses and/or ports.
>       <ip port="7000"/>
>       <ip port="5269">127.0.0.1</ip>
>       -->
>     </pthssock>
> 
>   <!-- Groupchat service -->
>   </service>
>   <service id="conference">
>   <load><groupchat>./groupchat.so</groupchat></load>
>   </service>
> 
> </jabber>
> -------
> debug output
> -------
> Thu Dec 28 14:57:52 2000  io_select.c:339 io_main checking sockets
> Thu Dec 28 14:57:52 2000  deliver.c:472 DELIVER 4:jabber.co.lsil.com <route
> to='pmalone at jabber.co.lsil.com/8192E10' from='11 at c2s/80CB880'><iq type='get'
> id='wj_14' to='testgroup at jabber.co.lsil.com'><query
> xmlns='jabber:iq:groupchat'/></iq></route>
> Thu Dec 28 14:57:52 2000  deliver.c:344 delivering to instance 'sessions'
> Thu Dec 28 14:57:52 2000  deliver.c:84 (80820D8)incoming packet <route
> to='pmalone at jabber.co.lsil.com/8192E10' from='11 at c2s/80CB880'><iq type='get'
> id='wj_14' to='testgroup at jabber.co.lsil.com'><query
> xmlns='jabber:iq:groupchat'/></iq></route>
> Thu Dec 28 14:57:52 2000  users.c:147
> js_user(pmalone at jabber.co.lsil.com/8192E10,80F0248)
> Thu Dec 28 14:57:52 2000  mtq 80F0A60 entering from pth
> Thu Dec 28 14:57:52 2000  mtq 80F0A60 queue call 80EF418
> Thu Dec 28 14:57:52 2000  sessions.c:289 THREAD:SESSION:FROM received a
> packet!
> Thu Dec 28 14:57:52 2000  modules.c:124 mapi_call 1
> Thu Dec 28 14:57:52 2000  modules.c:147 MAPI 8193188
> Thu Dec 28 14:57:52 2000  modules.c:147 MAPI 8193198
> Thu Dec 28 14:57:52 2000  modules.c:147 MAPI 81931B8
> Thu Dec 28 14:57:52 2000  modules.c:147 MAPI 81931C8
> Thu Dec 28 14:57:52 2000  modules.c:163 mapi_call returning unhandled
> Thu Dec 28 14:57:52 2000  deliver.c:262
> deliver(to[testgroup at jabber.co.lsil.com],from[pmalone at jabber.co.lsil.com/pma
> lone_350],type[4],packet[<iq type='get' id='wj_14'
> to='testgroup at jabber.co.lsil.com'
> from='pmalone at jabber.co.lsil.com/pmalone_350'><query
> xmlns='jabber:iq:groupchat'/></iq>])
> Thu Dec 28 14:57:52 2000  users.c:147
> js_user(testgroup at jabber.co.lsil.com,80F0248)
> Thu Dec 28 14:57:52 2000  users.c:159 js_user not current
> Thu Dec 28 14:57:52 2000  deliver.c:472 DELIVER 2:jabber.co.lsil.com <xdb
> type='get' to='testgroup at jabber.co.lsil.com/jabber:iq:auth'
> from='jabber.co.lsil.com' id='36'/>
> Thu Dec 28 14:57:52 2000  deliver.c:344 delivering to instance 'xdb'
> Thu Dec 28 14:57:52 2000  xdb_file.c:161 handling xdb request <xdb
> type='get' to='testgroup at jabber.co.lsil.com/jabber:iq:auth'
> from='jabber.co.lsil.com' id='36'/>
> Thu Dec 28 14:57:52 2000  xdb_file.c:98 loading
> ./spool/jabber.co.lsil.com/testgroup.xml
> Thu Dec 28 14:57:52 2000  log.c:105 <log type='warn'
> from='jabber.co.lsil.com'>xdb_file failed to open file
> ./spool/jabber.co.lsil.com/testgroup.xml: No such file or directory</log>
> Thu Dec 28 14:57:52 2000  deliver.c:472 DELIVER 3:jabber.co.lsil.com <log
> type='warn' from='jabber.co.lsil.com'>xdb_file failed to open file
> ./spool/jabber.co.lsil.com/testgroup.xml: No such file or directory</log>
> Thu Dec 28 14:57:52 2000  deliver.c:344 delivering to instance 'logger'
> 20001228T21:57:52: [warn] (jabber.co.lsil.com): xdb_file failed to open file
> ./spool/jabber.co.lsil.com/testgroup.xml: No such file or directory
> Thu Dec 28 14:57:52 2000  xdb_file.c:118 caching
> ./spool/jabber.co.lsil.com/testgroup.xml
> Thu Dec 28 14:57:52 2000  deliver.c:472 DELIVER 1:jabber.co.lsil.com <xdb
> type='result' to='jabber.co.lsil.com'
> from='testgroup at jabber.co.lsil.com/jabber:iq:auth' id='36'/>
> Thu Dec 28 14:57:52 2000  deliver.c:344 delivering to instance 'sessions'
> Thu Dec 28 14:57:52 2000  base_load.c:167 xdb_results checking xdb packet
> <xdb type='result' to='jabber.co.lsil.com'
> from='testgroup at jabber.co.lsil.com/jabber:iq:auth' id='36'/>
> Thu Dec 28 14:57:52 2000  deliver.c:44 delivering locally to
> testgroup at jabber.co.lsil.com
> Thu Dec 28 14:57:52 2000  modules.c:124 mapi_call 3
> Thu Dec 28 14:57:52 2000  modules.c:163 mapi_call returning unhandled
> Thu Dec 28 14:57:52 2000  deliver.c:262
> deliver(to[pmalone at jabber.co.lsil.com/pmalone_350],from[testgroup at jabber.co.
> lsil.com],type[4],packet[<iq type='error' id='wj_14'
> to='pmalone at jabber.co.lsil.com/pmalone_350'
> from='testgroup at jabber.co.lsil.com'><query
> xmlns='jabber:iq:groupchat'/><error code='404'>Not Found</error></iq>])
> Thu Dec 28 14:57:52 2000  users.c:147
> js_user(pmalone at jabber.co.lsil.com/pmalone_350,80F0248)
> Thu Dec 28 14:57:52 2000  deliver.c:44 delivering locally to
> pmalone at jabber.co.lsil.com/pmalone_350
> Thu Dec 28 14:57:52 2000  modules.c:124 mapi_call 3
> Thu Dec 28 14:57:52 2000  modules.c:163 mapi_call returning unhandled
> Thu Dec 28 14:57:52 2000  mtqoverflow 0 overflowing 80EFB40
> Thu Dec 28 14:57:52 2000  mtq 80F0A60 queue call 80EFB40
> Thu Dec 28 14:57:52 2000  sessions.c:337 THREAD:SESSION:TO received data
> from testgroup at jabber.co.lsil.com!
> Thu Dec 28 14:57:52 2000  modules.c:124 mapi_call 0
> Thu Dec 28 14:57:52 2000  modules.c:147 MAPI 81931A8
> Thu Dec 28 14:57:52 2000  modules.c:163 mapi_call returning unhandled
> Thu Dec 28 14:57:52 2000  deliver.c:472 DELIVER 4:c2s <route
> from='pmalone at jabber.co.lsil.com/8192E10' to='11 at c2s/80CB880'><iq
> type='error' id='wj_14' to='pmalone at jabber.co.lsil.com/pmalone_350'
> from='testgroup at jabber.co.lsil.com'><query
> xmlns='jabber:iq:groupchat'/><error code='404'>Not
> Found</error></iq></route>
> Thu Dec 28 14:57:52 2000  deliver.c:344 delivering to instance 'c2s'
> Thu Dec 28 14:57:52 2000  client.c:124 Found the sock for this user
> Thu Dec 28 14:57:52 2000  mtq 80F0A60 leaving to pth
> Thu Dec 28 14:57:52 2000  io_select.c:339 io_main checking sockets
> Thu Dec 28 14:57:52 2000  io_select.c:105 WRITE 11 len 184 of <iq
> type='error' id='wj_14' to='pmalone at jabber.co.lsil.com/pmalone_350'
> from='testgroup at jabber.co.lsil.com'><query
> xmlns='jabber:iq:groupchat'/><error code='404'>Not Found</error></iq>
> 
> Thu Dec 28 14:57:52 2000  io_select.c:339 io_main checking sockets
> -----
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list