我創建了兩個數據庫,一個叫做test
,另一個叫archivio
。 SID
等於name
。我還創建了SID測試端口1521和一個用於SID ARCHIVIO,應該在端口1522oracle第二個偵聽器不工作
回答我已經驗證的服務是主動
響應監聽器第一個監聽工作正常。第二個報告存檔數據庫不起作用。我使用網絡管理員進行測試。該錯誤信息是:
聽者目前不知道在連接描述符
要求與Oracle SQL Developer中的服務我可以連接到數據庫archivio
如果我使用的基本類型的地方,而不是連接
其他信息:
Windows 7旗艦版的Oracle 12C
LISTNER.ORA
# listener.ora Network Configuration File: C:\Program Files (x86)\Common Files\Quest Shared\instantclient-basic-windows.x64-11.2.0.4.0\listener.ora
# Generated by Oracle configuration tools.
LISTENER1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = webgate1-PC)(PORT = 1522))
)
ADR_BASE_LISTENER1 = C:\app\cirom
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = webgate1-PC)(PORT = 1521))
)
ADR_BASE_LISTENER = C:\app\cirom
ADR_BASE_LISTENER1 = C:\app\cirom
TNSNAMES.ORA
# tnsnames.ora Network Configuration File: C:\Program Files (x86)\Common Files\Quest Shared\instantclient-basic-windows.x64-11.2.0.4.0\tnsnames.ora
# Generated by Oracle configuration tools.
ARCHIVIO =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = webgate1-pc)(PORT = 1522))
)
(CONNECT_DATA =
(SERVICE_NAME = archivio)
)
)
LISTENER_TEST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
LISTENER_ARCHIVIO =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = webgate1-pc)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = test)
)
)
你可以給命令「顯示參數監聽」的輸出形式ARCHIVIO數據庫? – Giova
我得到視圖或表不存在的錯誤。 – ciro
你是以系統用戶還是系統用戶身份連接?您應該獲得以下內容: SQL> show parameter listener 名稱類型值 -------------------------------- ---- ----------- ------------------------------ local_listener string LISTENER_1 remote_listener string LISTENERS_1 SQL> – Giova