echo examples refuse to run !
Sai-Lai Lo
S.Lo@orl.co.uk
Tue, 22 Jul 1997 17:46:53 +0100
The first thing I suggest is to look into your tcp/ip setup.
A number of users have previously reported similar problems with standalone
linux machines. Here is what I suggest them do:
1. Setup the machine to have a valid host name and IP address, for
instance, an IP address from the private address space allocated by IANA
(RFC 1918).
2. Setup a (loopback) route to your machine. For instance, you can use the
"dummy" interface on Linux to do that. You may have to recompile your
kernel to include the interface. Remember, just having the 127.0.0.0
loopback is not enough.
I suspect your problem is similar.
1. Does your machine have a valid IP and host name?
2. If you are not connected to the network via PPP, can you ping your
machine, telnet to your machine? If not, it is an indication that the
loopback is not working.
3. Is your ISP doing dynamic IP address allocation? Each time you connect,
you are getting a different IP address?
4. You only need to run omninames with the -start <port> *once*. When you
rerun omninames you don't use the -start option. If you do so, the IOR
should stay the same.
If you check the above and still cannot get it working, do get back to us
and send us the output of the programes.
Regards,
Sai-Lai Lo
>>>>> Gerald Gutierrez writes:
> Here's a summary of what I have done and what my results were :
> - Installed package
> - Ran omninames -start 12345, got the IOR and put it into omniorb.cfg
> prefixed by the NAMESERVICE keyword
> - Set environment variable OMNIORB_CONFIG to point to omniorb.cfg
> - Made logdir and set environment variable OMNINAMES_LOGDIR to point to it
> - Put IOR into the registry ( I believe in
> HKEY_LOCAL_MACHINE/SOFTWARE/ORL/OmniORB/2.0/NAMESERVICE )
> - Started omninames ( I stopped the first one I ran and started again by
> just typing omninames )
> I can get echo/eg1 to run just fine ( I suppose this means the runtime
> libraries work partially, if not entirely ). I can get echo/eg2_impl to
> run, and display the IOR. I CANNOT get eg2_clt to work properly -- it
> reports a COMM_FAILURE exception. I CANNOT get eg3_impl to run -- it dies
> with an abnormal program termination. Needless to say, eg3_clt doesn't run
> either. It dies with an unknown exception caught.
> Another symptom is that the first time I run omninames, it gives me one
> IOR. When I quit, put that IOR into the cfg file and/or the registry and
> rerun omninames, it comes out with ANOTHER IOR. Is this normal ?
> I wondered if it was the TCP stack I was using, and ping'ed myself, which
> worked. I hooked up to the internet through PPP and tried again, and it
> worked. I cannot figure it out.