DBAsupport.com Forums - Powered by vBulletin
Results 1 to 9 of 9

Thread: Location of pfile.

  1. #1
    Join Date
    Jun 2002
    Posts
    7
    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

  2. #2
    Join Date
    Sep 2001
    Posts
    120
    please let me know the oracle version.
    Saurabh Garg
    OCP 9i

  3. #3
    Join Date
    Jun 2002
    Posts
    64
    Hi,

    If you are on UNIX, Login as Oralce user and the do the following

    $find ./ -name *init*.ora -print.



    Cheers

  4. #4
    Join Date
    Mar 2002
    Location
    Manchester, England
    Posts
    202
    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

  5. #5
    Join Date
    Jun 2002
    Posts
    7
    Its returning blank :-(

    SQL> show parameter ifile

    NAME TYPE VALUE
    ------------------------------------ ----------- ------------------------------
    ifile file

  6. #6
    Join Date
    Feb 2002
    Location
    Dallas , Texas
    Posts
    158
    Hi ,

    Look in the registry Oracle Home ............

    Hope it helps.

  7. #7
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    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

  8. #8
    Join Date
    Jan 2002
    Location
    Netherlands
    Posts
    1,587

    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)
    TarryBlogging
    --- Everything was meant to be---

  9. #9
    Join Date
    Jun 2002
    Posts
    7
    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
  •  


Click Here to Expand Forum to Full Width