記一次ORA-12545: Connect failed because target host or object does not exist
透過sqlplus 連線RAC,偶爾報:
ORA-12545: Connect failed because target host or object does not exist
[@more@]原因是因為local_listener沒有設定,
分別在兩個節點設定local_listener引數問題變可以解決:
法一:
alter system set LOCAL_LISTENER="(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx)(PORT=1521))" scope=both sid='node1';
alter system set LOCAL_LISTENER="(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx)(PORT=1521))" scope=both sid='node2';
法二:
tnsnames.ora內加入
local_listeners=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxx)(PORT=1521))
)
然後設定local_listener
alter system set local_listener='local_listeners' scope=spfile;
startup force;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10130206/viewspace-1058172/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-12545: Connect failed because target host or object does not existAIObject
- Oracle RAC的ORA-12545 Connect failed because target host or object does not exist問題OracleAIObject
- 【故障處理】ORA-12545: Connect failed because target hostAI
- ORA-12545 TNS: Host or Object Does not ExistObject
- ORA-04043: object DBA_DATA_FILES does not existObject
- 【Oracle】-【許可權-ORA-04043】- object does not existOracleObject
- asmcmd does not exist in directoryASM
- javax.media does not existJava
- Property [title] does not exist on this collection instance
- Waring: /dev/centos/swap does not existdevCentOS
- PatchObject constructor:Input file does not existObjectStruct
- 【MySQL】Host is blocked because of many connection errorsMySqlBloCError
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- Laravel Class env does not exist 問題排查Laravel
- SNMP TABLE ERROR : Requested table is empty or does not existError
- ORA-00942: table or view does not existView
- FAQ:Field DATABASE does not exist; see long textDatabase
- 【Mysql】MySql Host is blocked because of many connection errors;MySqlBloCError
- SSH Host key verification failedAI
- relation with OID 637165 does not exist
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- mac scrcpy 報錯 does not exist or is not a regular file,ERROR: Server connection failed(scrcpy mac與極空間衝突)MacErrorServerAI
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- ORA-24756: transaction does not exist問題解決
- PL/SQL: ORA-00942: table or view does not existSQLView
- RAC Connection Redirected To Wrong Host/IP ORA-12545
- CMake Error: add_executable cannot create target ““ because another target with the same name已解決Error
- Property 'context' does not exist on type 'NodeRequire'.ts(2339)ContextUI
- The user specified as a definer ('wx_root'@'%') does not exist 解決方案
- Mysql host is blocked because of many connection errors;unblock解決方法MySqlBloCError
- MTTR advisory is disabled because FAST_START_MTTR_TARGET is not setAST
- SCP報錯:Host key verification failed.AI
- WCF The service cannot be activated because it does not support ASP.NET compatibilityASP.NET
- MySQL 5.7啟動資料庫報錯'does not exist or is not executable'MySql資料庫
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- org.apache.maven.plugins:maven-archetype-plugin does not existApacheMavenPlugin
- 模擬ORA-04043並解決(dba_* does not exist)
- The subkey 'HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesAVP' does not exist on the 'localhost'Maclocalhost