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