listener start 错误(Linux Error: 104)解决

####################################################
# Linux Error: 104: Connection reset by peer
####################################################
oracle rac 10g 10.1.0.3 linux as 4
lsnrctl start出现错误
[oracle@rac2 ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 05-MAR-2007 14:46:00
Copyright (c) 1991, 2004, Oracle.  All rights reserved.
Starting /u01/app/oracle/product/10.1.0/db/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.3.0 - Production
System parameter file is /u01/app/oracle/product/10.1.0/db/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.1.0/db/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac2)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
  TNS-00517: Lost contact
   Linux Error: 104: Connection reset by peer

解决方法:
检查/etc/hosts文件
[oracle@rac2 ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

# Public
#Virtual
#Private
192.168.1.251   rac1
192.168.1.253   rac2
192.168.1.252   rac1-vip
192.168.1.254   rac2-vip
10.0.0.1        rac1-priv
10.0.0.2        rac2-priv
加入127.0.0.1 localhost一行,重启监听成功