[jadmin] A newbie question

Robert Muchnick hostmaster at xenterra.net
Thu Jul 27 15:04:52 CDT 2006


On Thu, 27 Jul 2006, Clare Jarvis wrote:

<< >>
> The behavior I observe is that my buddy 'jjj' appears offline even when logged
> in.  and when I highlight and im 'jjj' i get 404 error.

This has all the trappings of a network resolution error. Your c2s config 
has "<id>jacslinux.winona</id>" in it and the sm conf has the same thing. 
However, the documentation for jabberd2 requires a network resolvable id:

" The first step in basic configuration consists of setting the hostname 
in sm.xml and c2s.xml.

P Parameter: Hostname
     Your server hostname (network ID) must be set in both c2s.xml and 
sm.xml so that the ID provides a network resolvable reference for your 
server. In c2s.xml this ID is found under the heading labeled Local 
network configuration (approx. line 63), and in sm.xml this ID is found 
under Session manager configuration (line 1). Edit sm.xml and c2s.xml so 
that this ID references your server.

In sm.xml :

       <!-- Session manager configuration -->
       <sm>
         <!-- Our ID on the network. Users will have this as the domain 
part of
              their JID. If you want your server to be accessible from 
other
              Jabber servers, this ID must be resolvable by DNS.s
              (default: localhost) -->
         <id>somemachine.somedomain.com</id>"

Same for c2s.xml. The docs go on to state: "As the c2s.xml file notes, 
this is the hostname that will be appended to your user names to create 
Jabber ID's, and it must be resolvable via DNS for Jabberd to be 
accessible via the Internet.

"N Note
     You may use just a domain name (somedomain.com) for your Jabberd 2 
network ID if your DNS is configured properly to resolve that ID to your 
server. See Section 5.7. for information about setting up DNS SRV records 
for Jabberd 2."

This is all in section 4.1 at 
http://jabberd.jabberstudio.org/2/docs/section04.html#4_1.

I think your use of a DNS-unresolvable id is what's giving you the 404 
error (it means "not found" of course), since, I assume, you're using 
jabberd2 over the Internet.

I've been running jabberd2 flawlessly with Gaim clients for a long time 
just using an id like "mydomain.com" and setting the Server and Connect 
server fields appropriately in the Gaim account setup.

-- 
Robert Muchnick
Xenterra.net
720-276-7917



More information about the JAdmin mailing list