I don't understand why something works on one machine, and not on another.
I have a script that launches micod with -ORBIIOPAddr inet:mymachine:1221, then the script inserts a few entries into the imr like this...
imr create NameService poa "/opt/mico/bin/nsd" IDL.omg.org/CosNaming/NamingContext:1.0#NameService
imr create myServer poa "/home/myHome/bin/myServer" IDL:MyServer:1.0#MyServer
finally, the script calls a custom executable to load the NameService with some different server.
In the .micorc file I have the following entries
-ORBImplRepoAddr inet:mymachine:1221
-ORBNamingAddr inet:mymachine:1221
-ORBBindAddr inet:mymachine:1221
(yes, we are using both the imr and the naming services - I don't know why, its legacy code)
All this works fine on RedHat 9.1.
This same setup, on RedHat enterprise fails. The micod seems to launch correctly, but if you try "imr list" then the micod hangs. If, however, I comment out the ORBImplRepoAddr and ORBNamingAddr then I can get this to work if I try "imr -ORBImplRepoAddr inet:mymachine:1221 list".
So in playing around, I was able to determine that if you launch micod with one user (without the ORBImplRepoAddr and ORBNamingAddr in the micorc), and then run imr list from another user (with the ORBImplRepoAddr in the micorc) then it works fine.
My question is, why does this work on the old machine and not on the new? Unfortunately the script that does the setup/start for mico should be used on both machines.
I started guessing that maybe there's a DNS issue that my machine is trying to lookup itself (it really has a long domain name on it - but the script likes to
use the shortened version). So maybe the micod is trying to find the imr on the machine "mymachine.mylongdomainname.com" - when that's really itself.
Thanks to anyone who even reads this and feels my pain - extra thanks to all that answer - I've been going at this for months and I can't get anywhere (yes, that is moaning and crying - otherwise I wouldn't post).
Mark
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
_______________________________________________ Mico-devel mailing list [email protected] http://www.mico.org/mailman/listinfo/mico-devel
