Hi there!
I have hard time running ORDB on my Mandrake 10. I start it like this :
orbd -ORBInitialPort 1050 -ORBInitialHost localhost -J-showversion
Here is the result :
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Failed to start ORBD because of an Internal Exception.
Possible Causes:
1. Specified ORBInitialPort or ORBActivationPort is already in use
2. No Write Permission to write orb.db
I tried : chmod 777 orb.db
All my ports seems to be free : netstat -taupe
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat Utilisatr Inode PID/Program name
tcp 0 0 localhost:32768 *:* LISTEN root 5059 1654/xinetd
tcp 0 0 *:sunrpc *:* LISTEN root 4316 1032/portmap
tcp 0 0 *:x11 *:* LISTEN root 7768 2857/X
tcp 0 0 *:881 *:* LISTEN root 4485 1123/rpc.statd
tcp 0 0 *:ipp *:* LISTEN root 5175 1721/cupsd
udp 0 0 *:bootpc *:* root 4227 978/dhclient
udp 0 0 *:875 *:* root 4456 1123/rpc.statd
udp 0 0 *:878 *:* root 4482 1123/rpc.statd
udp 0 0 *:sunrpc *:* root 4315 1032/portmap
udp 0 0 *:ipp *:* root 5176 1721/cupsd
I have checked /etc/hosts :
127.0.0.1 localhost
What else can I do!!! has anyone an idea?
Rob Ratcliff - 20 Aug 2004 08:58 GMT
Have you tried running this as root or using a port like 9050?
Even though typical Unix system only reserve the ports up to 1023 for
root, perhaps Mandrake is different than the norm?
(I got the same error if I tried to access ports below 1024 without
being root.)
>Hi there!
>
[quoted text clipped - 12 lines]
>1. Specified ORBInitialPort or ORBActivationPort is already in use
>2. No Write Permission to write orb.db
Jean-Christophe PINOTEAU - 20 Aug 2004 18:32 GMT
I have try different ports above and below 1024 with same result but
your right about mandrake there is no port restriction for non-root
users like with solaris.
Jean-Christophe PINOTEAU - 28 Aug 2004 14:34 GMT
I have finally found the solution!
My problem is specific to Linux platform having more than one interface
card. There is an undocumented orbd option that solves the problem. To
the common orbd parameters I had to add : "-ORBServerHost localhost".
And goal!