首页 » ORACLE 9i-23ai » oracle 启动时ORA-32004问题解决
oracle 启动时ORA-32004问题解决
今天启动一个oracle 服务时报了ora-32004异常,但数据库还是打开了,不影响使用,网上搜了一下资料,发现是参数文件中有一个参数在oracle 10g中已经抛弃但该参数设置了的原因,情况如下
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 71305460 bytes
Database Buffers 92274688 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
Fixed Size 1218316 bytes
Variable Size 71305460 bytes
Database Buffers 92274688 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
查看spfile.ora文件的参数
*.log_archive_start=TRUE
就是这个参数,不应该有值,现在重置
然后在看看alert log文件,里面会出现以下信息:
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing
log_archive_start
End of deprecated system parameter listing
SQL> alter system reset log_archive_start SCOPE=SPFILE SID=’*’;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 75499764 bytes
Database Buffers 88080384 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
Fixed Size 1218316 bytes
Variable Size 75499764 bytes
Database Buffers 88080384 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
重启后再不报ORA-32004错误了!
查看10g中都有那些参数是 deprecated 的:
SQL>select name,description from v$parameter where isdeprecated = ‘TRUE’; |
上面提到的alert log文件位于%ORACLE_BASE%\admin\%ORACLE_SID%\bdump里。
目前这篇文章有6条评论(Rss)评论关闭。