[JDEV] Re: Help with setting up Jabber server on Red Hat

Patrick Quek patquek at magix.com.sg
Wed Aug 9 04:21:23 CDT 2000


Hi all,

Thanks for the replies from Steve Grasso, Ryan Eatmon, Eliot Landrum and 
Thomas Charron.

My server IP is 192.168.0.3 (thanks to Eliot for pointing out my typo) and 
my client IP is 192.168.0.55.

I have made changes to jserver.xml to include both the hostname and IP of 
the RedHat machine and attempted to connect from WinJab by use of hostname 
instead of IP address.

The strange thing is that whenever I attempt to connect using WinJab with 
the hostname of the Jabber server (redsnapper - I made sure I can ping it 
from my WinJab machine), i obtain the following results:

WinJab:
         Attempting to Connect to redsnapper...
         Disconnected from Server!

jserver.xml:
         Wed Aug  9 17:01:40 2000  warn/etherx error 'Interrupted system 
call' reading from socket '192.168.0.55'

If I attempt to connect from WinJab using IP address of server 
(192.168.0.3), there are no message is generated in jserver.xml but WinJab 
still complains with:

WinJab:
         Attempting to Connect to redsnapper...
         Disconnected from Server!

I have no problem connecting to external servers (eg. jabber.org).

Here is a snippet from my jserver.xml which may be of use:

   <names>
     <default>redsnapper</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>

   <listen>
     <jabber>5222</jabber>
     <ssl>5223</ssl>
     <irc>6667</irc>
     <http>5280</http>
     <telnet>5228</telnet>

     <!-- Specific IPs can also be used:
     <jabber ip='192.168.0.3'>5222</jabber>
     <irc ip='12.34.56.79'>6667</irc>
     -->

   </listen>

At 12:00 PM 8/8/2000 -0500, you wrote:

>Message: 5
>Date: Tue, 08 Aug 2000 17:00:39 +0800
>To: jdev at jabber.org
>From: Patrick Quek <patquek at magix.com.sg>
>Subject: [JDEV] Help with setting up Jabber server on Red Hat
>Reply-To: jdev at jabber.org
>
>Hi all,
>
>Apologies for the mass mail but I am quite stuck with a problem getting
>Jabber to work and I've virtually exhausted all sources of help I can find.
>Hope I may have a little of your time to point out what could be the
>problem here:
>
>Basically I've set up Jabber on RedHat6.2 for all of the following components:
>
>libxode
>libjabber
>libetherx
>jabber-transport
>
>by running ./configure, make, make install and then ldconfig for each of
>the above.  I can start jserver by running "/usr/local/bin/jserver &" with
>no problems.   I note that in /usr/local/var/log/jserver.error there is
>message:
>
>Tue Aug  8 12:40:30 2000  warn/jserver Initializing Services
>
>Jabber is running on 192.168.0.1 and my WinJab is running from 192.168.0.55
>-- both machines are able to ping each other and port 5222 is open on
>192.168.0.3.
>
>I am unable to get WinJab to connect to 192.168.0.3, it gives me the
>following message:
>
>Attempting to Connect to 192.168.0.3...
>Disconnected from Server!
>COMM ERROR: Could not establish Stream. Session Closed. (0)
>Pausing 5 secs. before reconnect Attempt
>
>I am able to use WinJab to connect to jabber.com with no problems.  It
>appears then there is some problem on my jserver.  Do I need to start
>etherxd manually?  If i do, I have been unable to locate this file anywhere...
>
>Any help would be greatly appreciated.
>
>Thanks!
>
>cheers,
>Patrick





More information about the JDev mailing list