Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

3

积分

0

好友

6

主题
1#
发表于 2013-4-26 18:57:19 | 查看: 8307| 回复: 6
您好!
       请教!
系统: REDHAT LINUX 5.6
数据库版本:11.2.0.1
环境:ACTIVE DG
在备库启动实时应用(alter database recover managed standby database using current logfile disconnect from session;
)时报600错误:

  1. Errors in file /oracle/diag/rdbms/gd2edb/orcl/trace/orcl_ora_8515.trc:
  2. Errors in file /oracle/diag/rdbms/gd2edb/orcl/trace/orcl_ora_8515.trc  (incident=25833):
  3. ORA-00600: internal error code, arguments: [psdnop-1], [8181], [], [], [], [], [], [], [], [], [], []
  4. ORA-08181: specified number is not a valid system change number
复制代码
以下是部份TRACE内容:
  1. ERROR in qm_init_sga_pass1 [8181]

  2. *** 2013-03-23 12:03:28.901
  3. dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=1, mask=0x0)
  4. ----- Error Stack Dump -----
  5. ----- Current SQL Statement for this session (sql_id=89v32p2knhmcy) -----
  6. select COMP_ID||' '||COMP_NAME||' '||VERSION||' '||STATUS||' <br />' from dba_registry union SELECT ' - SERVERNAME = <b>'||UTL_INADDR.get_host_name ||'</b> - SERVERADDRESS = <b>'||UTL_INADDR.g
  7. et_host_address||'</b> <br />'from dual union SELECT ' - DB_NAME = <b>'||SYS_CONTEXT ('USERENV', 'DB_NAME') ||'</b> - INSTANCE_NAME = <b>' ||SYS_CONTEXT ('USERENV', 'INSTANCE_NAME')||'</b> <br
  8. />' FROM dual
  9. ----- PL/SQL Stack -----
  10. ----- PL/SQL Call Stack -----
  11.   object      line  object
  12.   handle    number  name
  13. 0xcbcbe610         4  package body SYS.UTL_INADDR
  14. 0xcbcbe610        35  package body SYS.UTL_INADDR
  15. 0xded46660         1  anonymous block

  16. ----- Call Stack Trace -----
  17. calling              call     entry                argument values in hex      
  18. location             type     point                (? means dubious value)     
  19. -------------------- -------- -------------------- ----------------------------
复制代码
2#
发表于 2013-4-26 20:29:31
把这个文件 压缩 打包后上传

回复 只看该作者 道具 举报

3#
发表于 2013-4-27 09:46:29
您好!
多谢!
我在SUPPORT上提了SR,  但给的回复没有解决该问题:
  1. Hello,

  2. I suspect that this is a privileges issue - you need to grant dba to the monitoring user in the standby database and connect as sysdba. This is because some of the functions in the monitoring statement, particularly UTL_INADDR, need special privileges to run. Could you please try this and let me know if it resolves the problem.

  3. Regards,
  4. Tamzin Oscroft
复制代码
我在主库上给了DBA权限给MONITOR用户,  然后备库上还是一如继往的报600 8181错误!  

orcl_ora_8515.rar

67.55 KB, 下载次数: 944

回复 只看该作者 道具 举报

4#
发表于 2013-4-27 10:04:39
您好!  附件如下

orcl_ora_8515.rar

67.55 KB, 下载次数: 996

回复 只看该作者 道具 举报

5#
发表于 2013-4-27 20:32:18
11.2.0.1.0  + Linux

----- Current SQL Statement for this session (sql_id=89v32p2knhmcy) -----
select COMP_ID||' '||COMP_NAME||' '||VERSION||' '||STATUS||' <br />' from dba_registry union SELECT ' - SERVERNAME = <b>'||UTL_INADDR.get_host_name ||'</b> - SERVERADDRESS = <b>'||UTL_INADDR.get_host_address||'</b> <br />'from dual union SELECT ' - DB_NAME = <b>'||SYS_CONTEXT ('USERENV', 'DB_NAME') ||'</b> - INSTANCE_NAME = <b>' ||SYS_CONTEXT ('USERENV', 'INSTANCE_NAME')||'</b> <br />' FROM dual
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
0xcbcbe610         4  package body SYS.UTL_INADDR
0xcbcbe610        35  package body SYS.UTL_INADDR
0xded46660         1  anonymous block


stack call  piinadghn=>psdnop=>psdnopInit=>qm_init_uga =>报错

回复 只看该作者 道具 举报

6#
发表于 2013-4-27 20:55:38
Bug 9238835 : SELECT UTL_INADDR.GET_HOST_ADDRESS (...) FROM DUAL CAUSES ERRORS IN ALERT LOG

Starting in Oracle 11gR1, a new security measure is introduced for
UTL_INADDR and other PL/SQL network utility packages. The new security
measure is based on XML DB and therefore XML DB is required those PL/SQL
network utility packages. Please see Oracle Database Readme 11g Release 1,
section 32.2.

回复 只看该作者 道具 举报

7#
发表于 2017-2-16 15:44:30
这个语句 我也发现过 也在备库 主要是ORABBIX 监控的语句 版本号查询项.

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-20 16:41 , Processed in 0.050612 second(s), 24 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569