在一臺機器配置兩個listener(Oracle)(轉)
在一臺機器配置兩個listener(Oracle)[@more@]問題:一臺機器同時裝兩套資料庫時(例項名o8161,o8151),無法同時啟動兩個listener,
當啟動第二個listener時,顯示錯誤。
$ lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 8.1.5.0.0 - Production on 14-SEP-00 09:25:17
(c) Copyright 1998 Oracle Corporation. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
$ oerr tns 1106
01106, 00000, "Listener using listener name %s has already been started"
// *Cause: Another listener is already listening on one of the ADDRESSes
// specified.
// *Action: Shutdown the previous listener specified by the listener name
// before starting this one.
問題產生原因:
兩個例項的LISTENER.ORA中IPC協議的KEY是相同,而一個系統中KEY必須是唯一的.
解決辦法:
修改key的值即可。修改後的檔案資訊:
o8161例項:(沒有修改)
# LISTENER.ORA Configuration File:/oracle/dbs/opstemp/szpcac1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = loopback)(PORT = 1521))
)
)
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
)
(ADDRESS = (PROTOCOL = TCP)(HOST = loopback)(PORT = 2481))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle)
(PROGRAM = extproc)
)
(SID_DESC =
(ORACLE_HOME = /oracle)
(SID_NAME = o8161)
)
)
08151例項:(經過修改)
# LISTENER.ORA Configuration File:/ora815/network/admin/listener.ora
# Generated by Oracle Net8 Assistant
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = TESTo815))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = loopback)(PORT = 1526))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ora8151)
(ORACLE_HOME = /ora815)
(PROGRAM = extproc)
)
)
當啟動第二個listener時,顯示錯誤。
$ lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 8.1.5.0.0 - Production on 14-SEP-00 09:25:17
(c) Copyright 1998 Oracle Corporation. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
$ oerr tns 1106
01106, 00000, "Listener using listener name %s has already been started"
// *Cause: Another listener is already listening on one of the ADDRESSes
// specified.
// *Action: Shutdown the previous listener specified by the listener name
// before starting this one.
問題產生原因:
兩個例項的LISTENER.ORA中IPC協議的KEY是相同,而一個系統中KEY必須是唯一的.
解決辦法:
修改key的值即可。修改後的檔案資訊:
o8161例項:(沒有修改)
# LISTENER.ORA Configuration File:/oracle/dbs/opstemp/szpcac1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = loopback)(PORT = 1521))
)
)
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
)
(ADDRESS = (PROTOCOL = TCP)(HOST = loopback)(PORT = 2481))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle)
(PROGRAM = extproc)
)
(SID_DESC =
(ORACLE_HOME = /oracle)
(SID_NAME = o8161)
)
)
08151例項:(經過修改)
# LISTENER.ORA Configuration File:/ora815/network/admin/listener.ora
# Generated by Oracle Net8 Assistant
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = TESTo815))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = loopback)(PORT = 1526))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ora8151)
(ORACLE_HOME = /ora815)
(PROGRAM = extproc)
)
)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9417382/viewspace-938099/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在同一臺機器下安裝兩個Oracle Software 版本Oracle
- 【LISTENER】一個資料庫配置兩個監聽埠號資料庫
- 一臺機器上安裝兩個MysqlMySql
- Oracle在一臺機器上搭建dataguardOracle
- 【轉】在同一臺主機配置MySQL ClusterMySql
- oracle一個listener偵聽多個例項的配置Oracle
- oracle一個例項配置多個listener或多個埠Oracle
- Oracle 11g中新增兩個listenerOracle
- oracle一個別例項配置多個listener或多個埠Oracle
- 一臺機器同時執行兩個或多個tomcatTomcat
- ubuntu之 一臺機器如何配置多個git賬號UbuntuGit
- 請教在同一臺機器上配置weblogic的clusterWeb
- 同一臺機器上安裝了10g和11g對於listener的配置
- Oracle listener log配置與管理Oracle
- 在多臺Cisco交換機更改相同的配置命令(轉)
- 克隆虛擬機器後,使兩臺虛擬機器完全獨立需要更改的配置。虛擬機
- 一臺主機兩個顯示器獨立工作怎麼設定切換
- oracle 11gr2 SCAN LISTENER配置Oracle
- 兩臺ORACLE之間配置OGG-未配置同步DDLOracle
- Nginx 兩臺伺服器配置負載均衡!!!Nginx伺服器負載
- 兩個Oracle配置問題的記錄Oracle
- 兩臺linux機器時間同步Linux
- 兩臺Linux伺服器之間配置互信Linux伺服器
- 多個ORACLE資料庫例項下listener.ora檔案配置Oracle資料庫
- hp rx6600兩臺oracle雙機互備伺服器其中一臺經常自動關機的故障診斷Oracle伺服器
- 一個作業系統下安裝多個版本DB的Listener配置作業系統
- Oracle ListenerOracle
- 在 Linux 上配置一個 syslog 伺服器Linux伺服器
- 兩個顯示器怎樣共用一臺主機 win10一拖二互不干擾Win10
- Windows環境配置Oracle 11gR2 ListenerWindowsOracle
- local_listener ,remote_listener 的配置REM
- 在Linux機器上安裝執行Oracle(三)(轉)LinuxOracle
- 在Linux機器上安裝執行Oracle(二)(轉)LinuxOracle
- 設定 Oracle 監聽器密碼(LISTENER)Oracle密碼
- vue nginx 打包部署在同一個伺服器 一些配置VueNginx伺服器
- [vnc] 一臺顯示器控制多臺機器VNC
- rman 資料庫從一臺機器遷移到另外的一臺機器資料庫
- 一臺主機上配置MySQL ClusterMySql