LVS+keepalive配置好后,启动服务后,vip正常,而ipvsadm -L没有任何内容

1,环境和规划:
内核版本:2.6.18
IPVS安装的版本为:ipvsadm-1.24-6.src.rpm
keepalive版本为:keepalived-1.1.19.tar.gz

以上安装均正常.
Keepalived configuration
------------------------
Keepalived version : 1.1.19
Compiler : gcc
Compiler flags : -g -O2 -DETHERTYPE_IPV6=0x86dd
Extra Lib : -lpopt -lssl -lcrypto
Use IPVS Framework : Yes
IPVS sync daemon support : Yes
Use VRRP Framework : Yes
Use Debug flags : No

lvs01(VS/DR主服务器)
接口:eth0
物理IP:192.168.1.21/24
GW:192.168.1.1
eth0:0 vip1:192.168.1.19
eth0:1 vip2:192.168.1.20 

lvs01(VS/DR备服务器)
接口:eth0
物理IP:192.168.1.22/24
GW:192.168.1.1
eth0:0 vip1:192.168.1.19
eth0:1 vip2:192.168.1.20 

问题:
配置好keepalived.conf,且启动keepalived的服务,VIP正常,不过ipvsadm -L没有任何的内容,难道我的VS配置有问题?这是啥原因呢?
[root@lvs01 keepalived]# ip a
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:9b:7f:1f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.21/24 brd 192.168.1.255 scope global eth0
inet 192.168.1.19/32 scope global eth0
inet 192.168.1.20/32 scope global eth0

keepalived.conf内容:

[root@lvs01 keepalived]# more keepalived.conf
#! Configuration File for keepalived
global_defs {
notification_email {
acassen@firewall.loc
failover@firewall.loc
sysadmin@firewall.loc
}
notification_email_from Alexandre.Cassen@firewall.loc
smtp_connect_timeout 30
router_id LVS01
}

vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.1.19
192.168.1.20
}
}

virtual_server 192.168.1.19 80 {
delay_loop 6
lb_algo rr
lb_kind DR
persistence_timeout 50
protocol TCP
real_server 192.168.1.23 80 {
weight 1
TCP_CHECK {
connect_timeout 3
nb_get_retry 3
delay_before_retry 3
connect_port 80
}
}
real_server 192.168.1.24 80 {
weight 1
TCP_CHECK {
connect_timeout 3
nb_get_retry 3
delay_before_retry 3
connect_port 80
}
}
}

Forums:

问题解决:

启动keepalived后
[root@lvs01 ~]# service keepalived start
Starting keepalived: [ OK ]

[root@lvs01 ~]# ps -ef|grep keep
root 3716 1 0 00:07 ? 00:00:00 keepalived -D --use-file /etc/keepalived/keepalived.conf
root 3717 3716 5 00:07 ? 00:00:00 keepalived -D --use-file /etc/keepalived/keepalived.conf
root 3720 3220 0 00:07 pts/1 00:00:00 grep keep

--------这里只看到2个进程。

/usr/local/keepalive/sbin/keepalived -D --use-file /etc/keepalived/keepalived.conf

[root@lvs01 ~]# ps -ef|grep keep
root 3647 1 0 Sep15 ? 00:00:00 /usr/local/keepalive/sbin/keepalived --use-file /etc/keepalived/keepalived.conf
root 3648 3647 0 Sep15 ? 00:00:00 /usr/local/keepalive/sbin/keepalived --use-file /etc/keepalived/keepalived.conf
root 3649 3647 0 Sep15 ? 00:00:00 /usr/local/keepalive/sbin/keepalived --use-file /etc/keepalived/keepalived.conf
root 3693 3220 0 00:06 pts/1 00:00:00 grep keep

-------这里可以看到3个进程。

解决办法:
[root@lvs01 ~]# which keepalived
/usr/sbin/keepalived

[root@lvs01 ~]# ls -l /usr/sbin/keepalived
-rwx------ 1 root root 88616 Sep 14 22:14 /usr/sbin/keepalived

[root@lvs01 ~]# ls -l /usr/local/keepalive/sbin/keepalived
-rwx------ 1 root root 128968 Sep 15 01:19 /usr/local/keepalive/sbin/keepalived

cp /usr/local/keepalive/sbin/keepalived /usr/sbin/keepalived