ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle 10G ORA-32004错误

Oracle 10G ORA-32004错误

原创 Linux操作系统 作者:vonbock 时间:2012-04-13 10:57:43 0 删除 编辑
参考LINK:http://database.51cto.com/art/200611/35422.htm

因为执行ALTER SYSTEM SET log_archive_start=true SCOPE=spfile;重启数据库后报0RA-32004错误

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
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.

查看oracle给出的问题描述:
SQL> host oerr ora 32004
32004, 00000, "obsolete and/or deprecated parameter(s) specified"
// *Cause:  One or more obsolete and/or parameters were specified in
//          the SPFILE or the PFILE on the server side.
// *Action: See alert log for a list of parameters that are obsolete.
//          or deprecated. Remove them from the SPFILE or the server
//          side PFILE.

spfile:
*.log_archive_max_processes=3
*.log_archive_start=FALSE
*.log_archive_trace=4096

/u01/admin/orcl/bdump/alert.log:
Deprecated system parameters with specified values:
 log_archive_start
End of deprecated system parameter listing

查了查资料说是oracle 10G已经不支持该参数了,当打开归档模式(archive log mode) ,则 ARCH 进程被隐性的自动设定.10g 中也就不会出现 9i 以前那种数据库已经在归档模式,但是自动归档没有被设定的情况了。要解决该问题需要重置 log_archive_start 参数。

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.
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.

重启后再不报ORA-32004错误了!

查看10g中都有那些参数是 deprecated 的:

SQL>select name,description from v$parameter where isdeprecated = 'TRUE';







来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26193296/viewspace-721067/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-04-12

  • 博文量
    6
  • 访问量
    14211