- 论坛徽章:
- 0
|
[oracle@epicard-dezhou ~]$ lsnrctl status
.
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-JUN-2012 09:31:11
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=epicard-dezhou)(PORT=1521)))
/etc/host.conf: line 1: bad command `10.61.193.3 localhost.localdomain epicard-dezhou'
/etc/host.conf: line 2: bad command `10.61.193.3 localhost.localdomain localhost'
STATUS of the LISTENER
我也看了我的 /etc/host.conf
没什么问题。。。。
/etc/host.conf 内容
10.61.193.3 localhost.localdomain epicard-dezhou
10.61.193.3 localhost.localdomain localhost
为什么会报错。。。。这个报错导致了 我的 应用连接不到数据库
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was |
|