zoukankan      html  css  js  c++  java
  • OERR: ORA-32004 "obsolete or deprecated parameter(s) specified for %s instance"

    Oracle 11gR2通过Memory创建动态参数文件后,通过SPFILE启动,提示

    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

    原因是因为参数文件里面含有弃用(deprecated )的参数,重新编辑删除它们即可。

    操作提示

    SQL> create spfile from memory;
    
    File created.
    
    SQL> startup force;
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.
    
    Total System Global Area  830930944 bytes
    Fixed Size               2232920 bytes
    Variable Size            629149096 bytes
    Database Buffers         197132288 bytes
    Redo Buffers              2416640 bytes
    Database mounted.
    Database opened.

    解决方案

    查询日志,显示哪些参数被弃用。

    Deprecated system parameters with specified values:
      background_dump_dest
      user_dump_dest

    生成静态参数文件

    SQL> create pfile from spfile;
    
    File created.

    进行编辑

    [oracle@henry dbs]$ vim initPROD1.ora

    删除里面有弃用标记的两行参数

    *.user_dump_dest='/u01/app/oracle/diag/rdbms/prod1/PROD1/trace'#Deprecate parameter
    *.background_dump_dest='/u01/app/oracle/diag/rdbms/prod1/PROD1/trace'#Deprecate parameter

    通过静态参数文件创建SPFILE

    [oracle@henry dbs]$ sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.3.0 Production on Tue May 28 00:20:31 2019
    
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> create spfile from pfile;
    
    File created.

    启动数据库(默认使用SPFILE),将不再有的ORA-32004错误。

    SQL> startup
    ORACLE instance started.
    
    Total System Global Area  830930944 bytes
    Fixed Size               2232920 bytes
    Variable Size            629149096 bytes
    Database Buffers         197132288 bytes
    Redo Buffers              2416640 bytes
    Database mounted.
    Database opened.

    官方DETAILS

    Error Text, Cause and Action from Message File/s for ORA-32004

    Versions 11.2, 12.1
    
    Error:  ORA-32004 obsolete or deprecated parameter(s) specified for %s instance 
    -------------------------------------------------------
    Cause:  Obsolete or deprecated parameters 
    for this instance type 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.
    Versions 9.2, 10.1, 10.2, 11.1
    
    Error:  ORA-32004 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.
  • 相关阅读:
    20175330第九周学习总结
    20172326 《程序设计与数据结构》第十周学习总结
    20172326 《程序设计与数据结构》第九周学习总结
    20172326『Java程序设计』课程结对编程练习_四则运算第二周阶段总结
    《程序设计与数据结构》第八周学习总结
    结对编程-四则运算 第一周总结
    《程序设计与数据结构》实验2报告
    《程序设计与数据结构》第七周学习总结
    20172326 2017-2018-2 《程序设计与数据结构》第7周课堂测试修改报告
    《程序设计与数据结构》第六周学习总结
  • 原文地址:https://www.cnblogs.com/askscuti/p/10934602.html
Copyright © 2011-2022 走看看