Unable to install Linux Agent
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Unable to install Linux Agent
Trying to install Linux NRPE agent on CentOS release 6.3 (Final)_x86_64 machine. But coudnt complete. pasting install.log file here.
I have installed OpenStack on above Server & trying to monitor using Nagios.
Nagios Linux Agent Installation Log
===================================
DATE: Mon Nov 11 14:43:49 IST 2013
DISTRO INFO:
CentOS
6.3
x86_64
Configuring Yum...
epel-release RPM installed OK
Yum configured OK
Installing prerequisites...
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
I have installed OpenStack on above Server & trying to monitor using Nagios.
Nagios Linux Agent Installation Log
===================================
DATE: Mon Nov 11 14:43:49 IST 2013
DISTRO INFO:
CentOS
6.3
x86_64
Configuring Yum...
epel-release RPM installed OK
Yum configured OK
Installing prerequisites...
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Re: Unable to install Linux Agent
try to change 'mirrorlist=https' to 'mirrorlist=http'
Re: Unable to install Linux Agent
Run the following commands:
Then try to install the prereqs manually:
Do you get any errors, when you try to install prereqs this way?
Code: Select all
yum clean all
yum updateCode: Select all
yum -y install autoconf gcc glibc libmcrypt-devel make openssl-devel sudo sysstat xinetd bcBe sure to check out our Knowledgebase for helpful articles and solutions!
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: Unable to install Linux Agent
[root@OpenStack ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@OpenStack ~]# yum -y install autoconf gcc glibc libmcrypt-devel make opens sl-devel sudo sysstat xinetd bc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@OpenStack ~]# yum -y install autoconf gcc glibc libmcrypt-devel make opens sl-devel sudo sysstat xinetd bc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Re: Unable to install Linux Agent
You need to set up the EPEL (Extra Packages for Enterprise Linux) repo:
then post the output of
to confirm.
Code: Select all
sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpmCode: Select all
yum repolist Former Nagios employee
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: Unable to install Linux Agent
Did install EPEL.
DATE: Thu Nov 14 11:39:45 IST 2013
DISTRO INFO:
CentOS
6.3
x86_64
Yum already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@OpenStack ~]# yum reposlist
Loaded plugins: fastestmirror, refresh-packagekit, security
No such command: reposlist. Please use /usr/bin/yum --help
DATE: Thu Nov 14 11:39:45 IST 2013
DISTRO INFO:
CentOS
6.3
x86_64
Yum already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@OpenStack ~]# yum reposlist
Loaded plugins: fastestmirror, refresh-packagekit, security
No such command: reposlist. Please use /usr/bin/yum --help
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to install Linux Agent
yum repolist
Re: Unable to install Linux Agent
Also.
Code: Select all
ls /etc/yum.repos.d
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Re: Unable to install Linux Agent
[root@OpenStack ~]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@OpenStack ~]# ls /etc/yum.repos.d/
CentOS-Base.repo CentOS-Vault.repo foreman.repo
CentOS-Debuginfo.repo epel.repo puppetlabs.repo
CentOS-Media.repo epel-testing.repo rdo-release.repo
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@OpenStack ~]# ls /etc/yum.repos.d/
CentOS-Base.repo CentOS-Vault.repo foreman.repo
CentOS-Debuginfo.repo epel.repo puppetlabs.repo
CentOS-Media.repo epel-testing.repo rdo-release.repo
Re: Unable to install Linux Agent
Can you post the contents of /etc/yum.repos.d/epel.repo please?
Former Nagios employee