目录
1.首先查看oracle12c监听服务是否启动
2. ping 本地id是否能ping通
3.检测配置监听是否有错误:
4.重新配置监听器Net Configuration Assistant
5.之后重启OracleServiceORCL服务
1.首先查看oracle12c监听服务是否启动
2. ping 本地id是否能ping通
3.检测配置监听是否有错误:
找到 Oracle 监听配置文件(listener.ora)和TNS配置文件(tnsnames.ora)
我的安装路径是E:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.139)(PORT = 1521))
)
)
4.重新配置监听器Net Configuration Assistant
具体配置参考https://www.cnblogs.com/yx007/p/6732012.html
5.之后重启OracleServiceORCL服务
基本情况就以上几种 我也踩过一次坑 所以就记录下来了