[omniORB] autostarting an omniORB server app

Richard Hardgrave hardgrav@ttd.teradyne.com
Wed, 12 Sep 2001 16:27:15 -0500 (CDT)


I'm not sure exactly what demands your servant is making on the file
system, but, if it is using the root partition, most UNIX-like systems
configure the root partition to run at 90+% full.  Swap space is also
usually on the root partition.  I'm not a sys-admin type. You'll have
to try to find one of those.  They usually hang out in deep, dark, cubicles,
and have 6 or 7 pagers hanging from their belts.	8-)

Richard

> 
> Hello,
> 
> I want to make my CORBA server application start automatically when booting up 
> on Linux without needing to log in.  (RH 7.0, gcc-2.96-85, omniORB 3.0.3),   
> 
> I've tried 2 ways:
> (1) by adding an entry in the /etc/inittab file in the correct format, 
> OR 
> (2) by running the executable from the /etc/rc.d/rc.local script, which is the 
> last script to be executed at boot time.
> 
> Both methods make omniNames start up without error, then I pause for 5 seconds 
> to make sure omniNames has started up, then I try to start up my CORBA server 
> app (or any CORBA server app, for that matter, even eg3_imp) without success.
> 
> The call to orb->resolve_initial_references("NameService") throws a 
> CORBA::SystemException, and the handy little function exceptionName() submitted 
> yesterday by Huw Rogers <count0@building2.co.jp> returns "NO_RESOURCES".
> 
> Any ideas, please?
> 
> Thanks in advance.
> 
> Lourens Janse van Rensburg
> Systems Engineer
> Vizier Systems
> Somerset West
> South Africa
> 
> 
> ---------------------------------------------
> This message was sent using M-Web Airmail.
> http://airmail.mweb.co.za/
> 
> 
>