An experience of "ora-12170 TNS connection timeout"

Source: Internet
Author: User
 

Win7 64-bit System

Oracle 10g 64-bit

PLSQL before the connection is good to make, suddenly unable to connect, the error message "ora-12170 TNS connection timeout"

1. Ping the IP address.

2. Check port 1521 in netstat-na. The port is correct.

3. No firewall Problems

4. SNMP off detected by LSNRCTL status

Solution

First: DBA User Login system, failure shutdown Report: ora-00106 error:

Because RAC is not a single machine, SERVICE_NAME in tnsnames is the computer name and changed to IP address.

 

Second, it becomes an error. Add the following code (in red) to solve the problem.

Orcl =
(Description =
(Address_list =
(Address = (Protocol = TCP) (host = 192.168.3.186) (Port = 1521 ))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
(Srvr = dedicated)
)
)

Finally, an error is reported when you log on as a DBA:

Ora-12514 error; solution:

Open the <oraclehome>/Network/adminstener. ora file and find:
Sid_list_listener =
(Sid_list =
(Sid_desc =
(Sid_name = plsextproc)
(ORACLE_HOME = D: \ oracle \ product \ 10.2.0 \ db_1)
(Program = EXTPROC)
)
)
2. Add:
(Sid_desc =
(Global_dbname = Oracle)
(ORACLE_HOME = D: \ oracle \ product \ 10.2.0 \ db_1)
(Sid_name = Oracle)
)
3. Finally changed:
Sid_list_listener =
(Sid_list =
(Sid_desc =
(Sid_name = plsextproc)
(ORACLE_HOME = D: \ oracle \ product \ 10.2.0 \ db_1)
(Program = EXTPROC)
)
(Sid_desc =
(Global_dbname = Oracle)
(ORACLE_HOME = D: \ oracle \ product \ 10.2.0 \ db_1)
(Sid_name = Oracle)
)
)
4. Save the file and restart tnslistener in the service. OK!

An experience of "ora-12170 TNS connection timeout"

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.