我碰到的在Oracle10g+rac+raw环境中,多次连接时常常出现的错误“ORA-12545: 因目标主机或对象不存在, 连接失败”的处理办法如下:
分别在rac的两个结点上执行以下语句后,错误不再出现:
ALTER SYSTEM SET LOCAL_LISTENER = '(ADDRESS = (PROTOCOL = TCP)(HOST = 192.98.10.1)(PORT = 1521))' SID = 'node1';
ALTER SYSTEM SET LOCAL_LISTENER = '(ADDRESS = (PROTOCOL = TCP)(HOST = 192.98.10.2)(PORT = 1521))' SID = 'node2';
更多Oracle相关信息见 专题页面