Reset Oracle configuration and oracle configuration

Source: Internet
Author: User

Reset Oracle configuration and oracle configuration

ORACLE is often pitfall. As a programmer who only needs to connect to ORACLE during development, he decided to write down these trivial things after having gone through time and time.

 

ORACLE is often used in virtual machines, and some changes to the network configuration of ORACLE will go down. I am also convinced of this, and I am often confused about the problem. In summary, after setting ORACLE, you cannot change the configuration. If you are not familiar with the configuration, you may find it confusing, it may not be easy to use.

Let's talk about resetting:

Run cmd

Set ORACLE_SID = ORCL % service name %

Set oracle_hostname = host name % prevent failed resolution %

Emca-config dbcontrol db-repos recreate

 

% Enter various information. After successful completion, check listener. ora (under the oracle main directory \ network \ ADMIN \) and comment this (PROGRAM = extproc) %

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = prod)
(ORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1)
# (PROGRAM = extproc)
)
)

Check the listening address of the net manager and the configuration of the net configuration assistant. Make sure that the ip address is the same. Restart the listener (directly restart services. msc)

 

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.