VI spfile or edit spfile
Hi guys...I made some changes to the parameters of processes and sessions.
I used:
change the process adjustment system = n scope = spfile;
change the system of sessions = n scope = spfile;
order of the db and when I started the PB I got this error because of the changes I made.
Unfortunately I don't have craete a pfile of the spfile.
Is it possible that I can change the spfile and undo the changes, and start my db or even create the pfile this spfile file.
Thank you
10 gr 2, you create pfile from spfile, even if the db is not open:
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> create pfile from spfile;
File created.
SQL>
Nicolas.
Tags: Database
Similar Questions
-
SQL * more: Production of release 11.2.0.1.0 Mar 5 13:28:10 Aug 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connect to an instance is idle.
SQL > bootable media.
ORA-00439: feature not enabled: Real Application Clusters
SQL >
If the database does not start with the current settings, you will need to manually correct the server parameter file (spfile). This is untested so at your own risk:
SQL > conn / as sysdba
SQL > shutdown immediate
SQL > create spfile from pfile;
This will create the file pfile C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora
Make a copy of the pfile as backup
Edit the pfile origin, remove the line with cluster_database inside and save the file
SQL > create spfile from pfile;
SQL > startup
-
ORA-32000: write to requested SPFILE but SPFILE is not editable
Hello
I don't know which category this grave issue. We run 11G with ASM. In Enterprise Manager, I want to change the flash recovery area size. When I change the size, the following error message is returned: ORA-32000: write to requested SPFILE but SPFILE is not editable. Any help would be greatly appreciated!
SharonPlease see note MOS;
* Not able to edit the spfile RDBMS that is there in the DSO [1498307.1 ID] ORA-32000 *.
-
Oh no - I have edit spfile! Instance is not able to start now
Hello
I opened my spfileorcl and tried to add an another controlfile - then I changed it as it was before, but now the Instance is unbootable. I'm not able to write again. What can I do now?
Thank you
MichaelDo you have a backup/copy of it? otherwise, I suggest starting with the pfile file PB... an example
Startup pfile = "
"; If it works then run this example command o create a new spfile
create spfile ='d:\oraadmin\db1\scripts\spfiledb1.ora "of pfil'd:\oraadmin\db1\scripts\initdb1.ora."
-
Hi guys,.
I would be grateful if you could help me with the following problem I am unable to locate my spfile said database.
SQL > show the spfile parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
+DATA03/cpmstg/spfilecpmstg.ora string SPFile
When I go in ASM to the location of the said this is what I see:
ASMCMD > ls
spfilecpmstg
ASMCMD > ls - lrt
WARNING: 'r' is deprecated for 'method '.
Please use 'inverse '.
Name of type Redund time scratched Sys
N spfilecpmstg = > +DATA03/CPMSTG/PARAMETERFILE/spfile.510.859115335
Now, when I go to the default location i.e./u02/app/oracle/product/11.2.0.4/db/dbs I see the init file:
[oracle@ora-stg-1a dbs] $ ls - ltr initcpmstg1.ora
-rw - r-. 1 oracle oinstall 41 24 September 11:25 initcpmstg1.ora
The init file contains the following entry:
[oracle@ora-stg-1a dbs] $ initcpmstg1.ora more
SPFile='+DATA03/CPMSTG/spfilecpmstg.ora'
Now my question is:
- Why I get ORA-01565: could not open the Spfile + DATA03/cpmstg/spfilecpmstg.ora. ?
- How can I fix?
Note: I am running Oracle Database Enterprise Edition 11.2.0.4.0 and run Linux 6 (64-bit).
Greetings
Nadège
So if you hurt the spile file, do a "create spfile from pfile".
-
Hello
I removed the entry from/etc/oratab but I forgot to remove the restarting of Oracle database (database deleted before) but DBCA failed with error DB_UNIQUE_NAME with 8 existing characters at the end.
I guess I forgot to remove the CONFIGURATION of restart Oracle is why he identified the DB_UNIQUE_NAME even...
but now:
AS SYSDBA > start
ORA-01078: failure in the treatment of system settings
ORA-01565: error in the identification of file "+ DATA01/pos/spfilepos.ora".
ORA-17503: ksfdopn:2 could not open the file +DATA01/pos/spfilepos.ora
ORA-15056: error message
ORA-17503: ksfdopn:2 could not open the file +DATA01/pos/spfilepos.ora
ORA-15173: entry 'spfilepos.ora' does not exist in the directory "pos".
How can I create create battery to start and eventually STARTUP MOUNT RESTRICT and DROP DATABASE and recreate.
Thank you very much.
Best regards
The fixed.
Thank you.
Not created lots with db_name and control_files parameters (looked for the location of the asmcmd ASM site control files) has started no editing with this file pfile
created spfile him... started again with spfile in Mount restrict and drop database...
Best regards
-
Why I can't write spfile?
Hi all
11.2.0.1
Our database of PROD works 24 x 7 and if you ask for downtime only recently.
For example, I need to change our database for logging operating system. If your update of init.ora or spfile must be precise and quick.
Can you explian why I can not update online my spfile, so that I can bounce back quickly instead of edit a pfile?
What I did:
C:\Users > sqlplus / as sysdba
SQL * more: Production release 11.2.0.1.0 Thu Nov 28 18:40:41 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connect to an instance is idle.
SQL > startup
ORA-01821: date format not recognized
SQL > pfile =' start d:\initorcl.ora ';
ORACLE instance started.
Total System Global Area 535662592 bytes
Bytes of size 1375792 fixed
318767568 variable size bytes
209715200 of database buffers bytes
Redo buffers 5804032 bytes
Mounted database.
Open database.
SQL > create spfile from pfile = 'd:\initorcl.ora';
Created file.
SQL > alter system set audit_file_dest = 'local0.info';
"ALTER system set audit_file_dest ='local0.info"
*
ERROR on line 1:
ORA-02096: specified initialization parameter is not editable with this
option
SQL > alter system set audit_file_dest = 'local0.info' scope = spfile;
ALTER system set audit_file_dest = 'local0.info' scope = spfile
*
ERROR on line 1:
ORA-32001: write to SPFILE requested but no SPFILE is in use
So I need to bounce the database, so I can write my spfile?
Thank you
Petra k.
If you cannot dynamically update the spfile, all the dynamic parameters can be changed online even if you use a file pfile (range = memory). But of course, the pfile file must be modified accordingly to preserve changes made after the next startup.
The static parameters must rebound by the db in any case.
Nicolas.
-
How to move ASM spfile to a different disk group
HelloBecause of less storage, we plan to move the ASMPARAMETER DATABASE file to the disk of data.2 group and delete the DATA disk group so that we can allocate these free disks to other disk groups.
This isn't a RAC Setup.
But I noticed the file ASMPARAMETER in the DataSet and disc of data2. Could you please some help me in this.
Oracle version is 11.2.0
OS - Aix server.
The Type redundancy ASM disk group: NORMAL redundancy
I searched in Oracle Metalink and found this document -
Kind regards
Stephen
Hello
For example, please check step bey:
sqlplus / as sysasm
SQL * more: Production version 11.2.0.1.0 on
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
SQL > show the spfile parameter
VALUE OF TYPE NAME
------- ------- --------------------------------------------------
+DATA/ASM/asmparameterfile/registry.253.715881237 string SPFile
SQL > create pfile='/tmp/pfile+ASM.ora' of spfile;
Created file.
2. create spfile in a new disk of the pfile intermediary group
SQL > create spfile ='+ PLAY "of pfile='/tmp/pfile+ASM.ora."
Created file.
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
3. restart battery HA to check ASM starts fine with moved spfile
crsctl stop $
CRS-2791: from closing resources managed by Oracle high availability Services on "
". ...
CRS-4133: Oracle high availability Services was arrested.
crsctl start $ has
CRS-4123: Oracle high availability Services started.
Verify that the new spfile is used
$ sqlplus / as sysasm
SQL * more: Production version 11.2.0.1.0 on
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
SQL > show the spfile parameter
VALUE OF TYPE NAME
------- ------- --------------------------------------------------
+PLAY/ASM/asmparameterfile/registry.253.715963539 string SPFile
SQL > select name, status from v$ asm_diskgroup;
NAME STATE
----- -----------
DATA CLIMBS
ROOM RISE
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production
With the option of Automatic Storage Management
The use of the new spfile can also be verified with asmcmd as follows:
$ asmcmd spget
+Play/ASM/asmparameterfile/registry.253.715963539
4. remove the original spfile
$ rm +DATA/asm/asmparameterfile/registry.253.715881237 asmcmd
And this is an example of moving ASM spfile with 'spcopy asmcmd ".
1 copy the spfile with the-u option - Update the profile of negotiators in RAC environment
$ asmcmd spget
+Data/ASM/asmparameterfile/registry.253.722601213
$ asmcmd lsdg
G_files of Type Rebal sector block to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks votin' state name
EXTERN MOUNTED N 512 4096 1048576 14658 9814 0 9814 0 N DATA.
EXTERN MOUNTED N 512 4096 1048576 9772 8507 0 8507 0 'N PLAY.
EXTERN MOUNTED N 512 4096 1048576 9772 9212 0 9212 0 N RECO.
$ asmcmd spcopy u +DATA/asm/asmparameterfile/registry.253.722601213 + PLAY/spfileASM.ora
2. restart battery HA to check ASM starts with copiedspfile
crsctl stop $
CRS-2791: from closing resources managed by Oracle high availability Services on "
". ...
CRS-4133: Oracle high availability Services was arrested.
crsctl start $ has
CRS-4123: Oracle high availability Services started.
$ asmcmd spget
+ Play/spfileASM.ora
3. remove the original spfile
$ ls-l asmcmd + DATA/asm/asmparameterfile
Name of type Redund time scratched Sys
REGISTRY.253.722601213 OF Y ASMPARAMETERFILE UNPROT COARSE 25 JUNE AT 10:00
$ rm +DATA/asm/asmparameterfile/registry.253.722601213 asmcmd
Other information plays please this link: http://blog.csdn.net/tianlesoftware/article/details/6347461
Thank you
-
Will be SPFILE='+DATA/mydb/spfilemydb.ora' be crushed?
Hello
Env: Oracle 10 g 2 + ASM - 5.8 RHEL 64 bit
The database is on ASM, I created using pfile "create pfile = 'pfile_name" spfile ". I modified the pfile file and then started the using the instance "startup pfile ="pfile_name".
Now, if I run "create spfile='+DATA/mydb/spfilemydb.ora' of pfile ="pfile_name"" command, will be replaced on the "existing" spfile (which resides in ASM)?
I want her to be crushed.
Best regards
Post edited by: user130038
user130038 wrote:
Hello
Env: Oracle 10 g 2 + ASM - 5.8 RHEL 64 bit
The database is on ASM, I created using pfile "create pfile = 'pfile_name" spfile ". I modified the pfile file and then started the using the instance "startup pfile ="pfile_name".
Now, if I run "create spfile='+DATA/mydb/spfilemydb.ora' of pfile ="pfile_name"" command, will be replaced on the "existing" spfile (which resides in ASM)?
I want her to be crushed.
Best regards
Post edited by: user130038
Yes
-
SPFile is dynamic. But it's Pfile. Right?
Version: 11.2.0.3
Citing Metalink Doc "Pfile vs. SPfile [ID 249664.1].
"The SPFILE allows the dynamic change without requiring you to bring down the instance"
The statement above does not give a false impression when you use pfile, you have to bounce the DB for dynamich parameter?
The following commands are run in a DB using pfile. As I've mentioned below, I changed the following dynamic parameter without bouncing the DB.
The only downside is that this change is not persistent resets, unless you manually change the file pfile.
SQL > ALTER SYSTEM SET LARGE_POOL_SIZE = RANGE 300M = MEMORY;
Modified system
SQL > see THE LARGE_POOL PARAMETER
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
Whole large LARGE_POOL_SIZE 304M
Yes, it gives a false impression. To avoid losing changes to dynamic parameter you can use scope = both or repeat the command with scope = spfile;
However, you pay to the operating system for editing the pfile file (assuming that you do not use your spfile)
If you want to change the settings on the fly and do not want to keep them, however, there is no difference between pfile and spfile.
------------
Sybrand Bakker
Senior Oracle DBA
-
RMAN active cloning: how to include SPFILE on ASM
OS Version HP - UX B.11.31 U ia64
Oracle DB Version 11.2.0.3.0
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
Storage: ASM starts
-------------------------------------------------------------------------------------------------------------------------------------------
RMAN active cloning of databases, how to include the SPFILE to clone on the ASM storage?Hello;
See the example here:
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupad.htm
Under "example 25 - 4 reproduction of a file system to ASM (active).
or
Example 25-5 duplication of ASM to ASM (active)
Best regards
mseberg
Published by: mseberg on May 15, 2013 10:34
-
My spfile had been corrupted and I don't no pfile file so just tell me what to do now? How can I start the database now?
and tell me can open a binary file using the vi editor and make a few changes and saving them can corrupt a spfile?
I had changed the local listener of entrypawii wrote:
My spfile had been corrupted and I don't no pfile file so just tell me what to do now? How can I start the database now?
and tell me can open a binary file using the vi editor and make a few changes and saving them can corrupt a spfile?
I had changed the local listener of entryYes, a binary file for editing with a text editor are GOING to corrupt the file. Computers 101.
If you do not have a backup rman of the spfile, you can recreate a file your alerts log pfile. Every time that the database starts, all default settings are recorded in the log of alerts. Look for these lines and save them in a file pfile. Then use this file pfile to recreate your spfile.
-
How to open node2 usng spfile RAC that will remain in the ASM disk?
Hello
I installed oracle 11g r2 rac with asm into two nodes. Operating system is hp-Unix.
I installed oracle11g Active Data Guard using the single database only.
The RAc and Active Data Guard works very well.
I do not have set up Data Guard Broker.
NB : RAC node1 is running using spfile that is in the disk of the ASM (+ DATA / spfiledcpdb.ora) but node2 is running using pfile.
Question: how to open the node 2 use spfile, who will remain in ASM disk as node 1?
Thank you
Solaiman
Edited by: 876149 April 1, 2013 10:08Change your PFILE file to specify that IFILE = 'location_of_spfile. '
OR
use STARTUP PFILE = "location_of_spfile."
Ensure that the spfile has the specific parameters of 2nd instance defined properly.
Hemant K Collette
-
Duplication of RMAN Active using SPFILE
Environment:
OS Version HP - UX B.11.31 U ia64
Oracle DB Version 11.2.0.3.0
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
Database files are located on ASM starts
-------------------------------------------------------------------------------------------------------------------------------------------------------
Question:duplicate target database to TestDB from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initSoruceDB.ora;
Can I use a spfile on the above command clause? If I use spfile, will be the above command copy the spfile instance database target under the DUAL command?
Order DUPLICATE with clause SPFILE behave differently in the case of a different structure of ASM starts in the source and target databases?Can I use a spfile on the above command clause? If I use spfile, will be the above command copy the spfile instance database target under the DUAL command?
Yes, you can use SPFILE. RMAN automatically copies the file to the server of the destination host settings.
Order DUPLICATE with clause SPFILE behave differently in the case of a different structure of ASM starts in the source and target databases?
RMAN automatically copies the file to the server settings in the destination host and updates the settings file to the server on the host of destination based on the values supplied in PARAMETER_VALUE_CONVERT and SET. For example:
Duplication of a host with a different Directory Structure (active)
DUPLICATE TARGET DATABASE
To dupdb
ACTIVE DATABASE
DB_FILE_NAME_CONVERT ' / oracle/oradata/prod / ','/ scratch/oracle/oradata/dupdb /'
SPFILE
PARAMETER_VALUE_CONVERT ' / oracle/oradata/prod / "
' / scratch/oracle/oradata/dupdb /'
SET SGA_MAX_SIZE 300 M"
SGA_TARGET SET 250 ME
SET LOG_FILE_NAME_CONVERT ' / oracle/oradata/prod/redo /',
' / scratch/oracle/oradata/dupdb/redo /';For more details:
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm#i1006629
-
RMAN Active cloning succeeded, but spfile turned out to be missing
Environment:
OS Version: HP - UX B.11.31 U ia64
Oracle DB Version: 11.2.0.3.0
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
The files of the databases on: + managed ASM starts
RMAN Active cloning command below is used to clone the database from one 'A' host to another host 'B '.
Cloning completed successfully. But when I checked on the existence of spfile the missing found spfile.duplicate target database to testDB from active database nofilenamecheck ;
What could be the cause of the missing spfile?SQL> show parameter spfile NAME TYPE VALUE spfile string /app/oracle/product/11.2.0.3/db/dbs/spfiletestDB.ora
I have been informed below as a workaround.
1. create the spfile and pfile memory and bounce the db for this problem.
2 RMAN Active clone script specified with the clause pfile.
For example.
Would appreciate the counsel on this.duplicate target database to testDB from active database file=/app/oracle/product/11.2.0.3/db/dbs/inittestDB.ora;
Published by: Sivaprasad S January 31, 2013 17:13Hello;
What could be the cause of the missing spfile?
This:
duplicate target database to testDB from active database nofilenamecheck
Instead:
duplicate target database to testDB from active database spfile nofilenamecheck
See:
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm
Example 23-3
Remember to close some of your old questions
Best regards
mseberg
Maybe you are looking for
-
Problem with the Apple start and stop music
s everyone having problems with Apple music constantly stop and start today? It is on my PC and iPhone.
-
can I have FF show the passwords I type rather than just asterisks?
I am the only user of my machine, and I would like to as passwords is displayed when I or FF clap. Instead of just asterisks, then I show the password as the username.
-
loading maps integrated in AoE 3 Player
How can I load map that I build so that I can play them?
-
Hello Is there a way to get a newspaper printed on the machine pro 8600 hp automated fax and also newspaper how much can he keep. Then the last is, is it possible to increase the amount of material that the ADF can support, at this stage it supports
-
Im very worried that Microsoft thinks I might be the victim of software counterfeiting, which I don't think really, I bought my Lenovo T61 with XP Pro top (8 years) but with no cd about 2/3 years, I'm not much to this topic & my friends want me to ap