-
Hi,
Is there any way to discover the location of the pfile of a running oracle instance.
The pfile is not at its default location. i.e in $ORA_HOME/ds/init.ora.
In such case if I have access to sqlplus can i find its location ?
Thanks
- Bharat
-
please let me know the oracle version.
Saurabh Garg
OCP 9i
-
Hi,
If you are on UNIX, Login as Oralce user and the do the following
$find ./ -name *init*.ora -print.
Cheers
-
when connected to the instance type 'show parameter ifile' (for 8.1.7 at least but i'd assume that its common across versions.
chris
-
Its returning blank :-(
SQL> show parameter ifile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
ifile file
-
Hi ,
Look in the registry Oracle Home ............
Hope it helps.
-
I don't think you can know the location of init.ora from sqlplus.
The ifile is not the init.ora file, it is the additional parameter and should be referenced in init.ora file.
Use find on unix.
Sanjay
-
It's a directory not a file!!!!
It's not a file but a directory placed in(atleast on NT)
%oracle_home%\orant\sysman\ifiles
And in this folder you have orale creating pfiles for existing dbs on your server with a DEF_ prefix.
Cheers!!!!
Tarry Singh
I'm a JOLE(JavaOracleLinuxEnthusiast)
--- Everything was meant to be---
-
I am running oracle on Solaris.
Can not use 'find' as pfile can be of any name and can be present in any directory in the system.
I was hoping to find the location and name of pfile from the running instance, may be from sqlplus or any other utility.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|