Another possible reason why Oracle is not connected to the Ora-12162:tns:net service name is incorrectly specified

Source: Internet
Author: User
Tags sqlplus

Using Sqlplus to connect Oracle database times wrong:

[Email protected] ~]# sqlplus oracle/[email PROTECTED]//10.5.0.7:1521/SSP

Sql*plus:release 11.1.0.7.0-production on Thu June 26 10:16:21 2014

Copyright (c) 1982, the Oracle. All rights reserved.

ERROR:

Ora-12528:tns:listener:all appropriate instances is blocking new connections

Enter User-name:


Error when using Oracle Java Client Connection:

caused by:oracle.net.ns.NetException:End of TNS data channel

At Oracle.net.ns.NetInputStream.getNextPacket (netinputstream.java:165)

At Oracle.net.ns.NetInputStream.read (netinputstream.java:117)

At Oracle.net.ns.NetInputStream.read (netinputstream.java:92)

At Oracle.net.ns.NetInputStream.read (netinputstream.java:77)

At Oracle.jdbc.driver.T4CMAREngine.unmarshalUB1 (t4cmarengine.java:1034)

At Oracle.jdbc.driver.T4CMAREngine.unmarshalSB1 (t4cmarengine.java:1010)

At Oracle.jdbc.driver.T4C8TTIdty.receive (t4c8ttidty.java:516)

At Oracle.jdbc.driver.T4CConnection.logon (t4cconnection.java:332)

... Ten more


Using Netstat-an | grep:1521 Check the time to find that the port monitoring is correct, when the client to link the state of established, but instantly became the TIME_WAIT state.

The client and Oracle server IP are also available and ping is not a problem.

Oracle servers and clients are in different two networks, and Oracle and network machines can connect to the database properly.

Finally found that the client and Oracle Server MTU settings are not the same result. Change it to the same.

You must ensure that the MTU is consistent across network access and that communication is normal.

This article is from the "small Hebebe Technology Space" blog, please be sure to keep this source http://babyhe.blog.51cto.com/1104064/1431069

Related Article

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.