安装keepalived 报错`install' is up to date
来源:互联网 发布:爱知工科大学怎么样 编辑:程序博客网 时间:2024/05/18 00:19
今天使用keepalived来测试mysql主备自动切换
安装时遇到如下问题
在make install时出现 make[1]: `install' is up to date
解决方案,把源码包目录中 INSTALL文件改成其它的名字,包括genhash/INSTALL
错误2:在执行service keepalived start后,查看ip绑定情况,发现vip没有被绑定,
查看网络配置
vim /etc/sysctl.conf
net.ipv4.ip_forward = 0//这里改为1,打开ip转发
在文件未尾添加如下参数
net.ipv4.conf.lo.arp_ignore= 1
net.ipv4.conf.lo.arp_announce= 2
net.ipv4.conf.all.arp_ignore= 1
net.ipv4.conf.all.arp_announce= 2
执行sysctl -p,然后重启机器即可。
填坑完毕 :)
0 0
- 安装keepalived 报错`install' is up to date
- 4、maven报错Project configuration is not up-to-date with pom.xml
- Maven项目工程上有红叉其他地方没有,报错:Project configuration is not up-to-date w
- maven项目报错:ResourcePathLocationType Project configuration is not up-to-date with pom.xml
- make: `clean' is up to date
- Git:your branch is up-to-date
- make: `ob_default' is up to date.
- maven项目报错--Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Qu
- 【git】Your branch is up-to-date 和 Everything up-to-date
- maven项目报:Project configuration is not up-to-date with pom.xml. Run Maven->Update Project
- nod32 总是提示 operating system is not up to date
- 优化数据表出现“Table is already up to date”
- Project configuration is not up-to-date with pom.xm
- Project configuration is not up-to-date with pom.xml
- Project configuration is not up-to-date with pom.xml
- Project configuration is not up-to-date with pom.xml
- Project configuration is not up-to-date with pom.xml
- makefile 出现“is up to date”提示的修改方法
- 利用正则表达式除去html得到纯文本
- ashrpt.sql
- 【树链剥分】专题小结
- [php] 静态方法 接口 链式操作
- poj 3723 kruscal,反边取最大生成树。
- 安装keepalived 报错`install' is up to date
- 设计模式(十八)之 Strategy(策略)
- ThinkPHP3.2使用PHPMailer发送邮件
- HDU ACM 4515 小Q系列故事——世界上最遥远的距离
- 英语学习电影资源
- 面试题:Java中对象序列化接口(Serializable)的意义
- 【重构】dll文件是什么
- 无需光驱恢复或重置系统(正常会提示插入介质)
- qtsdk仓库中国镜像