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: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Fri, 17 Aug 2001 05:40:35 -0700
Message-ID: <F001.0036EB1F.20010817052227@fatcity.com>

Babette,

Bruce has the answer right-on regarding how NT starts Oracle services.

Another way to accomplish this is to use ORADIM to point to the %oracle_home%\database\
directory. This is what I do so that I have one place to look for the init.ora file. I personally do not like the -ifile option - drives me crazy having to chase the files all over the place.

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Friday, August 17, 2001 8:45 AM
To: Multiple recipients of list ORACLE-L

Thanks Bruce.

That ifile part was the part I was missing. (looks like the the closest I can get to a unix link) I like the ifile implementation better than having two copies of the init.ora.

Babette

-----Original Message-----
Bruce (CALBBAY)
Sent: Friday, August 17, 2001 12:21 AM
To: Multiple recipients of list ORACLE-L

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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Babette Turner-Underwood
  INET: babette+oraclelist_at_pythian.com

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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
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 Fri Aug 17 2001 - 07:40:35 CDT

Original text of this message

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