Oracle TNS:为我的服务 tnsping 时没有侦听器错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9367135/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Oracle TNS: No Listener error while tnsping for my service
提问by Mohamed
I just Installed Oracle 11g on windows 7 64bit, and when I tried to ping using tnsping
I faced this error TNS-12541: TNS:no listener
.
我刚刚在 Windows 7 64 位上安装了 Oracle 11g,当我尝试使用 ping 时tnsping
遇到了这个错误TNS-12541: TNS:no listener
。
So, I tried to start the listener using LSNRCTL> start
also I faced this error:
所以,我尝试使用LSNRCTL> start
我也遇到了这个错误来启动监听器:
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
回答by Praveen Alur
Set ORACLE_HOME
and try starting the Listener again.
设置ORACLE_HOME
并尝试再次启动监听器。