ORA-12545 问题

简介: 今天遇到ORA-12545问题一直以为设置了LOCAL_LISTENER参数就没有问题,但是今天能遇的问题是设置了LOCAL_LISTENER没有问题,但是还是报错,这种情况下在客户端HOSTS中把RAC的HOSTS下面的内容复制上去,让他能够解析ORAC...
今天遇到 ORA-12545问题一直以为设置了LOCAL_LISTENER参数就没有问题,但是今天能遇的问题是设置了LOCAL_LISTENER没有问题,但是还是报错,这种情况下在客户端HOSTS中把RAC的HOSTS下面的内容复制上去,让他能够解析
ORACLE 官方:


Client Connection to RAC Intermittently Fails-ORA-12545 TNS: Host or Object Does not Exist (Doc ID 364855.1)

Log in with privileges to the instance and issue the following commands so that LOCAL_LISTENER is set correctly:

 

alter system set LOCAL_LISTENER="(address=(protocol=tcp)(port=1521)(host=)) scope=both sid='INSTANCE_NAME1';

Do the same for the 2nd instance where host is set to the and the sid is set to the 2nd instance name.

alter system set LOCAL_LISTENER="(address=(protocol=tcp)(port=1521)(host=)) scope=both sid='INSTANCE_NAME2'; 


Now the correct address using the VIP hostname will be registered against the listeners in the cluster.

The client should be able to resolve all forms of the VIP host via their /etc/hosts file.  i.e. short name and fully qualified.


Clients Failing to Connect Due to Intermittent ORA-12545 in RAC Environment (Doc ID 291175.1)

Edit the /etc/hosts file or winnt/system32/drivers/etc/hosts file.  Add a mapping for whatever hostname is not being resolved.  For example:

1.1.1.103    myhost.oracle.com   myhost
相关文章
ORA-32017 ORA-00096问题
<div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23px"> <div><br></div> <div><br></div> <div>1</div> <div><br></div> <div>SQL&gt; alter system se
3320 0
ORA-00704、ORA-39700处理
文章版权所有Jusin Hao(luckyfriends),支持原创,转载请注明。 原来的数据库11.2.0.1,现在安装的是11.2.0.3 SQL> alter database open; alter database open ...
1012 0
ORA-39083 ORA-00959
<p><br></p> <p></p> <div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23.8px"> <div> <span style="color:#ff0000; line-height:23.8px">ORA-<span style
3450 0
ORA-00119?ORA-00132?
今天上午,一台rac机器重启,发现机器无法正常启动数据库,手工执行:sqlplus sys as sysdba>startup 提示如下: ORA-00119: invalid specification for system parameter REMOTE_LISTENERORA-00132: syntax error or unresolved network name 'LISTENERS_ORCL' 在另外一台机器检查发现: show parameter remote_listener 显示正常,设置也正确。
960 0
ORA-29538、ORA-29532、ORA-29913问题解决
问题一: ERROR at line 1: ORA-29538: Java not installed 解决方法 1.检查有没有安装JAVA组件 select * from v$option t where t.
1148 0
ORA-00604 ORA-14452 ORA-20783
<div class="Blog_tit4 Blog_tit5" style="word-wrap:break-word; border-bottom-width:0px; padding:0px 0px 11px"> <div class="Blog_tit4 Blog_tit5" style="word-wrap:break-word; border-bottom-width:0px
3160 0
ORA-02374 ORA-12899 ORA-02372
<p><br></p> <p><br></p> <p></p> <div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23.8px"> <div><span style="color:#33cc00">ORA-<span style="border
4961 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等