无法与虚拟机内的oracle建立jdbc连接, 报“Io 异常: The Network Adapter could not establish the connection”,
解决问题过程:
1.oracle的浏览器管理控制台不能打开,发现ip地址有所改动,更改了url依然无效。发现在C:\oracle\product\10.2.0\db_1目录下有个以ip开头的文件,把此文件ip部分改为当前ip的值
2.经发现oracleoradb10g_homeitnslistener服务未启动,而且启动之后马上就自行停止了。查看注册表,供参考:
在HKEY_LOCAL_MACHINE/SYSTEM/ControlSet00X/和
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/的Services进入OracleOraHome92TNSListener项,更改字符串ImagePath,在数值数据中输入:C:\oracle\product\10.2.0\bin\TNSLSNR.EXE
3.使用oracle的net manager管理工具,更改或新建监听,主要是ip地址,保存后,启动oracleoradb10g_homeitnslistener服务,问题解决了。
注:可能最终问题在于oracleoradb10g_homeitnslistener服务未能启动oracleoradb10g_homeitnslistener表示监听服务,如果客户端想要连接到oracle database,此服务必须打开,读者可尝试直接在net manager中进行设置,以上只是个人在遇到问题时的解决过程。
分享到:
相关推荐
win7 系统 the security settings could not be applied to the database 在安装mysql的时候,就会遇到以下错误。遇到错误不可怕,怕的就是被错误所击倒! The security settings could not be applied to the ...
Intel(R) PRO 无线 3945ABG 网络连接_12.4.1.4.zip
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...
NULL 博文链接:https://trylin.iteye.com/blog/1913776
MVWebApp 一个简单的单页应用程序,使用以下... The driver has not received any packets from the server. (Caused by Connection refused (Connection refused)) Retrying in 1 sec...mvw_flyway | WARNING: Conne
torch 项目完整代码,公司无法使用git,所以放了个备份在csdn上 (git clone https://github.com/torch/distro.git ~/torch --recursive)
Perl Script Ftp Client - Connect the Ftp server and some file operation like create directly and file etc
这个简单的实用程序提供了一种查看HTTP POST和GET请求中发送的各种数据的简便方法,并提供了易于阅读/可解析的JSON响应。用法只需使用sudo nodejs main.js运行该文件,然后将浏览器指向 (或将您的Web服务器配置为...
SugarCRM的 SugarCRM 的 REST 绑定! 摘要: 通过 REST 与 SugarCRM 交互的一种不那么笨拙的方式。 特点/问题: 适用于所有 v2 API 调用 支持 Rails 2 和 3 ...# Enable debugging on the current conne
this is the simulink file for matrix converter with scott connection
最近在启动mysql 报错,错误提示如下: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock' (2) 排查过程 1、先查看 /etc/rc.d/init.d/mysqld status 看看...
主要介绍了解决vue net :ERR_CONNECTION_REFUSED报错问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
最近纠结致死的一个java报错java.net.SocketException: Connection reset 终于得到解决
TCP的connect扫描,指定IP的制定端口范围扫描
简单的SQL连接测试程序,SQL仅涉一张表,aa为用户名,ee是密码
一老哥想要实现navicat远程centos7上mongodb数据库 但是,不知咋的,就是远程不了,下面贴截图 navicat远程报错信息如下图 排查了一会 有发现: 一个问题就是:mongodb.conf 配置文件 配置把 binip 给注释掉 ...
java连接mysql数据库的驱动,里边包含两个版本:5.1.47、8.0.28 也可从以下两个地址免费下载: 1. https://repo1.maven.org/maven2/mysql/mysql-connector-java/ 2. ...
ssh: connect to host 192.168.136.130 port 22: Connection refused,Fodera 远程连接失败 1.首先确认是否安装process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3...
思科配置思科配置思科配置思科配置思科配置思科配置思科配置思科配置思科配置思科配置思科配置思科配置
用于连接和自动化车辆的混合动力车辆排配方、稳定性分析和应用_A Hybrid Vehicle Platoon for Connected and Automated Vehicles Formulation, Stability Analysis, and Applications.pdf