keepalived日志报错Unsafe permissions found for script【转】

keepalived日志报错Unsafe permissions found for script,

Unsafe permissions found for script ‘/usr/local/src/nginx_check.sh

global_defs 中不要使用enable_script_security,而应该使用script_user root。正如上面给出的keepalived.conf一样。

global_defs
{
   router_id lb01
   script_user root
}

转自

linux笔记_unsafe permissions found for script-CSDN博客
https://blog.csdn.net/qq_34067058/article/details/110071664

linux下配置nginx+keepalived高可用的各种问题以及解决办法_unsafe permissions found for script-CSDN博客
https://blog.csdn.net/heiYeBuZaiLai/article/details/106352914

 

posted @ 2024-09-20 16:44  paul_hch  阅读(75)  评论(0编辑  收藏  举报