Babette,

I'm not sure if I have read this anywhere but I think that the registry
entry (as created by oradim) might be used when the service is started.
However, when using startup the Oracle executable looks in
%oracle_home%\database for the file initMINE.ora.

What I do is create a file called in the database directory that has just 1
line - an ifile pointing to the pfile in the pfile directory.

This is what the Database create wizard does in terms of the inti file.

So for example I have something like:

C:\oracle\product\817\database>type initbdb2.ora
IFILE='c:\oracle\admin\BDB2\pfile\pfileBDB2.ora'
C:\oracle\product\817\database>dir c:\oracle\admin\bdb2\pfile
 Directory of c:\oracle\admin\bdb2\pfile

19/07/2001  13:49       <DIR>          .
19/07/2001  13:49       <DIR>          ..
20/07/2001  14:51                4,733 pfileBDB2.ora


Of course, just like Unix, when using the startup command you can specify
the full path and name of the init file if you wish.

Regards,
Bruce

-----Original Message-----
Sent: Friday, 17 August 2001 1:51 

As everyone in this thread seems so knowledgeable 
about NT, I would like to digress and ask a related question.
 
When I use oradim to create a service,
oradim -new -sid MINE -pfile c:\mine\initMINE.ora .....
 
The service is created, the instance is started!!
BUT, when I use svrmgrl to shutdown the instance
and then try to start it up, it complains because the
init file does not exist in %ORACLE_HOME%\pfile
 
BUT the oradim DID create the entry:
ORA_MINE_PFILE = c:\mine\initMINE.ora
 
So what is this registry entry used for?
And why do I need to place the init.or under
%ORACLE_HOME%\pfile
 
Thanks
Babette
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reardon, Bruce (CALBBAY)
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to