ORA-32004: obsolete and/or deprecated parameter(s) specified

错误信息:

启动数据库报错,虽然能正常启动,但是每次看到这个ORA就不爽:
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.

Total System Global Area 415236096 bytes
Fixed Size 2021216 bytes
Variable Size 117442720 bytes
Database Buffers 293601280 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.

查看告警日志如下,可知参数log_archive_start已废弃:
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing

处理方法:
1、创建pfilie文件
SQL> create pfile ='/home/oracle/pfileorcl.ora' from spfile;

File created.

2、编辑pfile文件,删除废弃参数log_archive_start
[root@rusky oracle]# vi pfileorcl.ora

3、关闭数据库
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.

4、从pfile创建spfile文件
SQL> create spfile from pfile='/home/oracle/pfileorcl.ora';

File created.

5、startup正常
SQL> startup
ORACLE instance started.

Total System Global Area 415236096 bytes
Fixed Size 2021216 bytes
Variable Size 121637024 bytes
Database Buffers 289406976 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.
SQL>

posted on 2015-02-06 12:05  遠離塵世の方舟  阅读(273)  评论(0编辑  收藏  举报

导航