当前位置:网站首页>ORACLE RAC中连接ScanIP报错ORA-12545的问题解决
ORACLE RAC中连接ScanIP报错ORA-12545的问题解决
2022-06-11 09:17:00 【cqszpx】
才安装好的一个ORACLE 11G 11.2.0.4的一套RAC,通过DG同步的数据,激活用于测试,在本地通过SCANIP链接,没有问题,
conn sz/[email protected]:1521/orcl
Connected.
但从其他机器链接,就会报错:
SQL> conn sz/[email protected]:1521/orcl
ERROR:
ORA-12545: Connect failed because target host or object does not exist
这里的原因是节点的LOCAL_LISTENER参数设置为了空.在RAC中,每个节点的LOCAL_LISTENER参数必须指定本节点的vip,remote_listener必须指向scanIP.
检查一下服务器端的设置:
SQL> show parameter list
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks string
local_listener string
remote_listener string db-scan:1521
马上设置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';
再去测试,问题解决
conn sz/[email protected]:1521/orcl
Connected.
附ORACLE MOS上文档:ORA-12545 or ORA-12537 While Connecting to RAC Through SCAN name (Doc ID 970619.1)

边栏推荐
- What problems can ERP system help enterprises deal with?
- Exclusive interview - dialogue on open source Zhai Jia: excellent open source projects should be seen by more people. I am honored to participate in them
- [intelligent development] scheme design and hardware development of sphygmomanometer
- Augmented reality experiment IV of Shandong University
- OpenCV CEO教你用OAK(五):基于OAK-D和DepthAI的反欺骗人脸识别系统
- 整型提升例题
- Slice of go language foundation
- Success and failure of ERP software from the perspective of enterprise evaluation
- ES6新增特性--箭头函数
- Simulation of map and set
猜你喜欢

Version mismatch between installed deeply lib and the required one by the script

Résumé de la méthode d'examen des mathématiques

Modularnotfounderror: no module named 'find_ version’

Sed explanation of shell script (SED command, sed -e, sed s/ new / old /...)

How do we connect to WiFi?

Day39 process object and other method mutexes

Machine learning notes - in depth Learning Skills Checklist

实现边充边OTG的PD芯片GA670-10

Control statement if switch for while while break continue

ESP8266_ Connect to Alibaba cloud through mqtt protocol
随机推荐
报错[DetectionNetwork(1)][warning]Network compiled for 6 shaves,maximum available 10,compiling for 5 s
Type-C Bluetooth speaker single port rechargeable OTG solution
[TiO websocket] III. The TiO websocket server can send messages to users anywhere
Analysis of high frequency interview questions in massive data processing
2161. 根据给定数字划分数组
js基础--Date对象
1854. the most populous year
Remote office related issues to be considered by enterprises
Analysis of Kube scheduler disk scheduling source code
Type-C蓝牙音箱单口可充可OTG方案
ESP8266_ Connect to Alibaba cloud through mqtt protocol
Flask (VI) - template
Openstack explanation (22) -- neutron plug-in configuration
Automation operation and maintenance articles collection
一万字彻底学会堆和二叉树
Device = depthai Device(““, False) TypeError: _init_(): incompatible constructor arguments.
[scheme design] scheme of household oximeter based on single chip microcomputer
实现边充边OTG的PD芯片GA670-10
Set up redis highly available cluster environment
报错device = depthai.Device(““, False) TypeError: _init_(): incompatible constructor arguments.