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.

最新文章

  1. Windows Store App 全球化:引用类库资源
  2. ORA-00257归档日志写满的解决方法
  3. MyBatis学习总结_14_Mybatis使用技巧总结
  4. 360每日自动签到,领取积分 (java httpclient4.x)
  5. 30个惊人的插件来扩展 Twitter Bootstrap
  6. Cassandra1.2文档学习(14)—— 事务和并发控制
  7. HDU 3065 病毒在继续 (AC自己主动机)
  8. CSS3 学习小结
  9. 自动化测试 -- 通过Cookie跳过登录验证码
  10. Firefox52非HTTPS页面登录页面提示连接不安全的解决办法
  11. SpringMVC:数据绑定入门(二)
  12. [物理学与PDEs]第2章第1节 理想流体力学方程组 1.1 预备知识
  13. hibernate框架的简单入门
  14. FileOutputSream文件字节输出流
  15. 最好用的js前端框架、组件、文档在线预览插件
  16. Springboot Session集群处理
  17. [Bjoi2018]二进制
  18. ELK学习笔记之简单适用的ES集群监控工具cerebro安装使用
  19. githup创建新java项目
  20. MFC中位图的显示

热门文章

  1. H5_0023:html页面禁止放大缩小页面
  2. pycharm-1
  3. 轻量级RPC设计与实现第五版(最终版)
  4. linux 文件系统管理三部曲之一:磁盘分区
  5. nginx模块之ngx_http_fastcgi_module
  6. html无卡顿动画实现——requestAnimationFrame
  7. JDK下载安装与环境变量配置图文教程【超详细】
  8. 题解【洛谷P3456】[POI2007]GRZ-Ridges and Valleys
  9. BZOJ2780(广义后缀自动机,set启发式合并)
  10. 2019-2020-2 《网络对抗技术》Exp0 环境搭建-Kali Linux 的安装