简体   繁体   English

将SQL Developer从lubuntu到centos连接到Oracle 11g

[英]Connecting sql developer to oracle 11g from lubuntu to centos

I have Installed sql-developer on Lubuntu and I want to connect sql-developer to oracle 11g, oracle 11g installed in another system( Centos )and sql-developer installed( Lubuntu ) while testing the connectivity from sql-developer via tns service name its showing error as "Status -Test Failed: IO Error The Network Adapter Couldn't establish the connection" . 已经Lubuntu上安装了sql-developer ,我想将sql-developer连接到oracle 11g,将oracle 11g安装在另一个系统( Centos )中,并安装sql-developer (安装Lubuntu ), 同时测试通过tns服务将sql-developer的连接命名为显示 错误为“状态-测试失败:IO错误网络适配器无法建立连接” TNSPING is working for service names and ping ip-address is also working in destination sever where we have installed oracle 11g database . TNSPING用于服务名称,而ping ip-address在我们已安装oracle 11g数据库的目标服务器中也起作用

Please let me know to resolve this issue. 请让我知道以解决此问题。

Thanks, Ranjithkumar 谢谢,Ranjithkumar

Could you please provide your TNS-Names File or the configuration of your SQL-Developer? 您能否提供您的TNS名称文件或SQL-Developer的配置? The Error seems to occur because of a false Host-Definition. 错误似乎是由于错误的主机定义而发生的。 Be sure that you put in the right SID or Service name. 确保输入正确的SID或服务名称。 If you assume that your configuration must be right, please Check your DNS- and firewall-Settings. 如果您认为您的配置必须正确,请检查您的DNS和防火墙设置。 Further you can change into the Oracle-Bin Folder and execute the "tnsping" binary with the Host as Parameter. 此外,您可以转到Oracle-Bin文件夹并使用“主机”作为参数执行“ tnsping”二进制文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM