Oracle:sqlplus: error while loading shared libraries:libdl.so.2:cannot open shared object file......

    xiaoxiao2021-03-25  106

    Oracle:

    sqlplus: error while loading shared libraries:libdl.so.2:cannot open shared object file:No such file or directory.

    初次遇到该问题,查看了好多的博客,提出的解决方案比较多的是修改/etc/selinux/config文件,将其中的SELINUXTYPE=targeted属性配置改为SELINUX=disabled。

    但是并没有起到作用,后来请教了DBA大神。给出的答案解决了问题。

    解决方案:

    1、使用root用户进入

           

    2、到/home/oracle下面

    3、编辑.bash_profile

           

     4、把LD开头的注释掉

    我的问题是解决了!

    转载请注明原文地址: https://ju.6miu.com/read-3786.html

    最新回复(0)