-
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.
-
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.
-
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.
-
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...!!!
-
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.
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|