我试图在nagiosxi的一个测试流变框上安装linux nrpe代理,以便进行监视,并且当我运行fullinstall脚本Im时,得到以下错误
[root@nrpetest2 linux-nrpe-agent]# ./fullinstall
============================
Nagios Linux Agent Installer
============================
This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.
IMPORTANT: This script should only be used on a clean installed system:
RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian
Do NOT use this on a system running any other distro or that
does not allow additional package installation.
Do you want to continue? [Y/n] y
Proceeding with installation...
Running './0-repos'...
Configuring Repos...
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-release-6-5.noarch.rpm
warning: ./packages/epel-release-6-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ##################################################
epel-release ##################################################
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
epel-release RPM installed OK
Repos configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.失败的脚本是:'./1-prereqs‘
我也在RedHat网络上注册了它,我到处寻找解决这个错误的方法,但是都没有成功。
发布于 2015-04-15 15:45:21
看起来,您缺少了nagios安装所需的epel-release。你试过做sudo yum install epel-release吗?
这将是我最大的猜测,根据你的台词:
错误:无法为存储库检索存储库元数据(repomd.xml):epel。请验证其路径,然后重试失败的RESULT=1The脚本:'./1-prereqs‘
此外,检查以确保您的代理设置允许连接到该存储库。有时,这会导致下载某些回购数据时出现问题。
所以,简单地说,更新你的epel-发行版,并确保任何其他的预先需求已经更新.这样做可能不会有什么坏处:sudo yum install yum-utils确保yum-utils完全是最新的。
更新:从:访问红帽
grep ^SSLCert /etc/httpd/conf.d/ssl.conf/etc/sysconfig/rhn/up2date配置了正确的http_proxy信息.
httpProxy=http_proxy_fqdn or ip_address:portyum update yumrm -rf /var/cache/yum/*https://stackoverflow.com/questions/29654299
复制相似问题