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

Thread: doubt about parameter files?

  1. #1
    Join Date
    Mar 2010
    Posts
    8

    doubt about parameter files?

    hi,i created database by using dbca tool,ofter that i created p-file from init.ora file.now my system having both p-file and sp-file,but when i startup the database system is starting with p-file.why its happening like this? if the sp-file available oracle should startup the database with sp-file ..but in this why happening like this? and ofter that i deleted p-file and try to startup the database with sp-file,but oracle is showing errors, even sp-file is available.
    like ORA-017108-failure in processing system parameters
    and LRM-00109-could not open parameter file.
    why happening like this ..sp-file is enough to start the datbase?
    please send me the answers..iam learning dba ..
    thanks.

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    leasson #1 - never ever delete pfile.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    ofter that i created p-file from init.ora file.now
    I believe it's a typo. isn't it?

    three possible reasons ... 1. you might have deleted the spfile also 2. spfile may not be in the correct location where it is suppose to be 3. you might have rename the spfile

    what is the OS?

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  4. #4
    Join Date
    Mar 2010
    Posts
    11

    Unhappy Unable to create Pfile with someother location

    While executing the below statement :

    SQL> create pfile='/mnt/oracle/initARM.ora' from spfile;

    I get the following error..

    ORA-07391: fopen error, unable to open text file.

    Kindly let me know is the syntax correct and what has to be dont orectify the error?

    This is not in real time, i heard that pfile can also be created with someother location, so i tried doing so..?

    Kindly suggest..

    Thanks in Advance...!!!

  5. #5
    Join Date
    Mar 2010
    Posts
    35

    Wink

    C:\Users\4i-Admin>sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 17 11:44:12 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    SQL> conn sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> create spfile from pfile;
    File created.

    SQL> create pfile from spfile;
    File created.

    OR

    SQL> create pfile='C:\oracle\product\10.2.0\db_1\admin\sos\pfile\initsos.ora'
    2 from
    3 spfile='C:\oracle\product\10.2.0\db_1\database\spfilesos.ora';

    File created.

    i hope this will work.
    Last edited by davey23uk; 03-17-2010 at 03:50 AM.

  6. #6
    Join Date
    Mar 2006
    Location
    Charlotte, NC
    Posts
    865
    SQL> create pfile='/mnt/oracle/initARM.ora' from spfile;

    I get the following error..

    ORA-07391: fopen error, unable to open text file.
    make sure /mnt/oracle exists.

    Thanks,
    Vijay Tummala

    Try hard to get what you like OR you will be forced to like what you get.

  7. #7
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    if /mnt/oracle exists then check if oracle account has privileges to write on it.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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