Oracle dblink監聽問題
Oracle dblink監聽不能簡單重啟監聽。(MySQL的dblink)
透過lsnrctl stop、lsnrctl start無法啟動Oracle dblink的監聽。
dblink查詢報錯:
SQL> select count(*) from CUX_IMP_INTERFACE_HEADERS@MYODBC.BENLAILIFE.COM;
select count(*) from CUX_IMP_INTERFACE_HEADERS@MYODBC.BENLAILIFE.COM
*
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from MYODBC
正確重啟Oracle dblink監聽方式:
[oraprod@erpdbp PROD_erpdbp]$ pwd
/u01/prod/db/12.1.0/appsutil/scripts/PROD_erpdbp
[oraprod@erpdbp PROD_erpdbp]$ /u01/prod/db/12.1.0/appsutil/scripts/PROD_erpdbp/addlnctl.sh stop PROD
[oraprod@erpdbp PROD_erpdbp]$ /u01/prod/db/12.1.0/appsutil/scripts/PROD_erpdbp/addlnctl.sh start PROD
[oraprod@erpdbp PROD_erpdbp]$ /u01/prod/db/12.1.0/appsutil/scripts/PROD_erpdbp/addlnctl.sh status PROD
Service "PROD" has 2 instance(s).
Instance "PROD", status UNKNOWN, has 1 handler(s) for this service...
Instance "PROD", status READY, has 1 handler(s) for this service...
Service "ebs_patch" has 1 instance(s).
Instance "PROD", status READY, has 1 handler(s) for this service...
Service "myodbc3" has 1 instance(s).
Instance "myodbc3", status UNKNOWN, has 1 handler(s) for this service...
Service "myodbc4" has 1 instance(s).
Instance "myodbc4", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
SQL> set linesize 600
SQL> set pagesize 600
SQL> select owner,object_name from dba_objects where object_type='DATABASE LINK';
OWNER OBJECT_NAME
-------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------
PUBLIC DEV_LINK.BENLAILIFE.COM
PUBLIC GUOFANG.BENLAILIFE.COM
PUBLIC MYODBC.BENLAILIFE.COM
PUBLIC PROD_BAK_DBLINK.BENLAILIFE.COM
APPS TEST_TO_PROD.TEST.BENLAILIFE.COM
報錯:
SQL> select count(*) from CUX_IMP_INTERFACE_HEADERS@MYODBC.BENLAILIFE.COM;
select count(*) from CUX_IMP_INTERFACE_HEADERS@MYODBC.BENLAILIFE.COM
*
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from MYODBC
PS:
CUX_IMP_INTERFACE_HEADERS是MySQL的表。
監聽正常後:
SQL> select count(*) from CUX_IMP_INTERFACE_HEADERS@MYODBC.BENLAILIFE.COM;
COUNT(*)
----------
2570886
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22996654/viewspace-2660098/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle靜態監聽Oracle
- JMS監聽Oracle AQOracle
- Oracle DBLink連線數過多的問題(Ora-02020)Oracle
- [20180417]監聽與時區問題.txt
- 6、oracle網路(監聽)Oracle
- Oracle 監聽異常處理Oracle
- Oracle啟動兩個監聽Oracle
- Oracle 建立非1521埠監聽Oracle
- Oracle 監聽投毒COST解決Oracle
- oracle rac scan監聽更改埠號Oracle
- oracle監聽不到例項服務Oracle
- ORACLE通過透明閘道器建dblink連線Postgresql的幾個問題OracleSQL
- oracle 12c 資料庫例項監聽無法註冊問題一例Oracle資料庫
- [20190306]靜態監聽配置sid大小寫問題.txt
- Android多程式之Binder解綁監聽的問題Android
- kafka監聽出現的問題,解決和剖析Kafka
- Oracle 11g RAC 監聽日常管理Oracle
- oracle 最全的監聽、tnsnames.ora格式Oracle
- oracle之 單例項監聽修改埠Oracle單例
- Oracle 修改預設監聽埠故障分析Oracle
- 【DBLINK】DBLINK域名問題及與global_name和db_domian的關係
- WPF 已知問題 監聽 WMI 事件導致觸控失效事件
- 配置Oracle DBlink連線MySQL庫OracleMySql
- 監聽 watch props物件屬性監聽 或深度監聽物件
- oracle rac的scan監聽狀態Not All Endpoints RegisteredOracle
- 【LISTENER】Oracle通過監聽連線緩慢分析Oracle
- oracle dblink用法總結和expdp和impdp利用dblink倒入匯出到本地Oracle
- Spring帶泛型的ApplicationEvent無法監聽問題分析(轉載)Spring泛型APP
- Oracle監聽器中的XDB、XPT和PLSExtProc服務Oracle
- Oracle DBLink中CLOB報錯ORA-22992Oracle
- 達夢7異構(DM-Oracle) DBLINKOracle
- ora24756問題處理辦法(dblink迴圈呼叫)
- Oracle trigger問題Oracle
- oracle netca建立監聽報錯/u01/oracle/bin/netca: line 178: 11819 AbortedOracle
- watch監聽
- 2.5.4. 測試Oracle net——2.5.4.1. 啟動監聽程式Oracle
- Oracle DBLink跨資料庫訪問SQL server資料同步 踩坑實錄Oracle資料庫SQLServer
- Oracle19c dblink連結mysql8.0OracleMySql