[JDEV] jserver and etherxd

Koichi Moriyama morimori at cc.gatech.edu
Mon Aug 28 16:19:20 CDT 2000


Dear  all the guys who have been trying to help me to setup a Jabber
server on a private (and isolated) network.

I've finally succeeded to boot Jabber server on the isolated machine.

I've just installed bind to resolve all the requirements for jserver;
with this, it works fine. ...  after that, I found that my /etc/hosts
has a typo.  I'm sorry for it, but all of your comments have been
encouraging me to do solve the problem.  Now the demo should be ready.

Let me tell you a little about what I've been doing.  I'm working for
a reseach project and for which, image attachment for Jabber has been
implemented.  I wrote two clients for J2SE and J2ME Palm/KVM that
support the image attachment.  Jserver is never changed; however, I
wrote also a proxy to adjust an image for some Palm's requiments.

That is just a demo for the reseach project, so that you cannot expect
to get it right now.  However, the future success of the demo on this
coming Wednesday may give me a chance to work on that more.

Anyway, thank you very much for your help.

--
Koichi Moriyama (morimori at cc.gatech.edu)


From: Koichi Moriyama <morimori at cc.gatech.edu>
Subject: Re: [JDEV] jserver and etherxd
Date: Sun, 27 Aug 2000 16:38:47 -0400 (EDT)

> Thomas and others who may be familiar with networking configuration, 
> 
> Fist of all, I'd like to apologize that the topic I'm asking are
> becoming non-Jabber specific issue rather than interests for the
> Jabber developers.  For this, let me report what I've been doing
> on/with Jabber AFTER the demo on this coming Wednesday.
> 
> As Thomas guessed, some configurations of my Linux box seems to be
> wrong.  At least I found that telnet to local loopback were denied,
> and solved -- it had had wrong /etc/hosts.allow and /etc/hosts.deny.
> 
> Now, telnet with "localhost" or short hostname works like 
> 
>     % telnet localhost
>     Trying 127.0.0.1...
>     Connected to localhost.
>     Escape character is '^]'.
>     login:
> 
>     % telnet morimori4
>     rying 199.77.128.133...
>     Connected to morimori4.cc.gt.atl.ga.us.
>     Escape character is '^]'.
>     login:
> 
> but telnet with FQDN (long hostname) doesn't work...
> 
>     % telnet morimori4.cc.gt.atl.ga.us
>     morimori4.cc.gt.atl.ga.us: Unknown host
> 
> The other strange thing I found is 
> 
>     % hostname
>     morimori4.cc.gt.atl.ga.us
>     % hostname -s			# -s gives short host name
>     hostname: Unknown host
>     % hostname -f			# -f gives FQDN (long host name)
>     hostname: Unknown host
> 
> These results should be wrong and need to be solved.  Does anyone have
> any ideas ?  Please allow me to show some configuration files after my
> short signature...
> 
> Although I thought just "morimori4" (without domain name) can be used
> as a Jabber server name which is given to jserver.xml like
> 
>     <default>morimori4</default>
> 
> instead of giving morimori4.cc.gt.atl.ga.us, the results was the same.
> (didn't work.)
> 
> Regards,
> 
> --
> Koichi Moriyama (morimori at cc.gatech.edu)
> 
> Followings are the files which seem to be required to maintain to set
> up the isolated networkd...  I removed /etc/resolv.conf.
> 
> ---- /etc/hosts ----
> # TurboLinux /etc/hosts table
> # This file contains hostname/IP lookup information.
> # This file is (usually) queried before DNS or NIS.
> # Current /etc/hosts generated by turbonetcfg.
> # Generated on: Sun Aug 27 13:47:12 2000
> 
> 127.0.0.1               localhost
> 199.77.128.130          moriomri1.cc.gt.atl.ga.us               morimori1
> 199.77.128.131          moriomri2.cc.gt.atl.ga.us               morimori2
> 199.77.128.131          morimori.cc.gt.atl.ga.us                morimori
> 199.77.128.132          moriomri3.cc.gt.atl.ga.us               morimori3
> 199.77.128.133          moriomri4.cc.gt.atl.ga.us               morimori4
> 
> # End of /etc/hosts
> ---- /etc/hosts ----
> 
> ---- /etc/host.conf ----
> order hosts
> multi on
> ---- /etc/host.conf ----
> 
> ---- a part of /etc/nsswitch.conf - I'm not sure if it is necessary ----
> #hosts:      files nisplus nis dns
> hosts:      files
> ---- a part of /etc/nsswitch.conf --------------------------------------
> 
> ---- /etc/hosts.allow (a part other than comments) ----
> ALL : ALL
> ---- /etc/hosts.allow (a part other than comments) ----
> 
> ---- /etc/hosts.deny (a part other than header comments) ----
> # ALL : ALL
> ---- /etc/hosts.deny (a part other than header comments) ----
> 
> ---- /etc/HOSTNAME ----
> morimori4.cc.gt.atl.ga.us
> ---- /etc/HOSTNAME ----
> 
> ---- /etc/sysconfig/network ----
> NETWORKING=yes
> PROFILENAME="morimori4"
> HOSTNAME=morimori4.cc.gt.atl.ga.us
> DOMAINNAME=cc.gt.atl.ga.us
> FORWARD_IPV4=yes
> IPX=no
> TIMESERVERATBOOT=no
> TIMESERVERTYPE=ntp
> TIMESERVERHOST=(none)
> TIMESERVERRESYNC=(none)
> ---- /etc/sysconfig/network ----
> 
> Again, any helps are very appreciated.  Thanks.
> 
> --
> Koichi Moriyama (morimori at cc.gatech.edu)
> 
> 
> From: Thomas Muldowney <temas at box5.net>
> Subject: Re: [JDEV] jserver and etherxd
> Date: Sun, 27 Aug 2000 10:20:10 -0600
> 
> > Ok, the first thing you'll want to do is make sure that this name can resolv
> > (if it's from /etc/hosts that's fine).
> > 
> >      <default>morimori4.cc.gt.atl.ga.us</default>
> > 
> > Next, it appears from your logs that it can't resolv 127.0.0.1 (which is really
> > odd).  I would just make sure that is all good.
> > 
> > I'm not really sure why it's doing all that, because it appears to start up
> > mostly fine, and then fail while trying to connect to 127.0.0.1.
> > 
> > --temas
> > 
> > On Sun, Aug 27, 2000 at 03:09:49AM -0400, Koichi Moriyama wrote:
> > > Thank you very much for your supporting me - all of your comments and
> > > efforts are really appreciated.
> > > 
> > > Although I tried to put the IP address to the <jabber> element as an
> > > attribute (like the sample), the problem cannot be solved.
> > > 
> > > I'm not sure what stands for the "NIC"; but, actually since the demo
> > > environment has only a Linux machine and some devices, there is no DNS
> > > server - just /etc/hosts (or ip address) are being used.  I made sure
> > > that telnet and some other IP base application and daemons run on the
> > > environment.  (Again, a jserver on my Linux box works when the box
> > > connects to the Internet.)
> > > 
> > > Although I tried to see what happens in pth_connect_ev() of pth_high.c,
> > > I've not figured out what does happen there... (What I got is pth_sc()
> > > gives -1 (error) with an errno other than EINTR, and it pth_connect_ev()
> > > gives the errno from the 414 line of pth_high.c.)
> > > 
> > > Let me attach the jserver.xml and log.txt.
> > > 
> > > --
> > > Koichi Moriyama (morimori at cc.gatech.edu)
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 




More information about the JDev mailing list