Modify the Oracle10g port and change EM

Source: Internet
Author: User

To modify the Oracle10g port, you must modify two files. (Modified by red hat linux as4u6)

Listener. ora and tnsnames. ora

All files are in the/opt/oracle10g/product/10.2.0.1/db_1/network/admin directory.

Modify listener. ora as follows:

--------------------------------------------

# Listener. ora Network Configuration File:/opt/oracle10g/product/10.2.0.1/db_1/network/admin/listener. ora

# Generated by Oracle configuration tools.

 

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = PLSExtProc)

(ORACLE_HOME =/opt/oracle10g/product/10.2.0.1/db_1)

(PROGRAM = extproc)

)

 (SID_DESC =

(GLOBAL_DBNAME = SID Name)

(ORACLE_HOME =/opt/oracle10g/product/10.2.0.1/db_1)

(SID_NAME = SID Name)

)

)

 

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1 ))

(ADDRESS = (PROTOCOL = TCP) (HOST = zz.net) (PORT =New Port Number))

)

)

--------------------------------------------- The text in the middle is added in italic; tnsnames. ora ------------------------------------------- # Generated by Oracle configuration tools. BDHTDBSM = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = zz.net) (PORT = new PORT number) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = BDHTDBSMS ))) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO ))) ------------------------------------------- since the EM (Enterprise Manager) is connected to the original data, you need to modify emca-config dbcontrol db (Run "reconfigure" and enter the new port number as required)

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.