ora 12514 oracle11g
程序员文章站
2024-02-20 22:42:52
...
客户端连接oracle11出现提示ORA-12514:错误解决方法
博客分类: 综合技术
近来安装oracle11g,使用后发现plsql和sqldeveloper等客户端工具不能用,提示以下错误:
1.ORA-12514: TNS: 程序无法监听
原因:OracleOraDb11g_home1TNSListener没有启动或不能启动
解决办法:若服务不能启动,请修改oracle安装目录下的D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN中的listener.ora和tnsnames.ora中修改(ADDRESS = (PROTOCOL = TCP
引用
引用
)(HOST = 127.0.0.1)(
PORT = 1521))黑体部分,把ip改为需要访问的ip地址,启动服务即可
2.ora-12514:TNS:监听服务当前无法识别描述中的请求服务
原因:没有注册监听器
解决办法:
D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN中的listener.ora修改如下所示:
# listener.ora Network Configuration File: d:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = d:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = d:\app\Administrator\product\11.2.0\dbhome_1)
(SID_NAME = ORCL)
) LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)
ADR_BASE_LISTENER = d:\app\Administrator
加黑体部分,如果有(ENVS = "EXTPROC_DLLS=ONLY:d:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")这句,请去掉,重启OracleOraDb11g_home1TNSListener服务,就可以了
博客分类: 综合技术
近来安装oracle11g,使用后发现plsql和sqldeveloper等客户端工具不能用,提示以下错误:
1.ORA-12514: TNS: 程序无法监听
原因:OracleOraDb11g_home1TNSListener没有启动或不能启动
解决办法:若服务不能启动,请修改oracle安装目录下的D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN中的listener.ora和tnsnames.ora中修改(ADDRESS = (PROTOCOL = TCP
引用
引用
)(HOST = 127.0.0.1)(
PORT = 1521))黑体部分,把ip改为需要访问的ip地址,启动服务即可
2.ora-12514:TNS:监听服务当前无法识别描述中的请求服务
原因:没有注册监听器
解决办法:
D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN中的listener.ora修改如下所示:
# listener.ora Network Configuration File: d:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = d:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = d:\app\Administrator\product\11.2.0\dbhome_1)
(SID_NAME = ORCL)
) LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)
ADR_BASE_LISTENER = d:\app\Administrator
加黑体部分,如果有(ENVS = "EXTPROC_DLLS=ONLY:d:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")这句,请去掉,重启OracleOraDb11g_home1TNSListener服务,就可以了
推荐阅读