error while loading shared libraries: libssl.so.6: cannot open shared object file

[[email protected] ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80

/usr/local/nagios/libexec/check_tcp: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

关联库文件:发现libssl.so.6 => not found和libcrypto.so.6 => not found

ldd /usr/local/nagios/libexec/check_tcp

linux-gate.so.1 =>  (0x00ac2000)

libnsl.so.1 => /lib/libnsl.so.1 (0x0097d000)

libresolv.so.2 => /lib/libresolv.so.2 (0x00ee9000)

libssl.so.6 => not found

libcrypto.so.6 => not found

libpthread.so.0 => /lib/libpthread.so.0 (0x00853000)

libdl.so.2 => /lib/libdl.so.2 (0x0093a000)

libc.so.6 => /lib/libc.so.6 (0x001f5000)

/lib/ld-linux.so.2 (0x0061e000)

yum provides libssl.so.6
yum provides libcrypto.so.6
会出来是哪个rpm包 包含 这个lib库。

[[email protected]~]# yum provides libssl.so.6
Loaded plugins: security
openssl098e-0.9.8e-20.el6.centos.1.i686 : A compatibility version of a general cryptography and TLS library
Repo        : base
Matched from:
Other       : libssl.so.6

[[email protected]~]# yum provides libcrypto.so.6
Loaded plugins: security
openssl098e-0.9.8e-20.el6.centos.1.i686 : A compatibility version of a general cryptography and TLS library
Repo        : base
Matched from:
Other       : libcrypto.so.6

只要安装上openssl098e-0.9.8e-20.el6.centos.1.i686 就可以解决
yum install openssl098e-0.9.8e-20.el6.centos.1.i686 

验证:
[[email protected] ~]# ldd /usr/local/nagios/libexec/check_tcp 
	linux-gate.so.1 =>  (0x00775000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x0080a000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00b6e000)
	libssl.so.6 => /usr/lib/libssl.so.6 (0x00aef000)
	libcrypto.so.6 => /usr/lib/libcrypto.so.6 (0x00e9d000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x007b7000)
	libdl.so.2 => /lib/libdl.so.2 (0x00abf000)
	libc.so.6 => /lib/libc.so.6 (0x001ad000)
	libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x005f4000)
	libkrb5.so.3 => /lib/libkrb5.so.3 (0x00690000)
	libcom_err.so.2 => /lib/libcom_err.so.2 (0x00393000)
	libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00344000)
	libz.so.1 => /lib/libz.so.1 (0x00504000)
	/lib/ld-linux.so.2 (0x00959000)
	libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x008b3000)
	libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x0036f000)
	libselinux.so.1 => /lib/libselinux.so.1 (0x00d15000)

	或者
	[[email protected] ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80
Connection refused
时间: 2024-12-23 02:17:53

error while loading shared libraries: libssl.so.6: cannot open shared object file的相关文章

实验五 遇到的问题:openssl: error while loading shared libraries: libssl.so.1.1

遇到的问题 命令行:[email protected]:~/exp/exp5$ openssl enc -aes-128-cbc -in test_aes.txt -out out.txt -pass pass:123456 报错:openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 即,加载共享库时出错:lib

解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误

解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误 今天安装启动nginx的时候报这个错误:error while loading shared libraries: libgd.so.2: cannot open shared object,网上查了相关资料,解决了,在此记录下,也让后面遇到这个问题的朋友能快速解决. 先说解决办法,帮助着急解决问题的朋友,这个是因为缺失gd库,

启动MongoDB时,提示:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

启动MongoDB时,提示: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [[email protected] ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mon

error while loading shared libraries: libiksemel.so.3: cannot open shared...

zabbix服务启动出问题 报错:error while loading shared libraries: libiksemel.so.3: cannot open shared ... 解决办法: 执行 ldconfig

gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

org.im4java.core.CommandException: org.im4java.core.CommandException: /usr/local/bin/gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory 原因:GraphicsMagick-LATEST17.tar.gz 安装 错误,无法访问libpn

error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such

启动zabbix_server出现如题错误,差点没晕死过去,从前一直没出现,这种错误其实工作上已经遇到过无数次了,但是每次的没有好好记录总结一些,导致每次遇到都需要傻乎乎的跑到网上->百度,方可解决.今天特地针对这个小问题写一篇错误记录博客,日后遇到方可快速查看. 执行命令 cd /usr/local/mysql/lib/ ll libmysqlclient.so 发现有  libmysqlclient.so -> libmysqlclient.so.18 于是 ln -s /usr/loca

error while loading shared libraries: libpcre.so.1: cannot open shared object file

执行启动nginx:/usr/local/nginx/sbin/nginx 错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 查找:[[email protected] lib]# find /-type f -name *libpcre.so.* 执行:[[ema

centos6.9安装xampp后报错:egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

1.centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryegrep: error while loading shared libraries: libc.so.6: cannot open

error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file

安装rac10g,出现如下错误: [[email protected] oracle]# /u01/product/crs/root.sh WARNING: directory '/u01/product' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now. Setting the permission