首頁 |
滾動(dòng) |
財(cái)經(jīng) |
國內(nèi) |
樂活 |
娛樂 |
科技 |
教育 |
體育 |
時(shí)尚 |
汽車 |
資訊 |
熱點(diǎn) |
資訊 |
以下這個(gè)Action Script是我收集的在解決ORA-125XX(如ORA-12560)這類網(wǎng)絡(luò)鏈接故障時(shí)的一些思路,主要包括 現(xiàn)有的網(wǎng)絡(luò)配置(client & server side)、監(jiān)聽日志、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日連續(xù)兩次召開電力保供工作緊急視頻會(huì)議后,8月15日,四川再次召開電力保供調(diào)度會(huì)。記者從會(huì)上獲悉,預(yù)計(jì)全省最大用電負(fù)荷將
今年以來,四川積極擴(kuò)大能源領(lǐng)域有效投資,前7月能源項(xiàng)目累計(jì)完成投資493億元、同比增長4%。8月15日,省能源局相關(guān)負(fù)責(zé)人介紹,前7月煤炭類
8月15日,全省防汛減災(zāi)、森林草原防滅火工作電視電話會(huì)議召開,深刻汲取彭州8·13山洪災(zāi)害教訓(xùn),分析研判當(dāng)前形勢,安排部署下一步重點(diǎn)工作
8月9日,攀枝花技師學(xué)院實(shí)習(xí)工廠里,焊花四濺,機(jī)器聲此起彼伏。身穿工作服的教師周樹春,在一間間操作室里進(jìn)進(jìn)出出,指導(dǎo)學(xué)生們焊接。過去
記者從省發(fā)改委獲悉,上半年全省物流需求平穩(wěn)增長,行業(yè)運(yùn)行總體平穩(wěn)。全省社會(huì)物流總額64096 2億元,同比增長4 4%;全省物流業(yè)總收入為2270
在全球最大地下工程裝備制造基地,掘進(jìn)機(jī)生產(chǎn)計(jì)劃已排到年底;千億級工程機(jī)械產(chǎn)業(yè)園區(qū)邊建設(shè)邊生產(chǎn),打造智能制造標(biāo)桿……時(shí)已立秋,三湘大
上猶縣水巖鄉(xiāng)衛(wèi)生院醫(yī)生蔡昌才驅(qū)車前往金盆村為村民駱運(yùn)招治病。以往,每月去醫(yī)院就診不僅路途遠(yuǎn),還要排隊(duì)。這幾年有了家庭醫(yī)生后,直接送
今年2月以來,省藥監(jiān)局深入開展藥品安全專項(xiàng)整治行動(dòng),堅(jiān)持問題導(dǎo)向,以嚴(yán)厲打擊違法犯罪行為、全面排查風(fēng)險(xiǎn)隱患為手段,推進(jìn)專項(xiàng)整治行動(dòng)
沒想到,現(xiàn)在直接在窗口就能辦理,真是太方便了。蔣瓊在九江市經(jīng)營一家造型工作室,近期有意擴(kuò)大生意規(guī)模,需要資金周轉(zhuǎn)。她帶齊資料來到九
記者從新余海關(guān)獲悉,今年上半年,新余市外貿(mào)取得了較好成績,全市外貿(mào)進(jìn)出口總值184 3億元,同比增長84 3%,高出全國平均水平74 9個(gè)百分點(diǎn)
作為南昌市第二季度集中開工的重大項(xiàng)目之一,南昌數(shù)谷產(chǎn)業(yè)園項(xiàng)目總投資100億元,計(jì)劃2024年5月完工交付使用,擬引進(jìn)字節(jié)跳動(dòng)、華為(南昌)工
淮南市向中國工程院院士、安徽理工大學(xué)校長袁亮頒發(fā)了第一張淮南市高層次人才優(yōu)才卡。為深化我為人才辦實(shí)事實(shí)踐活動(dòng),落實(shí)高層次人才服務(wù)保
連日來,宿州市埇橋區(qū)不斷細(xì)化各項(xiàng)工作舉措,壓實(shí)防汛各項(xiàng)責(zé)任,提升應(yīng)急救援保障能力,筑牢防汛安全堤。目前,該區(qū)防汛物資已儲(chǔ)備到位,全
近日,無為市自然資源和規(guī)劃局、無為市福渡鎮(zhèn)人民政府在無為潤峰中海置業(yè)有限公司項(xiàng)目部現(xiàn)場舉行交地即交證頒證儀式,標(biāo)志該市交地即交證優(yōu)
設(shè)施齊全的衛(wèi)生食堂、水沖式的獨(dú)立衛(wèi)生間、樓道墻體粉刷一新的宿舍……走進(jìn)安徽省全椒縣武崗學(xué)校,已經(jīng)運(yùn)行滿一年的農(nóng)村特色寄宿制學(xué)校成果
安徽安慶市正式成立“老年助餐慈善基
記者日前從安慶市民政局獲悉,該市慈善會(huì)近日設(shè)立老年助餐慈善基金,共同守護(hù)老年人舌尖上的幸福。該基金專項(xiàng)用于資助城鄉(xiāng)社區(qū)老年食堂、社
安徽淮北積極落實(shí)2022年電網(wǎng)防汛度汛
近日,國網(wǎng)淮北供電公司工作人員來到110千伏中泰變電站開展防汛隱患排查。該公司積極落實(shí)2022年防汛度汛措施,提前細(xì)化應(yīng)急預(yù)案,推進(jìn)極端
安徽全椒縣完善拓展人力信息資源助企
今年以來,全椒縣不斷完善拓展人力資源信息庫、勞務(wù)對接信息庫、企業(yè)用工需求信息庫三庫信息資源,已摸排400多家次企業(yè)缺工崗位信息1 2萬個(gè)
宿州市埇橋區(qū)柔性引進(jìn)博士推進(jìn)鄉(xiāng)村振
宿州市埇橋區(qū)實(shí)施博士匯工程,柔性引進(jìn)29名博士擔(dān)任副鄉(xiāng)鎮(zhèn)長或園區(qū)副主任,他們將為加快產(chǎn)業(yè)發(fā)展、推進(jìn)鄉(xiāng)村振興強(qiáng)化智力支持。目前,博士專
安徽印發(fā)出臺(tái)全面實(shí)施零基預(yù)算改革方
為進(jìn)一步提高財(cái)政資源配置效率和資金使用效益,省政府印發(fā)《安徽省全面實(shí)施零基預(yù)算改革方案》,明確從編制2023年預(yù)算起,在全省范圍內(nèi)全面
5月份安徽居民消費(fèi)價(jià)格同比上漲2.3%
近日,國家統(tǒng)計(jì)局安徽調(diào)查總隊(duì)發(fā)布了我省5月份居民消費(fèi)價(jià)格統(tǒng)計(jì)數(shù)據(jù)。統(tǒng)計(jì)顯示,我省居民消費(fèi)價(jià)格同比上漲2 3%,同比漲幅比上月回落0 4個(gè)百分
安徽多種方式引導(dǎo)群眾防范非法集資風(fēng)
合肥地鐵1號(hào)線、3號(hào)線上滾動(dòng)播放防范非法集資宣傳視頻,淮南市發(fā)布《致老年群眾的一封信》……6月份是一年一度防范和處置非法集資宣傳月,今
鐵路部門持續(xù)加大長三角地區(qū)運(yùn)力投放
記者從中國鐵路上海局集團(tuán)有限公司獲悉,隨著上海疫情防控形勢持續(xù)向好,為進(jìn)一步適應(yīng)旅客出行需要,助力復(fù)工復(fù)產(chǎn),鐵路部門自6月10日起持續(xù)加
安徽六安持續(xù)精準(zhǔn)施策全力促進(jìn)工業(yè)發(fā)
六安市與蔚來汽車簽署合作協(xié)議,共建智能電動(dòng)汽車零部件配套產(chǎn)業(yè)園區(qū)。該園區(qū)一期計(jì)劃2023年上半年投產(chǎn),建成后將具備年產(chǎn)30萬噸鋁壓鑄產(chǎn)能,
安徽淮北全力維護(hù)外賣送餐員合法權(quán)益
為切實(shí)防范化解新業(yè)態(tài)領(lǐng)域重大風(fēng)險(xiǎn)隱患,強(qiáng)化外賣送餐員權(quán)益保障工作,淮北市市場監(jiān)管局充分發(fā)揮職能作用,全力維護(hù)外賣送餐員合法權(quán)益。淮北
湖南漣源開展專項(xiàng)行動(dòng)一對一為企業(yè)紓
位于漣源市的湖南三合美新材料科技有限公司,兩條生產(chǎn)線滿負(fù)荷運(yùn)行,生產(chǎn)聚氨酯和巖棉復(fù)合板。因產(chǎn)品升級與產(chǎn)能擴(kuò)充,急需新增兩條生產(chǎn)線,
湖南藍(lán)山縣進(jìn)村入戶排查整治自建房安
老叔,這棟房屋墻體有開裂痕跡,要維修加固,安全重要!5月20日,藍(lán)山縣塔峰鎮(zhèn)果木村,黨員干部上門開展農(nóng)村自建房安全隱患排查整治。連日來
一季度湖南萬元產(chǎn)值綜合能耗同比下降
近日,湖南省工業(yè)通信業(yè)節(jié)能監(jiān)察中心發(fā)布一季度全省六大高耗能行業(yè)能源消耗統(tǒng)計(jì)監(jiān)測報(bào)告。據(jù)該報(bào)告,一季度全省146家主要高耗能企業(yè)的萬元
濟(jì)南起步區(qū)一年來累計(jì)簽約優(yōu)質(zhì)項(xiàng)目11
萬里黃河第一隧濟(jì)南黃河濟(jì)濼路隧道建成通車,占地4000余畝的新能源乘用車零部件產(chǎn)業(yè)園加快施工……記者21日采訪獲悉,建設(shè)實(shí)施方案獲批復(fù)一
山東發(fā)布通知啟動(dòng)傳統(tǒng)民居保護(hù)利用試
省住房城鄉(xiāng)建設(shè)廳、省財(cái)政廳近日聯(lián)合印發(fā)《關(guān)于做好傳統(tǒng)民居保護(hù)利用試點(diǎn)工作的通知》,在全省部署開展傳統(tǒng)民居保護(hù)利用試點(diǎn)工作。此次試點(diǎn)