Oracle 10g database Conflict with client causes instance creation without monitoring issues

Source: Internet
Author: User

A colleague creates an instance on Oracle 10g, and at the end of the page, an error pops up, prompting for a failed listener. View the service without generating a listening service. So I deleted it, tried it several times, and so on.

It's really upsetting. The hint says port 1521, is this port occupied? With the Netstat-aon command looked down, and did not. And there is no place to set up the port during the creation of the instance.

Later, the net manager was tried, and a listener was created manually. Look at the system services, found that there are already listener; then modify the Tnsnames.ora file, create a connection string, connect, success.

In fact, the Tnsnames.ora file that I modified is the Oracle 10g client below. The client was installed in advance, and then the database was installed. It is estimated that there is a conflict. The answer is

1. Create an instance
2, manually create monitoring
3, modify the Tnsnames.ora at the client

Do you have to modify the client's Tnsnames.ora? Does the client have a higher priority than the database? This is not an estimate, it can be set in the environment variables of the operating system:

Set path.

PATH=C:\instantclient-basic-windows.x64-12.1.0.2.0\instantclient_12_1;E:\oracle\product\10.2.0\db_1\bin;1

The top priority should be high.

As for what Oracle_home, it seems that there is no egg to use. It's not clear what the eggs are for. On the Internet to copy some, first write down:

ORACLE_BASE、ORACLE_HOME有什么区别ORACLE_BASE下是admin和productORACLE_HOME下则是ORACLE的命令、连接库、安装助手、listener等等一系列的东东。这只是ORACLE自己的定义习惯。ORACLE_HOME比ORACLE_BASE目录要更深一些。也就是说:ORACLE_HOME=$ORACLE_BASE/product/versionORACLE_BASE是oracle的根目录,ORACLE_HOME是oracle产品的目录。简单说,你如果装了2个版本的oracle,那么ORACLE_BASE可以是一个,但ORACLE_HOME是2个

Oracle 10g database conflicts with client causes no listener issues with instance creation

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.