error install nrpe agent
Posted: Thu Sep 13, 2018 5:29 am
I have an issue when installing the nrpe agent in Linux, and I have upload install.log as attached.
Basically below are the step to perform the installation and I do rename the repo file and try again but it still no success.
Unpack the installation archive you just downloaded:
tar xzf linux-nrpe-agent.tar.gz
Enter the newly created agent subdirectory:
./fullinstall
[root@host yum.repos.d]# ll
total 12
-rw-r--r-- 1 root root 951 Oct 3 2017 epel.repoXXX
-rw-r--r-- 1 root root 1050 Oct 3 2017 epel-testing.repoXXX
-rw-r--r-- 1 root root 358 Sep 13 16:23 redhat.repo
[root@host yum.repos.d]# mv redhat.repo redhat.repoXXX
[root@host yum.repos.d]#
[root@host yum.repos.d]#
[root@host yum.repos.d]#
[root@host yum.repos.d]# ll
total 12
-rw-r--r-- 1 root root 951 Oct 3 2017 epel.repoXXX
-rw-r--r-- 1 root root 1050 Oct 3 2017 epel-testing.repoXXX
-rw-r--r-- 1 root root 358 Sep 13 16:23 redhat.repoXXX
[root@host yum.repos.d]# cd /tmp
[root@host tmp]# cd
.font-unix/ .ICE-unix/ linux-nrpe-agent/ .Test-unix/ .X11-unix/ .XIM-unix/
[root@host tmp]# ls
linux-nrpe-agent linux-nrpe-agent.tar.gz
[root@host tmp]# cd linux-nrpe-agent
[root@host linux-nrpe-agent]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
============================
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'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
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.
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
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.
Basically below are the step to perform the installation and I do rename the repo file and try again but it still no success.
Unpack the installation archive you just downloaded:
tar xzf linux-nrpe-agent.tar.gz
Enter the newly created agent subdirectory:
./fullinstall
[root@host yum.repos.d]# ll
total 12
-rw-r--r-- 1 root root 951 Oct 3 2017 epel.repoXXX
-rw-r--r-- 1 root root 1050 Oct 3 2017 epel-testing.repoXXX
-rw-r--r-- 1 root root 358 Sep 13 16:23 redhat.repo
[root@host yum.repos.d]# mv redhat.repo redhat.repoXXX
[root@host yum.repos.d]#
[root@host yum.repos.d]#
[root@host yum.repos.d]#
[root@host yum.repos.d]# ll
total 12
-rw-r--r-- 1 root root 951 Oct 3 2017 epel.repoXXX
-rw-r--r-- 1 root root 1050 Oct 3 2017 epel-testing.repoXXX
-rw-r--r-- 1 root root 358 Sep 13 16:23 redhat.repoXXX
[root@host yum.repos.d]# cd /tmp
[root@host tmp]# cd
.font-unix/ .ICE-unix/ linux-nrpe-agent/ .Test-unix/ .X11-unix/ .XIM-unix/
[root@host tmp]# ls
linux-nrpe-agent linux-nrpe-agent.tar.gz
[root@host tmp]# cd linux-nrpe-agent
[root@host linux-nrpe-agent]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
============================
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'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
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.
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
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.