首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法检索存储库的存储库元数据: epel (epel 6.6)

无法检索存储库的存储库元数据: epel (epel 6.6)
EN

Stack Overflow用户
提问于 2015-04-15 15:25:18
回答 1查看 4.4K关注 0票数 0

我试图在nagiosxi的一个测试流变框上安装linux nrpe代理,以便进行监视,并且当我运行fullinstall脚本Im时,得到以下错误

代码语言:javascript
复制
[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网络上注册了它,我到处寻找解决这个错误的方法,但是都没有成功。

EN

回答 1

Stack Overflow用户

发布于 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完全是最新的。

更新:从:访问红帽

  1. 验证卫星或代理服务器是否具有完全限定的域名,以及SSL证书中的CommonName。Apache使用的域名设置为完全限定的域名.
  2. 验证ssl.conf文件是否指向正确的文件。 grep ^SSLCert /etc/httpd/conf.d/ssl.conf
  3. 如果系统指向代理,请检查以确保/etc/sysconfig/rhn/up2date配置了正确的http_proxy信息. httpProxy=http_proxy_fqdn or ip_address:port
  4. 将yum更新为最新版本:yum update yum
  5. 清除客户端系统上的缓存:rm -rf /var/cache/yum/*
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29654299

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档