- 最后登录
- 2014-11-7
- 在线时间
- 11 小时
- 威望
- 0
- 金钱
- 79
- 注册时间
- 2012-12-3
- 阅读权限
- 10
- 帖子
- 23
- 精华
- 0
- 积分
- 0
- UID
- 724
|
1#
发表于 2014-10-24 09:24:40
|
查看: 5119 |
回复: 3
环境WINDOWS2008+ORACLE 10.2.0.4
通过CONN SYS/ORACLE@XMJMNEW AS SYSDBA连接的时候会报TNS-12523: TNS:listener could not find instance appropriate for the client connection,数据库模式是DEDICATED模式,重建过几次监听均无效果,查看各个状态好像没有发现有问题
请教各位大神,还有别的思路吗
LSNRCTL SERVICE配置如下:
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 24-OCT-2014 09:25
:39
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hcyy-7)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "hctest" has 1 instance(s).
Instance "hctest", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "hctestXDB" has 1 instance(s).
Instance "hctest", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: HCYY-7, pid: 2340>
(ADDRESS=(PROTOCOL=tcp)(HOST=hcyy-7)(PORT=49173))
Service "xmjmnew" has 1 instance(s).
Instance "xmjmnew", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xmjmnew_XPT" has 1 instance(s).
Instance "xmjmnew", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
LISTENER.ORA配置如下:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcyy-7)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
TNSNAMES.ORA配置如下:
XMJMNEW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = hcyy-7)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XMJMNEW)
)
) |
|