Oracle problems-Cause Analysis of remote logon Failure and oracle failure

Source: Internet
Author: User

Oracle problems-Cause Analysis of remote logon Failure and oracle failure

Remote machine:

Install the Oracle computer;

Local Machine:

The computer that accesses the Oracle database on the remote machine.

I. Problem Description

Install the Oracle database on a remote computer.

On the local machine, After configuring InstantClient,

Use PLSql Developer to remotely log on to the Oracle database and report an Oracle error.

Ii. Solution

Analyzes the cause, such as ORA-1455, based on the Oracle error code.

Iii. Cause Analysis

It is often caused by remote or local computer configuration errors.

Iv. Solutions

(1) Ensure that the Oracle database on the remote computer can be accessed using PLSql.

If the database cannot be accessed, reconfigure the Oracle database on the remote computer;

(2) After the Oracle database is installed, the database connection configuration is for the machine where the database is located.

Therefore, you cannot log on to the Oracle database on another machine on another computer.

In this case, you need to change the configuration file on the remote computer (the computer where Oracle is installed;

(3) Modify two files: listener. ora and tnsnames. ora.

It can be retrieved from the Oracle installation directory.

-- All SID_NAME and SID values,

Changed to the value of SERVICE_NAME in tnsnames. ora of InstantClient;

-- Change the value of all hosts to the IP address of the computer where the Oracle database is located;

(4) restart the Oracle database on the remote machine,

Start PLSql Developer on the local machine,

You can successfully log on to the Oracle database on the remote machine.

Environment:

-- Remote machine environment:

 

Win7 SP1

 

Oracle 11g

-- Local machine environment:

 

Win7 SP1

 

PLSql Developer 8.0.4.1514

 

 InstantClient 11.2

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.