Ldirectord检测不到真实服务器(已解决)

1、/etc/ha.d/ldirectord.cf
checktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
#logfile="local0"
#emailalert="admin@x.y.z"
#emailalertfreq=3600
#emailalertstatus=all
quiescent=no

# Sample for an http virtual service
virtual=192.168.98.130:80
real=192.168.98.121:80 gate
real=192.168.98.122:80 gate
fallback=127.0.0.1:80 gate
service=http
request="www.html"
receive="Test Page"
virtualhost=lb.backup.com
scheduler=rr
persistent=600
netmask=255.255.255.255
protocol=tcp
checktype=negotiate
checkport=80

2、/var/log/ldirectord.log
[Sun Apr 22 16:49:13 2007|ldirectord|3871] Invoking ldirectord invoked as: /usr/local/heartbeat/sbin/ldirectord start
[Sun Apr 22 16:49:13 2007|ldirectord|3871] Starting Linux Director v1.186 as daemon
[Sun Apr 22 16:49:13 2007|ldirectord|3873] Added virtual server: 192.168.98.130:80
[Sun Apr 22 16:49:13 2007|ldirectord|3873] Added fallback server: 127.0.0.1:80 (192.168.98.130:80) (Weight set to 1)

好郁闷,真实服务器没有检测到,但是虚拟IP和127.0.0.1却能被检查到。不知错在哪里?

============================
这个问题已经解决了,为了让大家少走弯路,我把过程整理出来与大家分享:
在真实服务器里,/etc/httpd/conf/httpd.conf里,其中:
Listen 80这里,我加上了VIP的地址,即写成了:192.168.98.130:80,后来改成了Listen 80就可以了.

Forums:

ldirector 配置
# Global Directives
checktimeout=3
checkinterval=1
#fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
#logfile="local0"
#emailalert="admin@x.y.z"
#emailalertfreq=3600
#emailalertstatus=all
quiescent=no

# Sample for an http virtual service
virtual=192.168.10.100:80
real=192.168.10.102:80 gate
real=192.168.10.104:80 gate
real=192.168.10.115:80 gate
real=192.168.10.117:80 gate
fallback=127.0.0.1:80 gate
service=http
request="index.html"
receive="Test Page"
virtualhost=fastweb
scheduler=rr
#persistent=600
#netmask=255.255.255.255
protocol=tcp
checktype=negotiate
checkport=80

日志
[Fri Apr 27 16:16:55 2007|ldirectord|7640] Invoking ldirectord invoked as: /usr/sbin/ldirectord restart
[Fri Apr 27 16:16:55 2007|ldirectord|6584] system(/sbin/ipvsadm -D 192.168.10.100:80) failed: Interrupted system call
[Fri Apr 27 16:16:55 2007|ldirectord|6584] Purged virtual server (stop): 192.168.10.100:80
[Fri Apr 27 16:16:55 2007|ldirectord|6584] Linux Director Daemon terminated on signal: TERM
[Fri Apr 27 16:16:56 2007|ldirectord|7640] Starting Linux Director v1.186 as daemon
[Fri Apr 27 16:16:56 2007|ldirectord|7643] Changed virtual server: 192.168.10.100:80
[Fri Apr 27 16:16:56 2007|ldirectord|7643] Restored real server: 192.168.10.102:80 (192.168.10.100:80) (Weight set to 1)
[Fri Apr 27 16:16:56 2007|ldirectord|7643] Restored real server: 192.168.10.115:80 (192.168.10.100:80) (Weight set to 1)
[Fri Apr 27 16:16:56 2007|ldirectord|7643] Restored real server: 192.168.10.117:80 (192.168.10.100:80) (Weight set to 1)
[Fri Apr 27 16:16:56 2007|ldirectord|7643] Deleted real server: 192.168.10.102:80 (192.168.10.100:80)
[Fri Apr 27 16:16:59 2007|ldirectord|7643] Deleted real server: 192.168.10.115:80 (192.168.10.100:80)
[Fri Apr 27 16:16:59 2007|ldirectord|7643] Deleted real server: 192.168.10.117:80 (192.168.10.100:80)
[Fri Apr 27 16:16:59 2007|ldirectord|7643] Added fallback server: 127.0.0.1:80 (192.168.10.100:80) (Weight set to 1)