当前位置 博文首页 > LuciferLiu_DBA:Fix “semanage command not found“ error in

    LuciferLiu_DBA:Fix “semanage command not found“ error in

    作者:[db:作者] 时间:2021-06-15 09:18

    一、问题描述

    Linux8安装Oracle 19C RAC,执行root.sh时报错:

    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依赖包

    dnf provides /usr/sbin/semanage

    2、安装对应依赖

    dnf install -y policycoreutils-python-utils

    3、手动执行

    /usr/sbin/semanage fcontext --add -e /bin /u01/app/19.3.0/grid/bin

    ?

    下一篇:没有了