将*.log_archive_dest='location=/u01/app/Oracle/baklog'修改为
*.log_archive_dest_1='location=/u01/app/oracle/baklog'就可以了,如果有多个归档日志位置,那么可以添加*.log_archive_dest_2=
接下来还原spfile文件,执行
create spfile='+DATA/orcl/spfileorcl.ora' from pfile='/tmp/init.ora' 注意这句跟上面的区别,
然后重新启动数据库。
-------------------------------------------------------------------------
SQL> startup
ORACLE instance started.
Total System Global Area 1653518336 bytes
Fixed Size 2213896 bytes
Variable Size 1006635000 bytes
Database Buffers 637534208 bytes
Redo Buffers 7135232 bytes
Database mounted.
Database opened.
-------------------------------------------------------------------------
到这里正常启动。
-------------------------------------------------------------------------
到这里正常启动。
顺便链接下,打开归档日志模式 http://www.linuxidc.com/Linux/2011-03/33070.htm
