本文发表在 rolia.net 枫下论坛Renamed DB - does not startup with spfile
I just renamed our databae from logrev9 to logrev. I used the backup control file method to do this with no errors. I used the pfile to start the rename process initially. Once the database was created and open, I did a CREATE SPFILE to generate a new file with the new name. However, when the database uses the spfile to start it fails referencing the old name. I deleted the spfile.ora and recreated it again with no change. The database DOES start with the pfile...
SQL> startup pfile='/apps/oracle/admin/logrev/pfile/initlogrev.ora';
ORACLE instance started.
Total System Global Area 1018136624 bytes
Fixed Size 731184 bytes
Variable Size 167772160 bytes
Database Buffers 838860800 bytes
Redo Buffers 10772480 bytes
Database mounted.
Database opened.
SQL> CREATE SPFILE='/apps/oracle/9.2.0/dbs/spfilelogrev.ora' FROM pfile='/apps/oracle/admin/logrev/pfile/initlogrev.ora';
File created.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/apps/oracle/9.2.0/dbs/initlogrev9.ora'
It still has some reference to the old name. I've check the initlogrev.ora file for the old reference name and it is not there. I've done renames and db moves using this method many times successfully in Oracle 8i. This is my first attempt in 9i R2. Is there something I might be missing in 9i?
Thanks,
Dave更多精彩文章及讨论,请光临枫下论坛 rolia.net
I just renamed our databae from logrev9 to logrev. I used the backup control file method to do this with no errors. I used the pfile to start the rename process initially. Once the database was created and open, I did a CREATE SPFILE to generate a new file with the new name. However, when the database uses the spfile to start it fails referencing the old name. I deleted the spfile.ora and recreated it again with no change. The database DOES start with the pfile...
SQL> startup pfile='/apps/oracle/admin/logrev/pfile/initlogrev.ora';
ORACLE instance started.
Total System Global Area 1018136624 bytes
Fixed Size 731184 bytes
Variable Size 167772160 bytes
Database Buffers 838860800 bytes
Redo Buffers 10772480 bytes
Database mounted.
Database opened.
SQL> CREATE SPFILE='/apps/oracle/9.2.0/dbs/spfilelogrev.ora' FROM pfile='/apps/oracle/admin/logrev/pfile/initlogrev.ora';
File created.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/apps/oracle/9.2.0/dbs/initlogrev9.ora'
It still has some reference to the old name. I've check the initlogrev.ora file for the old reference name and it is not there. I've done renames and db moves using this method many times successfully in Oracle 8i. This is my first attempt in 9i R2. Is there something I might be missing in 9i?
Thanks,
Dave更多精彩文章及讨论,请光临枫下论坛 rolia.net