Good morning,
I had my Oracle 11g database running with no problems, then, I installed MapViewer and made a start script that set the ORACLE_HOME to the OC4J directory. They were both running fine until I restarted my computer. Now I can't start the 11g listener, even after setting the ORACLE_HOME path back to the original. If I enter "lsnrctl start" I get the following error message:
"Failed to start service, error 0".
I mentioned the installation of MapViewer and setting the ORACLE_HOME variable because I believe that was the only important change I made before it stopped working. Now I can't get the listener to start. The listener log file does not exist. If I enter "lsnrctl status" I get the following reply:
"LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error"
Also found this thread, the problem seems to be the same, but the author never said what he did to fix it:
656183
Thanks in advance for your help.