首页 » ORACLE » oracle 启动时ORA-32004问题解决

oracle 启动时ORA-32004问题解决

今天启动一个oracle 服务时报了ora-32004异常,但数据库还是打开了,不影响使用,网上搜了一下资料,发现是参数文件中有一个参数在oracle 10g中已经抛弃但该参数设置了的原因,情况如下

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.
查看spfile.ora文件的参数
*.log_archive_start=TRUE

就是这个参数,不应该有值,现在重置
然后在看看alert log文件,里面会出现以下信息:

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

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’;

上面提到的alert log文件位于%ORACLE_BASE%\admin\%ORACLE_SID%\bdump里。

打赏

目前这篇文章有6条评论(Rss)评论关闭。

  1. Lacresha Shove | #1
    2011-12-21 at 06:04

    We are really thankful for the author of this post for producing this lovely and informative article live to put us. We actually appreciate ur effort. Keep up the excellent work. . . .

  2. Lucky | #2
    2011-09-03 at 14:08

    Ah yes, nicely put, eyverone.

  3. physiotherapist jobs | #3
    2011-01-21 at 16:39

    Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon!

    • Nelle | #4
      2011-06-16 at 16:39

      Your asnewr was just what I needed. It’s made my day!

      • Lynell | #5
        2011-09-03 at 05:59

        Keep it conmig, writers, this is good stuff.

    • Hessy | #6
      2011-09-03 at 18:28

      I feel so much happier now I undersantd all this. Thanks!