ORA-32004: obsolete and/or deprecated parameter(s) specified

重启数据库后提示如下:

[oracle@qlg ~]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 14 19:51:12 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> show parameter name;
ORA-01034: ORACLE not available


SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.

Total System Global Area  335544320 bytes
Fixed Size                  1219304 bytes
Variable Size              83887384 bytes
Database Buffers          247463936 bytes
Redo Buffers                2973696 bytes
Database mounted.
Database opened.
SQL> ho 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.

SQL> ho

然后就去查看aler.log,

[oracle@qlg bdump]$ more a*g

......

Deprecated system parameters with specified values:
  sql_trace               
End of deprecated system parameter listing

........截取了其中一部分。

再次登入系统

[oracle@qlg bdump]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 14 20:00:47 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn /as sysdba
Connected.
SQL> show parameter name

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert                 string
db_name                              string      GFCYN
db_unique_name                       string      GFCYN
global_names                         boolean     FALSE
instance_name                        string      gfcyn
lock_name_space                      string
log_file_name_convert                string
service_names                        string      GFCYN
SQL> alter system reset sql_trace 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  335544320 bytes
Fixed Size                  1219304 bytes
Variable Size              83887384 bytes
Database Buffers          247463936 bytes
Redo Buffers                2973696 bytes
Database mounted.
Database opened.

要去查看警告日志的 查找相应的 关键字:parameters。有的错误是一样的,但是警告日志,不一样。

原文地址:https://www.cnblogs.com/future2012lg/p/3188505.html