以下这个Action Script是我收集的在解决ORA-125XX(如ORA-12560)这类网络链接故障时的一些思路,主要包括 现有的网络配置(client & server side)、监听日志、SQLNET Client trace等信息-- How to troubleshooting ORA-125** connection issues: # CHECK FIREWALL, WINDOWS FIREWALL , ANTI-Virus Software First !ping hostnametnsping TNStrcroute TNS telnet tracert hostnameclient sidesqlplus scott/tiger@TNS&server sidesqlplus scott/tiger@TNScat /etc/hostscat /etc/resolv.confcat /etc/nsswitch.confipconfig -aping 127.0.0.1$ORACLE_HOME/network/admin/sqlnet.ora$ORACLE_HOME/network/admin/tnsnames.ora$ORACLE_HOME/network/admin/listener.ora$ORACLE_HOME/network/admin/endpoints_listener.ora$ORACLE_HOME/network/log/*sqlnet.log listener.log/var/log/messages/var/adm/messageserrpt -als -ld $ORACLE_HOMEnetstat -rnps -ef | grep -i tnslsnrctl status {listener_name}lsnrvtl services {listener_name}ulimit -a1. Complete database alert log.2. If the database was not restarted from the time of last occurance of theissue,select * from v$resource_limit3. RAM and SWAP configured on the server.4. ulimit settings for oracle user:ulimit -aSulimit -aH5. Kernel parameter settings:/etc/sysctl.confdbloginshow parameter cluster_databaseshow parameter listener$srvctl config vip -n {nodename}$lsnrctl status listeneragent.log and the crsd.log ..crsd agent log and the crsd.log$crsctl getperm resource ora.LISTENER.lsnrsql net client trace , Client side tracing is done by adding the following syntax to the client's sqlnet.ora file:We will need a timestamped matching set of client/listener sqlnet traces while error is reproduced in order to find the root cause of the issue.++ Enable client sqlnet tracing.=======================To do this add the following to client sqlnet.ora:TRACE_LEVEL_CLIENT=16TRACE_UNIQUE_CLIENT=TRUETRACE_DIRECTORY_CLIENT=pathTRACE_FILE_CLIENT=clientTRACE_TIMESTAMP_CLIENT=ONreplace path with a local directory for the trace files. (for example c:\temp)Do a test connection from the problematic client and check if the trace files are created.Upload the traces containing the error to me on metalink.++ Enable listener sqlnet tracing.==========================To do this edit the listener.ora and add,TRACE_LEVEL_{listener name}=16TRACE_TIMESTAMP_{listener name}=TRUETRACE_DIRECTORY_{listener name}=/tmp {-- this can be any directory other than a top level directory like / or c:\Replace {listener name} with the name of the listener. For example if your listener was called LISTENER then TRACE_LEVEL_LISTENER=16You need to restrict the amount of disk space used by the tracing then you must also set,TRACE_FILELEN_{listener name}=500000 {-- size of the files in KTRACE_FILENO_{listener name}=10 {-- number of filesThis will limit the traces to 10 files of around 500Mb, so 5000Mb in total. When the 10th file is full it will reuse file number one.You will need to stop/start the listener for this to take effect.When the problem reproduces please can you upload the listener trace and the listener log.Trace_level_client=16Trace_directory_client={path_to_the_trace_directory} # use the full path to the trace directoryTrace_unique_client=onTrace_timestamp_client=onDiag_adr_enabled=offtrace Local listener or SCAN listenersTRACE_LEVEL_{listener_name}= 16TRACE_TIMESTAMP_{listener_name}=onTRACE_DIRECTORY_{listener_name}={path_to_the_trace_directory}truss -o /tmp/lisener.out -fae lsnrctl start {listener_name}Some Useful Note:Note.444705.1 TroubleShooting Guide For ORA-12514 TNS listener could not resolve SERVICE_NAME given in connect descriptorNote.761740.1 Technicians Unable To Receive Orders While MWM Components Display ODBC Errors And Are ConnectedNote.119007.1 ORA-12560: Administering the Listener on UNIX - TroubleshootingNote 276812.1 TNS-12542 Error When Executing Batch Jobs or in High Transaction EnvironmentNote.219208.1 Ext/Pub Client Connection via Connect Manager Fails with TNS-12564Note.393941.1 Ext/Mod ORA-12564 Reported When Using 10g Connection ManagerNote.1116960.1 ORA-609 TNS-12537 and TNS-12547 in 11g Alert.logNote.550859.1 Abstract TROUBLESHOOTING GUIDE TNS-12518 TNS listener could not hand off client connection.Note.207303.1 Client / Server / Interoperability Support Between Different Oracle VersionsNote.119706.1 Troubleshooting Guide TNS-12535 or ORA-12535 or ORA-12170 ErrorsFor database links between different Oracle versions connections must be supported in BOTH directions in the matrix found in Note 207303.1eg: As 9.2 -} 7.3.4 is not supported then database links between these versionare not supported in either direction.You are trying to connect two versions (client-server) that are not certified (as confirmed by Note 207303.1) and between which exist many technical incompatibilities.CLIENT -- LISTENER -- SERVER RESULT8 11.1 8 OK9 11.1 9 OK10 11.1 10 OK11 11.1 11 OK8 11.2 8 FAILS9 11.2 9 OK10 11.2 10 OK11 11.2 11 OK9 11.1 8 OK10 11.1 8 OK11 11.1 8 OK9 11.2 8 FAILS10 11.2 8 FAILS11 11.2 8 FAILSThe relevant relationship that appears to be at issue is LISTENER and DATABASE. Client version is not a factor.But if the ultimate outcome is that the 11.2 (11gR2) LISTENER is indicated (though I still haven't seen documentation of this) as not compatible with use on a ORACLE 8i (8.1.7.0) DATABASE, then we'll capture that here and move on. I would, however, like to see some evidence of this, if it is available. I can find notes in the KB about 10gR2's listener not supporting 8i database, and I can find notes about 11gR1 having resolved that regression. But I can find nothing regarding listener/database compatibility that mentions 11gR2, that would explain our results.Clients should be complied with Servers , For Sever 11.2 the only supported clients are 11.2.0 , 11.1.0 , 10.2.0 : 10g end MUST be at 10.2.0.2 (or higher) respectively in order to use PLSQL between those versions. See Note:4511371.8 for more details and finally 10.1.0.5 only with extended support .On the other Side in order to connect from listener to DB server in a supported way , Listener version should be greater than or equal to the server version .Note 207303.1 should still be followed.
继8月11日、14日连续两次召开电力保供工作紧急视频会议后,8月15日,四川再次召开电力保供调度会。记者从会上获悉,预计全省最大用电负荷将
今年以来,四川积极扩大能源领域有效投资,前7月能源项目累计完成投资493亿元、同比增长4%。8月15日,省能源局相关负责人介绍,前7月煤炭类
8月15日,全省防汛减灾、森林草原防灭火工作电视电话会议召开,深刻汲取彭州8·13山洪灾害教训,分析研判当前形势,安排部署下一步重点工作
8月9日,攀枝花技师学院实习工厂里,焊花四溅,机器声此起彼伏。身穿工作服的教师周树春,在一间间操作室里进进出出,指导学生们焊接。过去
记者从省发改委获悉,上半年全省物流需求平稳增长,行业运行总体平稳。全省社会物流总额64096 2亿元,同比增长4 4%;全省物流业总收入为2270
在全球最大地下工程装备制造基地,掘进机生产计划已排到年底;千亿级工程机械产业园区边建设边生产,打造智能制造标杆……时已立秋,三湘大
上犹县水岩乡卫生院医生蔡昌才驱车前往金盆村为村民骆运招治病。以往,每月去医院就诊不仅路途远,还要排队。这几年有了家庭医生后,直接送
今年2月以来,省药监局深入开展药品安全专项整治行动,坚持问题导向,以严厉打击违法犯罪行为、全面排查风险隐患为手段,推进专项整治行动
没想到,现在直接在窗口就能办理,真是太方便了。蒋琼在九江市经营一家造型工作室,近期有意扩大生意规模,需要资金周转。她带齐资料来到九
记者从新余海关获悉,今年上半年,新余市外贸取得了较好成绩,全市外贸进出口总值184 3亿元,同比增长84 3%,高出全国平均水平74 9个百分点
作为南昌市第二季度集中开工的重大项目之一,南昌数谷产业园项目总投资100亿元,计划2024年5月完工交付使用,拟引进字节跳动、华为(南昌)工
淮南市向中国工程院院士、安徽理工大学校长袁亮颁发了第一张淮南市高层次人才优才卡。为深化我为人才办实事实践活动,落实高层次人才服务保
连日来,宿州市埇桥区不断细化各项工作举措,压实防汛各项责任,提升应急救援保障能力,筑牢防汛安全堤。目前,该区防汛物资已储备到位,全
近日,无为市自然资源和规划局、无为市福渡镇人民政府在无为润峰中海置业有限公司项目部现场举行交地即交证颁证仪式,标志该市交地即交证优
设施齐全的卫生食堂、水冲式的独立卫生间、楼道墙体粉刷一新的宿舍……走进安徽省全椒县武岗学校,已经运行满一年的农村特色寄宿制学校成果
安徽安庆市正式成立“老年助餐慈善基
记者日前从安庆市民政局获悉,该市慈善会近日设立老年助餐慈善基金,共同守护老年人舌尖上的幸福。该基金专项用于资助城乡社区老年食堂、社
安徽淮北积极落实2022年电网防汛度汛
近日,国网淮北供电公司工作人员来到110千伏中泰变电站开展防汛隐患排查。该公司积极落实2022年防汛度汛措施,提前细化应急预案,推进极端
安徽全椒县完善拓展人力信息资源助企
今年以来,全椒县不断完善拓展人力资源信息库、劳务对接信息库、企业用工需求信息库三库信息资源,已摸排400多家次企业缺工岗位信息1 2万个
宿州市埇桥区柔性引进博士推进乡村振
宿州市埇桥区实施博士汇工程,柔性引进29名博士担任副乡镇长或园区副主任,他们将为加快产业发展、推进乡村振兴强化智力支持。目前,博士专
安徽印发出台全面实施零基预算改革方
为进一步提高财政资源配置效率和资金使用效益,省政府印发《安徽省全面实施零基预算改革方案》,明确从编制2023年预算起,在全省范围内全面
5月份安徽居民消费价格同比上涨2.3%
近日,国家统计局安徽调查总队发布了我省5月份居民消费价格统计数据。统计显示,我省居民消费价格同比上涨2 3%,同比涨幅比上月回落0 4个百分
安徽多种方式引导群众防范非法集资风
合肥地铁1号线、3号线上滚动播放防范非法集资宣传视频,淮南市发布《致老年群众的一封信》……6月份是一年一度防范和处置非法集资宣传月,今
铁路部门持续加大长三角地区运力投放
记者从中国铁路上海局集团有限公司获悉,随着上海疫情防控形势持续向好,为进一步适应旅客出行需要,助力复工复产,铁路部门自6月10日起持续加
安徽六安持续精准施策全力促进工业发
六安市与蔚来汽车签署合作协议,共建智能电动汽车零部件配套产业园区。该园区一期计划2023年上半年投产,建成后将具备年产30万吨铝压铸产能,
安徽淮北全力维护外卖送餐员合法权益
为切实防范化解新业态领域重大风险隐患,强化外卖送餐员权益保障工作,淮北市市场监管局充分发挥职能作用,全力维护外卖送餐员合法权益。淮北
湖南涟源开展专项行动一对一为企业纾
位于涟源市的湖南三合美新材料科技有限公司,两条生产线满负荷运行,生产聚氨酯和岩棉复合板。因产品升级与产能扩充,急需新增两条生产线,
湖南蓝山县进村入户排查整治自建房安
老叔,这栋房屋墙体有开裂痕迹,要维修加固,安全重要!5月20日,蓝山县塔峰镇果木村,党员干部上门开展农村自建房安全隐患排查整治。连日来
一季度湖南万元产值综合能耗同比下降
近日,湖南省工业通信业节能监察中心发布一季度全省六大高耗能行业能源消耗统计监测报告。据该报告,一季度全省146家主要高耗能企业的万元
济南起步区一年来累计签约优质项目11
万里黄河第一隧济南黄河济泺路隧道建成通车,占地4000余亩的新能源乘用车零部件产业园加快施工……记者21日采访获悉,建设实施方案获批复一
山东发布通知启动传统民居保护利用试
省住房城乡建设厅、省财政厅近日联合印发《关于做好传统民居保护利用试点工作的通知》,在全省部署开展传统民居保护利用试点工作。此次试点