Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: No TNSListner service after intall 8.1.7 on Win 2k

RE: No TNSListner service after intall 8.1.7 on Win 2k

From: Reardon, Bruce (CALBBAY) <Bruce.Reardon_at_comalco.riotinto.com.au>
Date: Thu, 16 Aug 2001 20:04:55 -0700
Message-ID: <F001.0036E59B.20010816202033@fatcity.com>

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: Bruce.Reardon_at_comalco.riotinto.com.au

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: ListGuru_at_fatcity.com (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).
Received on Thu Aug 16 2001 - 22:04:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US