客戶端通過SCAN連線11g Oracle RAC報錯ORA-12537
最近一直在弄Oracle 11g RAC,遇到了不少bug啊 問題啊 今天又遇到個,記錄一下。
沒有使用GNS來配置SCAN,通過DNS round robin 解析來配置的固定SCAN VIP和節點的VIP地址。
通過客戶端連線時報錯:
ERROR:
ORA-12537: TNS: 連線關閉
請輸入使用者名稱:
查詢了METALINK,又是個BUG,到10.2.0.2這個bug已經被修復。
ORA-12545 or ORA-12537 Reported while Connecting to RAC through SCAN name [ID 970619.1]
修改時間 20-JAN-2010 型別 PROBLEM 狀態 MODERATED
In this Document
Symptoms
Cause
Solution
References
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
Symptoms
Error ORA-12545 or ORA-12537 reported while trying to connect to 11gR2 Real Application Cluster (RAC) database through SCAN name
Cause
Client is able to resolve all Fully Qualified Domain Name (FQDN) SCAN and VIP name but not short ones(without domain name) as its in different domain; even though FQDN names were specified during Grid Infrastructure setup, due to bug 9150053 by default DBCA set database parameter local_listener to short node VIP name while database is created.
In following example, eotcs.us.oracle.com is SCAN name and eyrac1fv.us.oracle.com is one of the node VIP name, on client machine:
PING eotcs.us.oracle.com (120.0.0.207) 56(84) bytes of data.
64 bytes from 120.0.0.207: icmp_seq=1 ttl=64 time=0.034 ms
ping -c 1 ping eotcs
ping: unknown host eotcs
ping -c 1 eyrac1fv.us.oracle.com
PING eyrac1fv.us.oracle.com (120.0.0.211) 56(84) bytes of data.
64 bytes from 120.0.0.211: icmp_seq=1 ttl=64 time=0.034 ms
ping -c 1 ping eyrac1fv
ping: unknown host eyrac1fv
Solution
bug 9150053 will be fixed in 11.2.0.2 and above, though easy workaround is available:
1. Database level setting:
Modify pfile/spfile parameter local_listener to use FQDN VIP name or VIP.
SQL> alter system set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=eyrac1fv.us.oracle.com)(PORT=1521))))' sid='b2no1';
Or
SQL> alter system set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=120.0.0.211)(PORT=1521))))' sid='b2no1';
And register with listener:
SQL> alter system register;
2. Per client setting:
Specify FQDN SCAN name in client tnsnames.ora and add all node VIP name/IP pairs to hosts file:
120.0.0.211 eyrac1fv.us.oracle.com eyrac1fv
Or set search domain: in /etc/resolv.conf on Linux/Unix or "Append DNS suffixes" on Windows
Linux/Unix:
search us.oracle.com
Windows:
References
BUG:9150053 - ORA-12545 REPORTED WHILE CONNECTING TO 11.2 SCAN ON CLIENT
NOTE:975457.1 - How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-676147/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PLSQL通過Oracle 11g客戶端連線Oracle 12c伺服器錯誤 ORA-28040SQLOracle客戶端伺服器
- Oracle 11g RAC SCAN ip的原理及配置Oracle
- Oracle 19c中連線RMAN客戶端的連線方法Oracle客戶端
- impala客戶端連線客戶端
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- 使用 Java 客戶端透過 HTTPS 連線到 EasysearchJava客戶端HTTP
- Oracle 19c透過SCAN連線ORA-12520Oracle
- mysql、redis 客戶端連線池MySqlRedis客戶端
- Redis客戶端連線數DevOpsRedis客戶端dev
- TCP協議服務端和客戶端的連線與通訊TCP協議服務端客戶端
- Qt TCP通訊客戶端斷開連線有哪些方法QTTCP客戶端
- OceanBase學習之路7|透過 MySQL 客戶端連線 OceanBase 租戶MySql客戶端
- 使用11g客戶端或pl/sql developer連線高版本Oracle 19c ORA-28040 ORA-01017客戶端SQLDeveloperOracle
- Oracle 11G 修改scan_ipOracle
- Oracle RAC修改public, VIP, SCAN IPOracle
- ORACLE RAC中連線ScanIP報錯ORA-12545的問題解決Oracle
- Oracle 低版本客戶端連線 18c 報ORA-28040 和 ORA-01017 錯誤的解決方法Oracle客戶端
- 4.2.14.3 為Oracle呼叫介面客戶端啟用快速連線故障轉移Oracle客戶端
- Golang 實現客戶端與伺服器端UDP協議連線通訊Golang客戶端伺服器UDP協議
- oracle rac scan監聽更改埠號Oracle
- Java 客戶端 Jedis和JedisPool 連線池Java客戶端
- 【LISTENER】Oracle分析連線監聽情況,判斷客戶端IP分佈Oracle客戶端
- Oracle 客戶端安裝Oracle客戶端
- 低版本客戶端連線高版本資料庫報錯ORA-28040、ORA-01017客戶端資料庫
- java web 通過request獲取客戶端IPJavaWeb客戶端
- 客戶端怎麼連線到伺服器?客戶端伺服器
- 使用 WebSocket 客戶端連線 MQTT 伺服器Web客戶端MQQT伺服器
- Oracle RAC修改Scan IP,Public IP的方法Oracle
- ORA-21561 OID generation failed [Ubuntu 16.04下Oracle客戶端連線伺服器]AIUbuntuOracle客戶端伺服器
- [Oracle-> MySQL] Oracle通過dblink連線MySQL--Oracle 19c連線到MySQL 5.7OracleMySql
- Oracle 11g RAC Silent Install For NFSOracleNFS
- Oracle 客戶端生成AWR方法Oracle客戶端
- aix安裝oracle客戶端AIOracle客戶端
- Presto學習筆記——Go客戶端連線PrestoREST筆記Go客戶端
- gRPC學習記錄(六)--客戶端連線池RPC客戶端
- HTTP客戶端連線,選擇HttpClient還是OkHttp?HTTP客戶端client
- 4.2.14 啟用客戶端快速連線故障轉移客戶端
- ESP作為單連線中的TCP客戶端TCP客戶端
- Oracle RAC 環境下的連線管理Oracle