您的位置:首页 > 其它

TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error

2013-12-25 17:06 666 查看
新建的数据库,在配置完listener的时候报这个错。

参考文章:https://community.oracle.com/message/4098938

     http://blog.csdn.net/ljsjr/article/details/8828969

在再次检查了ORACLE_HOME,ORACLE_SID,和 the listener.ora and the tnsnames.or 之后。
修改了 /etc/hosts,将localhost 设置为

127.0.0.1 localhost.localdomain localhost

重新启动Oracle listener,问题解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: