【ORA-12514】linux下安装11g 客户端连不上[转帖]
时间:2010-12-21 来源:guyuanli
l【问题】inux下安装11g,本机可以连通,但其他机器的客户端连不上,错误ORA-12514。
【分析】大概推测Listener.ora或者Tnsnames.ora导致此问题。
1、因为修改了IP地址,所以上面两个文件也都修改了,但问题依旧,
2、发现etc/hosts里还是原来IP,修改后,问题照样出现。
3、比较listener.ora,发现缺少了红字部分。补齐后,测试通过
[oracle@localhost ~]$ vi /u01/oracle/network/admin/listener.ora
# listener.ora Network Configuration File: /u01/oracle/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.239)(PORT = 1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/oracle)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/oracle)
(SID_NAME = orcl)
)
)