Re: Database startup verification for Windows Services?

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 13 Oct 2005 16:41:03 -0700
Message-ID: <1129246849.402580_at_yasure>


Joop wrote:
> Is there a possibility to have a Windows service startup depend on the
> successful startup of and Oracle database? Using the dependency
> mechanism of Windows services appears like the way to go, but making a
> service depend on the listener service and the database instance
> service does not do the trick, since apparently the listener service
> signals that is 'started' long before it is actually up and running.
>
> We can of course create our own service that does a busy poll on the
> database, but are hoping that this wheel is already invented...

Change the services to MANUAL and start them with a batch file.

For example:
c:\dos> net start oracleserviceorcl

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Fri Oct 14 2005 - 01:41:03 CEST

Original text of this message