Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / CORBA / August 2004

Tip: Looking for answers? Try searching our database.

ORDB doesn't start

Thread view: 
Jean-Christophe PINOTEAU - 18 Aug 2004 03:54 GMT
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!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.