- 论坛徽章:
- 0
|
大家好
当我在客户端有ie,用isql *plus 链接数据库时,提示如下错误,请帮忙分析下,是什么原因,谢谢
Oracle 主机 Solaris 10
Oracle 版本 10.2
客户端 : windows pc
ERROR - ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
tnsnames.ora 文件内容
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = zch08view19)(PORT = 1521)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = sdh)
(PRESENTATION = RO)
)
)
listener.ora 文件内容
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = sdh)
(ORACLE_HOME = /u01/oracle/product/10gr2)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = zch08view19)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
监听启动过程
zch08view19% lsnrctl status
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 17-5月 -2010 04:41:28
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=zch08view19)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 17-5月 -2010 04:24:15
Uptime 0 days 0 hr. 17 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/product/10gr2/network/admin/listener.ora
Listener Log File /u01/oracle/product/10gr2/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zch08view19)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "sdh" has 1 instance(s).
Instance "sdh", status UNKNOWN, has 1 handler(s) for this service...
Service "sdh.test.com" has 1 instance(s).
Instance "sdh", status READY, has 1 handler(s) for this service...
Service "sdhXDB.test.com" has 1 instance(s).
Instance "sdh", status READY, has 1 handler(s) for this service...
Service "sdh_XPT.test.com" has 1 instance(s).
Instance "sdh", status READY, has 1 handler(s) for this service...
The command completed successfully |
|