Oracle client cannot connect to server-side solutions and steps

Source: Internet
Author: User
Tags file permissions

The client cannot connect to the server-side database for reasons such as network, configuration, file access, whether the database service has been started, and so on, the following are the general troubleshooting steps:
1. Check whether the operating system level network is unobstructed

Ping 192.168.10.1


2. Check whether the database layer network is unobstructed

Tnsping Myserverdb


3. Check that the listening status is normal

LSNRCTL Status Listener


4. If the second step is not available, check that the server monitor configuration is correct

The listening file configuration is generally as follows

# Listener Name

Listener=

(discription =

(address= (PROTOCOL = TCP) (host=192.168.4.80) (port=1521))

)

# Listen to the list of services

Sid_list_listener =

(

Sid_list =

(Sid_desc =

(Global_dbname = ORCL)

(Oracle_home = F:\app\Administrator\product\11.2.0\dbhome_1)

(Sid_name = ORCL)

)

(Sid_desc =

)

...

)

5. Check that the client Tnsnames.ora is configured correctly

Where the protocol, hostname, port, database instance name should be consistent with the server


6. Check the listening log listener.log file to find the corresponding log


7. Check file permissions

Check that the/var/tmp/.oracle file belongs to a group that must be a Oinstall group for the client to connect

This article is from the "8016776" blog, please be sure to keep this source http://8026776.blog.51cto.com/8016776/1695683

Oracle client cannot connect to server-side solutions and steps

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.