When trying to create pfile from spfile getting below error.
SQL> create pfile='/d01/oracle/initsetting.ora' from spfile;
create pfile='/d01/oracle/initsetting.ora' from spfile
ERROR at line 1:
ORA-01565: error in identifying file '?/dbs/spfile@.ora'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Cause: Database is not running with spfile,It is running with memory.
issue seen while doing rman duplicate clone.
Solution:-
SQL> create pfile='/d01/oracle/initsetting.ora' from memory;
File created.
SQL>
SQL> create pfile='/d01/oracle/initsetting.ora' from spfile;
create pfile='/d01/oracle/initsetting.ora' from spfile
ERROR at line 1:
ORA-01565: error in identifying file '?/dbs/spfile@.ora'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Cause: Database is not running with spfile,It is running with memory.
issue seen while doing rman duplicate clone.
Solution:-
SQL> create pfile='/d01/oracle/initsetting.ora' from memory;
File created.
SQL>
SQL> create pfile='/home/orpprd/initnew.ora' from memory;
ReplyDeletecreate pfile='/home/orpprd/initnew.ora' from memory
*
ERROR at line 1:
ORA-00922: missing or invalid option
same error for me too..
ReplyDelete