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报错----之解决方法
文章地址:https://www.cdcxhl.com/article28/gheocp.html

成都网站建设公司_创新互联,为您提供网站设计公司电子商务商城网站ChatGPT搜索引擎优化定制开发

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

商城网站建设