Just a pointer:

for /etc/hosts (or the equiv in NT (windir)\system32\drivers\etc\hosts)
(assume your I/F IP is 10.12.14.16)

---------------------------
127.0.0.1       localhost
10.12.14.16     thehost.mydomain.org       mypc
---------------------------

the order is somewhat important!!!!
(ip address) (FQDN) (and short or aliases here)

If you don't have a true / valid DNS for (an assumed) you fixed IP address
then and nslookup will fail.

i.e.: (I know it's a bad use of letters with M$ and all. hee hee ;) )

% nslookup 
...
> set server (ip.address.of.server <- Not your own machine)
> set type=any
> 16.14.12.10.in-addr.arpa.
  (some error message saying doesn't exist)
   *** DNS.SERVER.whereever.org can't find 16.14.12.10.in-addr.arpa.:
Non-existent host/domain
> exit
%

You will also need to update your /etc/HOSTNAME to match your full name (not
just hostname)

----/etc/HOSTNAME-----------
thehost.mydomain.org
----end of /etc/HOSTNAME----

You also need to update the IP portion of your OS with the correct host name
% /bin/hostname thehost

You may also need to stop and restart certain services, for example
sendmail: (quick and dirty)
% ps aux | grep sendmail
root        73  0.0   5.2 ..... sendmail: accepting connections
root         .................. grep sendmail
% kill -9 73
% /usr/sbin/sendmail -bd -q15m


If you don't have a FQDN, make one up (I jokingly for example: nodomain.org)
and have a host of myhost.nodomain.org.


As for the Java part I cannot help you there

-----Original Message-----
From: Douglas T. Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 18, 1998 10:56 AM
To: Java-Linux Mail List
Subject: RMI binding bug


Can someone help me out, here?  I'm sure that some of you have solved this
problem long ago. . .  In fact, there is one thread in the Java-Linux
archives
that deals
with this.  I tried putting my machine as the first line in /etc/hosts as
suggested:

xxx.xxx.x.2 MyHostName MyHostName.mydomain.com
127.0.0.1 localhost localhost.localdomain

but that didn't work.

<rest snipped>

Reply via email to