Oracle provides five Network Services

Source: Internet
Author: User
Hostnaming: Host naming method (the client is windowsxp and the server is linuxoracle9i) 1. Configure sqlnet on the client. oraSQLNET. AUTHENTICATION_SERVICES (ETS) NAMES. DIRECTORY_PATH (TNSNAMES, HOSTNAME) 2. Configure the listener on the server. oraLISTENER (DESCRIPTION (

Host naming: host naming method (the client is windows xp, and the server is linuxoracle 9i) 1. Configure sqlnet on the client. ora SQLNET. AUTHENTICATION_SERVICES = (ETS) NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME) 2. Configure the listener on the server. ora LISTENER = (DESCRIPTION = (

Host naming: host naming method (the client is windows xp, and the server is linux + oracle 9i)

1. Configure sqlnet. ora of the Client

SQLNET. AUTHENTICATION_SERVICES = (CNT)

NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME)

2. Configure listener. ora on the server.

LISTENER =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = linuxoracle) (PORT = 1521) # note that the HOST is configured as the HOST name.

)

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(GLOBAL_DBNAME = linuxoracle) # note that GLOBAL_DBNAME is the host name.

(ORACLE_HOME =/u01/app/oracle/product/9.2.0)

(SID_NAME = dg1)

)

(SID_DESC =

(GLOBAL_DBNAME = linuxoracle)

(ORACLE_HOME =/u01/app/oracle/product/9.2.0)

(SID_NAME = OEMREP)

)

)

3. Link:

C: Documents and Settings ew> sqlplus system/lijie123 @ linuxoracle

Note:

1. If GLOBAL_DBNAME and sqlplus are not correctly configured, the following error is returned:

ORA-12514: TNS: The Listener currently cannot identify the Service requested in the connection Descriptor

2. ORA-12154: TNS: the specified connection identifier cannot be resolved. It may be a client hosts or dns problem. Open hosts

#102.54.94.97 rhino.acme.com # source server

#38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

To:

........................................ .......................

#102.54.94.97 rhino.acme.com # source server

#38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

192.168.1.61 linuxoracle

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.