多语言展示
当前在线:460今日阅读:23今日分享:25

Oracle 故障:[4]ORA-32004: obsolete or ...

ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance在做做数据迁移中,启动数据库到nomount,报错ORA-32004,虽然这个报错可以忽略报错解决思路: 查看alter日志 注意:1:手工设置数据库启动参数文件才会报错ORA-320042:数据库默认启动参数文件为spfile 二进制文件,如果没有,找pfile  文本文件
方法/步骤
1

启动数据库到nomount状态[oracle@oracle11g dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Mon Nov 3 09:43:56 2014 Copyright (c) 1982, 2013, Oracle.  All rights reserved. Connected to an idle instance. SQL> startup nomount;ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instanceORACLE instance started. Total System Global Area  784998400 bytesFixed Size              2257352 bytesVariable Size                528485944 bytesDatabase Buffers      251658240 bytesRedo Buffers                 2596864 bytes因为是在编辑完pfile文件之后,启动到nomount状态,数据库在

2

查看alter日志oracle 11g 默认alert日志目录:[oracle@oracle11g trace]$ pwd/u01/app/oracle/diag/rdbms/test/test/trace发现参数文件应该注释掉:log_archive_startstandby_archive_dest

3

编辑pfile文件注释一下两个多余参数:log_archive_startstandby_archive_dest

4

重新启动数据库到nomount状态

5

在Oracle 11g中手工设置了log_archive_start 为true,在启动时就会出现ORA-32004从10g以后当数据库为归档模式时,oracle会自动启动归档进程

6

数据库默认启动参数文件为spfile 二进制文件,如果没有,找pfile  文本文件1:startup nomount      通过 show parameter pfile 发现spfile为空,说明数据库由pfile文件启动2:创建spfile      create spfile from pfile3:指定pfile文件启动startup nomount pfile=/u01/app/oracle/product/11.2.0/db_1/dbs/inittest.ora

推荐信息