I am unable to restart/start/stop TNSListener service. I am getting following error:- "The OracleDb_10gTNSListener Service on local computer started and then stopped. Some services stop automatically if they have no work to do, for example, the performance logs and Alerts Service". Please help me
Step 1: Check your ip address and copy it.
Step 2: Open (listener.ora) in notepad and replace the HOST ip address with your current ip address.That you copied earlier.
Note: Do not forget to replace the second entry of HOST ip.
Step 3: Now open (tnsnames.ora) with notepad and replace HOST ip address with your current ip address.
Finally start your listner service from windows services or from command prompt. Hope this will work. Worked for me.