Home > OS >  Keepalived cannot access script file, bosses to help
Keepalived cannot access script file, bosses to help

Time:09-27

Found Keepalived loaded script cannot execute, look at the journal found Unable to access the script `/server/scripts/check_web sh ` cannot access script
But I have this file, and file and directory permissions are 777, bosses to help see what reason


CodePudding user response:

All permissions are according to you run keepalived user, first look at the/server/server/scripts and the two directories have execute permissions, and then look at you if this directory is mounted directory, whether it is for your user read-only mount,

CodePudding user response:

Big door to help ah, don't problem, directory and file is 777, executing scripts alone is no problem

CodePudding user response:

Find the hole, selinux pot
Keepalived configuration file I added a
 script_user root 
, using the root user executing scripts, estimation is selinux prevented, turn off the selinux normal now
  • Related