您的位置:首页 > 运维架构 > Linux

TNS-12560: TNS:protocol adapter error and Linux Error: 111: Connection refused

2013-11-22 14:19 676 查看
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localdomain)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused

解决过程:
[oracle@ log]$ more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
10.10.5.24 localdomain
10.10.3.254 localdomain

[root@~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost #添加
10.10.5.24 localdomain
10.10.3.254 localdomain
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: