[omniORB] incorrect IP address after update to SuSE 11.1
Tim Theisen
ttheisen at tomotherapy.com
Wed Apr 15 20:11:03 BST 2009
I don't know if this applies to omniORB. But, I had a similar problem
with JacORB.
Check your /etc/hosts file for entries like:
127.0.0.2 computername
127.0.0.2 <anything except localhost>
These entries will cause JacORB to create IORs with the loopback
address.
...Tim
--
Tim Theisen Lead Research Software Engineer
Phone: +1 608 824 2848 TomoTherapy Incorporated
Fax: +1 608 824 2996 1240 Deming Way
Web: http://www.tomotherapy.com Madison, WI 53717-1954
-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Nikolas
Kauer
Sent: Wednesday, April 15, 2009 17:20
To: omniorb-list at omniorb-support.com
Cc: Stefan Karg
Subject: [omniORB] incorrect IP address after update to SuSE 11.1
After the sysadmin updated machines to SuSE 11.1, the
server/client produces an IOR string with incorrect IP
address but correct port number:
$ catior
IOR:010000001300000049444c3a4f6d6e69576f726b65723a312e300000010000000000
000060000000010102000a0000003132372e302e302e32008eb70e000000fede1de64900
006d4c000000000000000200000000000000080000000100000000545441010000001c00
000001000000010001000100000001000105090101000100000009010100
Type ID: "IDL:OmniWorker:1.0"
Profiles:
1. IIOP 1.2 127.0.0.2 46990 "....I..mL....."
TAG_ORB_TYPE omniORB
TAG_CODE_SETS char native code set: ISO-8859-1
char conversion code set: UTF-8
wchar native code set: UTF-16
wchar conversion code set: UTF-16
On SuSE 10.x systems this problem does not occur. We have
been using omniORB-4.0.7, so far without any problems (Thanks,
Duncan!). We checked that the following holds also on the
SuSE 11.1 systems: The correct IP address is returned by
"nslookup <hostname>", "hostname -i" and "/sbin/ifconfig -a".
/etc/hosts does not contain 127.0.0.2.
Section 8.6 of the omni40 docs states "If the host is empty, the
ORB published the IP address of the first non-loopback network
interface it can find (or the loopback if that is the only
interface), ..." How does this actually work?
If you have an idea what might be going on here, please
let us know. Any hints will be greatly appreciated.
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list