keepalived 安装错误
[root@lvs-dr1 keepalived-1.1.15]Keepalived configuration
------------------------
Keepalived version? ?? ? : 1.1.15
Compiler? ?? ?? ?? ?? ???: gcc
Compiler flags? ?? ?? ???: -g -O2
Extra Lib? ?? ?? ?? ?? ? : -lpopt -lssl -lcrypto
Use IPVS Framework? ?? ? : Yes
IPVS sync daemon support : Yes
Use VRRP Framework? ?? ? : Yes
Use LinkWatch? ?? ?? ?? ?: No
Use Debug flags? ?? ?? ? : No
?
?
解决:安装kernel-devel,重新减压,编译,安装
[root@lvs-dr1 /]# yum install kernel-devel
[root@lvs-dr1 keepalived-1.1.15]./configure --with-kernel-dir=/usr/src/kernels/2.6.18-128.el5/
?
1 楼 zhoumax 2012-05-01 你好,看了你的文章 ,想请教一个问题:我在opensuse下安装keepalived, 编译和安装的时候都没有报错,但是最后启动keepalived的时候 不管用你所说的 /etc/init.d/keepalived start , 还是 service keepalived start ,都会报一个 /etc/rc.d/init.d/functions no such file 错误。我查看了该目录下,确实没有这个functions文件,但是我打开 init.d/keepalived文件,上面确实写的是 /etc/rc.d/init.d/functions
。这是怎么回事呢?是因为我的系统原因吗?我的系统是opensuse11.1。那这样的话,我又如何启动keepalived 呢?期待您的帮助 。谢谢