Thanks for responding.. please find the below output of yum repolist
-bash-4.2# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
repo id repo name status
InstallMedia Red Hat Enterprise Linux 7.5 5,099
!LocalRepo Local Repository 5,099
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,242
repolist: 23,440
-bash-4.2#
I have followed the link the below link to install NRPE , but getting the same error.
https://support.nagios.com/kb/article.php?id=515#RHEL
As per link first i tried to install the below one
yum install -y gcc glibc glibc-common openssl openssl-devel perl wget
but getting below error. please check the errror as below
-bash-4.2# yum install -y gcc glibc glibc-common openssl openssl-devel perl wget
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
Trying other mirror.
Package gcc-4.8.5-28.el7.x86_64 already installed and latest version
Package glibc-2.17-222.el7.x86_64 already installed and latest version
Package glibc-common-2.17-222.el7.x86_64 already installed and latest version
Package 1:openssl-1.0.2k-12.el7.x86_64 already installed and latest version
Package 4:perl-5.16.3-292.el7.x86_64 already installed and latest version
Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.2k-12.el7 will be installed
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-12.el7.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-12.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-18.el7 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-18.el7 for package: krb5-devel-1.15.1-18.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-18.el7.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-18.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-18.el7.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-18.el7.x86_64
---> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package libcom_err-devel.x86_64 0:1.42.9-11.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-18.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.5-12.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-12.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-12.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-12.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.5-8.1.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
openssl-devel x86_64 1:1.0.2k-12.el7 InstallMedia 1.5 M
Installing for dependencies:
keyutils-libs-devel x86_64 1.5.8-3.el7 InstallMedia 37 k
krb5-devel x86_64 1.15.1-18.el7 InstallMedia 269 k
libcom_err-devel x86_64 1.42.9-11.el7 InstallMedia 31 k
libkadm5 x86_64 1.15.1-18.el7 InstallMedia 175 k
libselinux-devel x86_64 2.5-12.el7 InstallMedia 186 k
libsepol-devel x86_64 2.5-8.1.el7 InstallMedia 77 k
libverto-devel x86_64 0.2.5-4.el7 InstallMedia 12 k
pcre-devel x86_64 8.32-17.el7 InstallMedia 480 k
zlib-devel x86_64 1.2.7-17.el7 InstallMedia 50 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package (+9 Dependent packages)
Total download size: 2.8 M
Installed size: 6.0 M
Downloading packages:
Error downloading packages:
libsepol-devel-2.5-8.1.el7.x86_64: [Errno 256] No more mirrors to try.
libselinux-devel-2.5-12.el7.x86_64: [Errno 256] No more mirrors to try.
krb5-devel-1.15.1-18.el7.x86_64: [Errno 256] No more mirrors to try.
1:openssl-devel-1.0.2k-12.el7.x86_64: [Errno 256] No more mirrors to try.
zlib-devel-1.2.7-17.el7.x86_64: [Errno 256] No more mirrors to try.
libverto-devel-0.2.5-4.el7.x86_64: [Errno 256] No more mirrors to try.
keyutils-libs-devel-1.5.8-3.el7.x86_64: [Errno 256] No more mirrors to try.
libcom_err-devel-1.42.9-11.el7.x86_64: [Errno 256] No more mirrors to try.
libkadm5-1.15.1-18.el7.x86_64: [Errno 256] No more mirrors to try.
pcre-devel-8.32-17.el7.x86_64: [Errno 256] No more mirrors to try.
-bash-4.2#