Keepalived报错 default user does not exist 。。
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 。。的主要内容,如果未能解决你的问题,请参考以下文章
MySQL 5.7 Invalid default value for 'CREATE_TIME'报错的解决方法
php报错 Parse error: syntax error, unexpected $end, expecting T_CASE or T_DEFAULT or ''