RAC执行root.sh报libcap.so.1: cannot open shared object file

时间:2022-05-19 11:45:10

Failed to create keys in the OLR, rc = 127, Message:
/opt/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory

执行如下操作,就可以在此执行root.sh了

[root@HE1 ~]# cd /lib64
[root@HE1 lib64]# ls libcap*
libcap-ng.so.0 libcap-ng.so.0.0.0 libcap.so.2 libcap.so.2.16
[root@HE1 lib64]# ln -s libcap.so.2.16 libcap.so.1

[root@HE2 lib64]# ln -s libcap.so.2.16 libcap.so.1

参考blog:

http://blog.itpub.net/24237320/viewspace-1061002/