一、问题描述
Linux8安装Oracle 19C RAC,执行root.sh时报错:
代码语言:javascript复制Failure in execution (rc=-1, 0, No such file or directory) for command /usr/sbin/semanage fcontext --add -e /bin /u01/app/19.3.0/grid/bin
semanage command not found in CentOS 7/8 And RHEL 7/8
二、解决方案
1、查看semanage对应的yum依赖包
代码语言:javascript复制dnf provides /usr/sbin/semanage
2、安装对应依赖
代码语言:javascript复制dnf install -y policycoreutils-python-utils
3、手动执行
代码语言:javascript复制/usr/sbin/semanage fcontext --add -e /bin /u01/app/19.3.0/grid/bin