ipvsadm 编译问题。

看过之前大家遇到的问题,也阅读了wiki上面的步骤。依然没法解决。
redhat version: Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
kernal version: 2.4.21-15.ELsmp
[root@dhcppc15 ipvsadm-1.21-11]# modprobe ip_vs
[root@dhcppc15 ipvsadm-1.21-11]# cat /proc/net/ip_vs
IP Virtual Server version 1.0.8 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn

错误信息为:
[root@dhcppc15 root]# cd ipvsadm-1.21-11
[root@dhcppc15 ipvsadm-1.21-11]# make
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include -I.. -I. -DVERSION=\"1.21\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq"\" -DHAVE_POPT -DHAVE_NET_IP_VS_H -o ipvsadm.o -c ipvsadm.c
ipvsadm.c: In function `parse_options':
ipvsadm.c:522: structure has no member named `syncid'
ipvsadm.c: In function `list_daemon':
ipvsadm.c:1645: structure has no member named `mcast_master_ifn'
ipvsadm.c:1647: structure has no member named `mcast_backup_ifn'
make: *** [ipvsadm.o] Error 1

software页面上tar文件
ipvsadm-1.21-11.tar.gz - January 22, 2005 //编译不通过。
ipvsadm-1.21.tar.gz - October 27, 2004 //编译通过。

请教大家:)

Forums:

主要是Red Hat Enterprise Linux 3 kernel包含的IPVS是1.0.8版本。

在IPVS Software页面上,注明了
# ipvsadm-1.21-11.src.rpm (for 1.0.12 or later) - January 22, 2005
# ipvsadm-1.21-10.src.rpm (for 1.0.4 or later) - October 27, 2004

所以,你可以使用ipvsadm-1.21-10.src.rpm为RHEL3编译出ipvsadm的RPM包。

我已经用ipvsadm-1.21-10.src.rpm成功安装并且在进行测试了。细节没有注意到。。。:P

I really wish there were more arcetlis like this on the web.

randomness