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)