oracle rac ora 12560,rac ORA-12541: TNS:no listener问题 非常急!!
客戶端連接oracle的時候時而連得上時而連不上 而且報錯不是ora-12545,是報的ora-12541沒有監聽
連指定節點能連得上沒問題,
SQL> conn sys/oracle@cbl1 as sysdba
Connected.
SQL> conn sys/oracle@cbl2 as sysdba
Connected.
SQL> conn sys/oracle@cbl as sysdba
Connected.
SQL> conn sys/oracle@cbl as sysdba
ERROR:
ORA-12541: TNS:no listener
我懷疑是不是監聽動態注冊的有問題,誰能幫我看看
SQL> show parameter name
NAME? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?TYPE? ?? ???VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert? ?? ?? ?? ?? ???string
db_name? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?string? ?? ?cbl
db_unique_name? ?? ?? ?? ?? ?? ?? ???string? ?? ?cbl
global_names? ?? ?? ?? ?? ?? ?? ?? ? boolean? ???FALSE
instance_name? ?? ?? ?? ?? ?? ?? ?? ?string? ?? ?cbl1
service_names? ?? ?? ?? ?? ?? ?? ?? ?string? ?? ?cbln, cbl
我的listener.ora文件
LISTENER_ORACLE1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle1_vip)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
監聽的狀態
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias? ?? ?? ?? ?? ?? ?? ?LISTENER_ORACLE1
Version? ?? ?? ?? ?? ?? ? TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date? ?? ?? ?? ?? ? 06-JUN-2009 14:35:20
Uptime? ?? ?? ?? ?? ?? ???0 days 0 hr. 15 min. 6 sec
Trace Level? ?? ?? ?? ?? ?off
Security? ?? ?? ?? ?? ?? ?ON: Local OS Authentication
SNMP? ?? ?? ?? ?? ?? ?? ? OFF
Listener Parameter File? ?/opt/oracle/product/10g/db_1/network/admin/listener.ora
Listener Log File? ?? ?? ?/opt/oracle/product/10g/db_1/network/log/listener_oracle1.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.33)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
Service "cbl" has 2 instance(s).
Instance "cbl1", status READY, has 2 handler(s) for this service...
Instance "cbl2", status READY, has 1 handler(s) for this service...
Service "cblXDB" has 2 instance(s).
Instance "cbl1", status READY, has 1 handler(s) for this service...
Instance "cbl2", status READY, has 1 handler(s) for this service...
Service "cbl_XPT" has 2 instance(s).
Instance "cbl1", status READY, has 2 handler(s) for this service...
Instance "cbl2", status READY, has 1 handler(s) for this service...
Service "cbln" has 2 instance(s).
Instance "cbl1", status READY, has 2 handler(s) for this service...
Instance "cbl2", status READY, has 1 handler(s) for this service...
The command completed successfully
總結
以上是生活随笔為你收集整理的oracle rac ora 12560,rac ORA-12541: TNS:no listener问题 非常急!!的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 育碧公布内部AI写手:游戏NPC对话可一
- 下一篇: delphi Oracle导出多个表,O