rhel6.2上启动nagios报错----之解决方法-成都快上网建站

rhel6.2上启动nagios报错----之解决方法

/data0/software/nagios/bin/nrpe -c /data0/software/nagios/etc/nrpe.cfg    //报错

报错信息:error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
                    error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

解决办法:
                   从rhel5.X的版本上copy这两个文件(libcrypto.so.0.9.8e、libssl.so.0.9.8e)到rhel6.2上

scp      rhel5.X:/lib/libcrypto.so.0.9.8e             rhel6.2:/lib
scp      rhel5.X:/lib/libssl.so.0.9.8e                  rhel6.2:/lib
scp      rhel5.X:/lib64/libcrypto.so.0.9.8e         rhel6.2:/lib64
scp      rhel5.X:/lib64/libssl.so.0.9.8e             rhel6.2:/lib64

RHEL6.2:
cd    /lib/
ln   -s    libcrypto.so.0.9.8e      libcrypto.so.6
ln   -s    libssl.so.0.9.8e            libssl.so.6

cd   /lib64
ln   -s    libcrypto.so.0.9.8e      libcrypto.so.6
ln   -s    libssl.so.0.9.8e            libssl.so.6

/data0/software/nagios/bin/nrpe -c /data0/software/nagios/etc/nrpe.cfg    //正常

网页名称:rhel6.2上启动nagios报错----之解决方法
本文地址:http://kswjz.com/article/gheocp.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流