我是靠谱客的博主 可靠皮皮虾,最近开发中收集的这篇文章主要介绍Keepalived报错 default user does not exist 。。,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

起因:

配置kubernetes集群master高可用期间发现keepalived 配置健康检查后,启动报错。

报错内容

Keepalived_vrrp: Registering gratuitous ARP shared channel
Keepalived_vrrp: Opening file '/etc/keepalived/keepalived.conf'

Keepalived_vrrp: WARNING - default user 'keepalived_script' for script execution does not exist - please create.

Keepalived_vrrp: Truncating auth_pass to 8 characters
Keepalived_vrrp: Unable to access script `curl`
Keepalived_vrrp: Disabling track script Check.keepalived since not found
Keepalived_vrrp: VRRP_Instance(VI_1) removing protocol VIPs.

解决办法:

配置文件添加运行健康检查脚本的用户或者组即可


global_defs {
   router_id k8s

#添加内容如下:
   script_user root
   enable_script_security 

}

最后

以上就是可靠皮皮虾为你收集整理的Keepalived报错 default user does not exist 。。的全部内容,希望文章能够帮你解决Keepalived报错 default user does not exist 。。所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(56)

评论列表共有 0 条评论

立即
投稿
返回
顶部