tar xvf nagios.tar.gz -C /usr/local
創(chuàng)新互聯(lián)公司長(zhǎng)期為近1000家客戶(hù)提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對(duì)不同對(duì)象提供差異化的產(chǎn)品和服務(wù);打造開(kāi)放共贏平臺(tái),與合作伙伴共同營(yíng)造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為潤(rùn)州企業(yè)提供專(zhuān)業(yè)的成都網(wǎng)站設(shè)計(jì)、成都做網(wǎng)站,潤(rùn)州網(wǎng)站改版等技術(shù)服務(wù)。擁有十年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開(kāi)發(fā)。
#/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
-bash: /usr/local/nagios/bin/nrpe: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
# yum provides ld-linux.so.2
# yum install glibc.i686 --nogpgcheck -y 或直接 yum install ld-linux.so.2 --nogpgcheck
報(bào)錯(cuò):
Protected multilib versions: glibc-2.12-1.149.el6.i686 != glibc-2.12-1.149.el6_6.5.x86_64
Error: Protected multilib versions: nss-softokn-freebl-3.14.3-9.el6.i686 != nss-softokn-freebl-3.14.3-10.el6_5.x86_64
Error: Protected multilib versions: glibc-common-2.12-1.149.el6.i686 != glibc-common-2.12-1.149.el6_6.5.x86_64
# yum list | grep nss-softokn #查看安裝的nss-softokn包
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
nss-softokn.x86_64 3.14.3-10.el6_5 @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5
nss-softokn-freebl.x86_64 3.14.3-10.el6_5 @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5
nss-softokn.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-devel.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-devel.x86_64 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-freebl.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-freebl-devel.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-freebl-devel.x86_64 3.14.3-9.el6 rhel-6-x86_64
報(bào)錯(cuò)原因:nagios.tar.gz是32位程序,需要的32位包nss-softokn-freebl-3.14.3-9.el6.i686安裝不上,因?yàn)橐呀?jīng)安裝了nss-softokn-freebl-3.14.3-10.el6_5.x86_64,而實(shí)際上需要的是nss-softokn-freebl-3.14.3-10.el6.x86_64
i686的版本必須要和64位的版本一致才能安裝(比如nss-softokn-freebl的3.14.3-9.el6 要等于 3.14.3-10.el6,后面的次版本號(hào)可以不一樣,-9和-10可以不一樣),需要將 nss-softokn-freebl-3.14.3-10.el6_5.x86_64的版本升級(jí),并且不帶el6_5,解決方法,在網(wǎng)上下載nss-softokn-freebl-3.14.3-17.el6.i686.rpm nss-softokn-freebl-3.14.3-17.el6.x86_64.rpm
# yum localinstall nss-softokn-freebl-3.14.3-17.el6.x86_64.rpm --nogpgcheck -y
# yum localinstall nss-softokn-freebl-3.14.3-17.el6.i686.rpm --nogpgcheck -y
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining nss-softokn-freebl-3.14.3-17.el6.i686.rpm: nss-softokn-freebl-3.14.3-17.el6.i686
Marking nss-softokn-freebl-3.14.3-17.el6.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.3-17.el6 will be installed
--> Processing Dependency: libc.so.6 for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libdl.so.2 for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: nss-softokn-freebl-3.14.3-17.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.149.el6_6.5 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
nss-softokn-freebl i686 3.14.3-17.el6 /nss-softokn-freebl-3.14.3-17.el6.i686 375 k
Installing for dependencies:
glibc i686 2.12-1.149.el6_6.5 rhel-6-x86_64 4.3 M
Transaction Summary
=============================================================================================================================================================
Install 2 Package(s)
Total size: 4.7 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glibc-2.12-1.149.el6_6.5.i686 1/2
Installing : nss-softokn-freebl-3.14.3-17.el6.i686 2/2
Verifying : nss-softokn-freebl-3.14.3-17.el6.i686 1/2
Verifying : glibc-2.12-1.149.el6_6.5.i686 2/2
Installed:
nss-softokn-freebl.i686 0:3.14.3-17.el6
Dependency Installed:
glibc.i686 0:2.12-1.149.el6_6.5
Complete!
# yum list | grep nss-softokn #查看安裝的nss-softokn包
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
nss-softokn.x86_64 3.14.3-10.el6_5 @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5
nss-softokn-freebl.i686 3.14.3-17.el6 @/nss-softokn-freebl-3.14.3-17.el6.i686
nss-softokn-freebl.x86_64 3.14.3-17.el6 @/nss-softokn-freebl-3.14.3-17.el6.x86_64
nss-softokn.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-devel.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-devel.x86_64 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-freebl-devel.i686 3.14.3-9.el6 rhel-6-x86_64
nss-softokn-freebl-devel.x86_64 3.14.3-9.el6 rhel-6-x86_64
# /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
/usr/local/nagios/bin/nrpe: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
# yum install libssl.so.6 --nogpgcheck -y
# /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
/usr/local/nagios/bin/nrpe: error while loading shared libraries: libwrap.so.0: cannot open shared object file: No such file or directory
# yum install libwrap.so.0 --nogpgcheck -y
網(wǎng)頁(yè)標(biāo)題:RedHat6.5(x86_64)啟動(dòng)nagios客戶(hù)端nrpe報(bào)錯(cuò)的解決方法
URL標(biāo)題:http://jinyejixie.com/article6/peodig.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供定制開(kāi)發(fā)、網(wǎng)站營(yíng)銷(xiāo)、網(wǎng)站設(shè)計(jì)、網(wǎng)站策劃、電子商務(wù)、
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)