The Oracleoradb11g_home1tnslistener service on the local computer starts and then stops the solution. (My system is win7-installed Oracle 11g)
1. Error description: The Oracleoradb11g_home1tnslistener service on the local computer was started and stopped. Some services stop automatically if they have nothing to do, such as the "Performance Logs and Alerts" service.
2, the solution: D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN under the Listener.ora the file inside the file can change host= your computer name.
3, Reason analysis:
The reason for this error is that when you install Oracle, you are connected to the network, and the host= networks in the Listener.ora file give you the assigned IP address, which happens when you break the network.
Start a problem manually: stop after the Oracleoradb11g_home1tnslistener service on the local computer starts. Some services stop automatically when they are not being used by other services or programs.
Question one: first check your "network\admin" Directory of "Tnsnames.ora" and "Listener.ora" The two files, my path is: D:\app\Administrator\product\11.2.0\ Dbhome_1\network\admin, then look inside the "HOST" information, 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) localhost:
Java code
LISTENER =
(Description_list =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP) (HOST =127.0.0.1) (PORT = 1521))
)
)
[Java]
LISTENER =
(Description_list =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP) (HOST =127.0.0.1) (PORT = 1521))
)
)
LISTENER = (Description_list = (DESCRIPTION = (address = (PROTOCOL = IPC) (KEY = EXTPROC1)) (address = (PROTOCOL = TCP) (HOS T =127.0.0.1) (PORT = 1521))))
And then start the listener just fine.
Issue two: in the registry
Hkey_local_machine/system/currentcontrolset/services/oracleoradb11g_home1tnslistener
Replace the ImagePath in the following:
D:\app\Administrator\product\11.2.0\dbhome_1\BIN\TNSLSNR. EXE (previous. exe not followed)
Question three: in environment variables
Oracle_home instead of: D:\app\Administrator\product\11.2.0\dbhome_1
Note: Please restart your computer after you modify it!!!
This is also i from the online forum search, very practical, on the Save up, in case other friends encounter the same problem is also good to solve
Oracle Monitoring service failed to start