FIX: The Oracleoradb10g_home1tnslistener service on the local computer stops after it starts

Source: Internet
Author: User

Original address: http://justsee.iteye.com/blog/1320059

Start a problem manually: stop after the Oracleoradb10g_home1tnslistener service on the local computer starts. Some services stop automatically when they are not being used by other services or programs.

When looking for solutions on the Internet, we found that many people have encountered this problem, but none of them have been solved. Keep a record of the following, save a backup, convenient for next check

Question 1: First check your "network\admin" Directory of "Tnsnames.ora" and "Listener.ora" The two files, my path is: D:\oracle\product\10.2.0\db_1\NETWORK\ ADMIN, and then look inside the "HOST" information to see if it is your current IP address, if you are not trying to change the 2 files to your IP address, or directly to the 127.0.0.1 (or computer name):

Java code

1.LISTENER =  2.  (Description_list =  3.    (DESCRIPTION =  4.      (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1))   5.      (ADDRESS = (PROTOCOL = TCP) (HOST =127.0.0.1) (PORT = 1521))  6.    )   7.  )

And then start the listener just fine.

But also found that there is a first unsuccessful friend, then try the second step :

Issue 2: In the registry

Hkey_local_machine/system/currentcontrolset/services/oracleoradb11g_home1tnslistener
Replace the ImagePath in the following:

D:\oracle\product\10.2.0\db_1/bin/tnslsnr. EXE (previous. exe not followed)

Question three: in environment variables

Oracle_home instead of: D:\oracle\product\10.2.0\db_1

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.