首页 > 代码库 > ORA-12170: TNS:Connect timeout occurred ORA-06512: at "SYS.DBMS_SNAPSHOT"
ORA-12170: TNS:Connect timeout occurred ORA-06512: at "SYS.DBMS_SNAPSHOT"
Oracle job 无法自动运行 报以下大量的错 Errors in file /oracle/admin/orcl/bdump/orcl_j000_2158798.trc: ORA-12012: error on auto execute of job 482 ORA-12008: error in materialized view refresh path ORA-12170: TNS:Connect timeout occurred ORA-06512: at "SYS.DBMS_SNAPSHOT", line 1883 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2089 ORA-06512: at "SYS.DBMS_IREFRESH", line 683 ORA-06512: at "SYS.DBMS_REFRESH", line 195 ORA-06512: at line 1 Sat Apr 26 21:57:53 2014 Errors in file /oracle/admin/orcl/bdump/orcl_j000_2158798.trc: ORA-12012: error on auto execute of job 425 ORA-12170: TNS:Connect timeout occurred ORA-06512: at "SYS.DBMS_SNAPSHOT", line 1883 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2089 ORA-06512: at "SYS.DBMS_IREFRESH", line 683 ORA-06512: at "SYS.DBMS_REFRESH", line 195 主要环境介绍,两个数据库之间要刷新物化视图,平时都是正常的,某天开始主库的自动job执行失败,而且是持续的失败 查看原因主要是ORA-12170: TNS:Connect timeout occurred TNS超时所致,排查思路大概可以定在网络上 1.网络排查 在两台主机之间互相ping各自的IP地址和网关,看有无丢包情况 期初查看经查看无丢包 2.查看防火墙1521端口是否正常 网络工程师确认防火墙1521端口正常开放,telnet 1521也是通的 3.tnsping 各自的服务名 $tnsping orcl TNS Ping Utility for 64-bit Aix: Version 10.2.0.4.0 - Production on 05-6月 -2014 11:47:24 Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved. Attempting to contact (DESCRIPTION= (ADDRESS_LIST = (ADDRESS=(PROTOCOL=TCP)(HOST =192.168.10.8)(PORT = 1521))) (CONNECT_DATA=http://www.mamicode.com/ (SERVICE_NAME=orcl)))>
本文出自 “O Record” 博客,请务必保留此出处http://evils798.blog.51cto.com/8983296/1420950
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。