Error while refreshing Ming database login with the xxx DRIVER: Io exception: the network adapter cocould not estab

Source: Internet
Author: User

 

Error:

Error while locking Ming database login with the xxx DRIVER:

Io exception: the network adapter cocould not establish the connection

The preceding error is returned when myeclipse8.6 connects to the oracle11gr2 database. When you test the connection with an Oracle client, the connection times out.

Analysis and Solution:

1: Check whether the network is smooth. For example, Ping 192.168.1.100 to check whether the network can communicate normally.

2: confirm that the Oracle service has been started.

Oracleoradb11g_home1tnslistener;

Oracleserviceorcl;

3: Check whether the firewall has been disabled

Probably because of the firewall, you can disable it first.

4: if the external machine is still inaccessible after the above detection, modify the corresponding configuration file as follows.

In the installation directory

For example, found in D: \ oracle \ product \ 10.2.0 \ db_1 \ Network \ admin

Listener. ora;

Tnsnames. ora;

These two files

Replace the localhost or machine name in the two files with the server IP address.

InstanceCodeAs follows:

Sid_list_listener =

(Sid_list =

(Sid_desc =

(Sid_name = clrextproc)

(ORACLE_HOME = D: \ oracle \ product \ 11.2.0 \ dbhome_1)

(Program = EXTPROC)

(Envs = "extproc_dlls = only: D: \ oracle \ product \ 11.2.0 \ dbhome_1 \ bin \ lrlr11.dll ")

)

(Sid_desc =

(Sid_name = clrextproc)

(ORACLE_HOME = D: \ oracle \ product \ 11.2.0 \ dbhome_1)

(Program = EXTPROC)

(Envs = "extproc_dlls = only: D: \ oracle \ product \ 11.2.0 \ dbhome_1 \ bin \ lrlr11.dll ")

)

)

 

Listener =

(Description_list =

(Description =

(Address = (Protocol = TCP)(Host = Oracle)(Port = 1521 ))

)

)

 

ORACLE_HOME= Installation directory for Oracle

Host = Oracle

Replace this with the IP address of the Installation server.

At this point, the above problems are finally solved.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.