异常处理
# 编译是报错 ./configure –prefix=/usr/local/keepalived
configure: error: No SO_MARK declaration in headers
增减 –disable-fwmark
./configure –prefix=/usr/local/keepalived –disable-fwmark
参考:
https://github.com/acassen/keepalived/blob/master/configure.in
http://mrhouzhibin.blog.163.com/blog/static/194596241201111109501168/
特别重要
keepalived 默认用的是 /etc/keepalived/keepalived.conf配置文件
# 编译是报错 ./configure –prefix=/usr/local/keepalived
configure: error: No SO_MARK declaration in headers
增减 –disable-fwmark
./configure –prefix=/usr/local/keepalived –disable-fwmark
参考:
https://github.com/acassen/keepalived/blob/master/configure.in
http://mrhouzhibin.blog.163.com/blog/static/194596241201111109501168/
特别重要
keepalived 默认用的是 /etc/keepalived/keepalived.conf配置文件
本文介绍在安装配置Keepalived过程中遇到的错误及解决方案,特别是关于./configure命令时出现的SO_MARK声明缺失的问题,并提供了禁用fwmark选项的方法。

被折叠的 条评论
为什么被折叠?



