当前位置:网站首页>Troubleshooting the error ora-12545 reported by scanip in Oracle RAC

Troubleshooting the error ora-12545 reported by scanip in Oracle RAC

2022-06-11 09:42:00 cqszpx

Just installed ORACLE 11G 11.2.0.4 A set of RAC, adopt DG Synchronized data , Activate for testing , Go through... Locally SCANIP link , No problem ,
conn sz/[email protected]:1521/orcl
Connected.
But link from other machines , You're going to report a mistake :
SQL> conn sz/[email protected]:1521/orcl
ERROR:
ORA-12545: Connect failed because target host or object does not exist
The reason here is the node's LOCAL_LISTENER The parameter is set to null . stay RAC in , For each node LOCAL_LISTENER Parameter must specify the of this node vip,remote_listener Must point to scanIP.


Check the server-side settings :
SQL> show parameter list
NAME TYPE VALUE

------------------------------------ ----------- ------------------------------
listener_networks string
local_listener string
remote_listener string db-scan:1521
Set now LOCAL_LISTENER
SQL> alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.133.9)(PORT=1521))' sid='orcl1';
SQL> alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.133.10)(PORT=1521))' sid='orcl2';
Test it again , Problem solving
conn sz/[email protected]:1521/orcl
Connected.
attach ORACLE MOS On file :ORA-12545 or ORA-12537 While Connecting to RAC Through SCAN name (Doc ID 970619.1)

 

原网站

版权声明
本文为[cqszpx]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206110916462145.html