I am getting the following error while trying to install the NRPE agent. Any help ??
./fullinstall
Debian GNU/Linux is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.
root@21:/tmp/linux-nrpe-agent# uname -ar
Linux 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET 2016 x86_64 GNU/Linux
Ironically it worked on the other server with same version. I had also checked /etc/apt/sources.list for cd repo but its not present.
# cat /etc/apt/sources.list
#deb http://debian.mirrors.ovh.net/debian/ jessie main
#deb-src http://debian.mirrors.ovh.net/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian/ jessie-updates main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-updates main
# jessie-backports, previously on backports.debian.org
deb http://debian.mirrors.ovh.net/debian/ jessie-backports main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-backports main
deb http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free
deb-src http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free
Debian GNU/Linux is not currently supported.
-
24x7servermanagement
- Posts: 13
- Joined: Fri Oct 14, 2016 1:27 am
Re: Debian GNU/Linux is not currently supported.
What version of Debian are you attempting to use? If I was to guess, this might be specific to the Debian image provided by OVH.
If it is the case, and OVH just modified the distro name, then you should be able to modify these lines in the fullinstall script -
to -
If it is the case, and OVH just modified the distro name, then you should be able to modify these lines in the fullinstall script -
Code: Select all
elif [ "$distro" == "Debian" ] || [ "$distro" == "Ubuntu" ]; then
Code: Select all
elif [ "$distro" == "Debian" ] || [ "$distro" == "Ubuntu" ] || [ "$distro" == "Debian GNU/Linux" ]; then
Former Nagios Employee
-
24x7servermanagement
- Posts: 13
- Joined: Fri Oct 14, 2016 1:27 am
Re: Debian GNU/Linux is not currently supported.
Ok that worked. But it again got stucked.
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NSCA daemon and client.
cd ./src/; make all ; cd ..
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nsca/nsca-2.9.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -o nsca ./nsca.c ./netutils.c ./utils.c -lnsl
gcc -g -O2 -DHAVE_CONFIG_H -o send_nsca ./send_nsca.c ./netutils.c ./utils.c -lnsl
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nsca/nsca-2.9.1/src'
*** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
cp: cannot create regular file ‘/etc/xinetd.d/nsca’: No such file or directory
Failed to restart xinetd.service: Unit xinetd.service failed to load: No such file or directory.
NSCA-POST
real 0m7.623s
user 0m4.288s
sys 0m1.144s
INSTALLING EXTRA PLUGINS...
real 0m0.008s
user 0m0.000s
sys 0m0.000s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting
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.
The script that failed was: './A-subcomponents'
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NSCA daemon and client.
cd ./src/; make all ; cd ..
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nsca/nsca-2.9.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -o nsca ./nsca.c ./netutils.c ./utils.c -lnsl
gcc -g -O2 -DHAVE_CONFIG_H -o send_nsca ./send_nsca.c ./netutils.c ./utils.c -lnsl
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nsca/nsca-2.9.1/src'
*** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
cp: cannot create regular file ‘/etc/xinetd.d/nsca’: No such file or directory
Failed to restart xinetd.service: Unit xinetd.service failed to load: No such file or directory.
NSCA-POST
real 0m7.623s
user 0m4.288s
sys 0m1.144s
INSTALLING EXTRA PLUGINS...
real 0m0.008s
user 0m0.000s
sys 0m0.000s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting
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.
The script that failed was: './A-subcomponents'
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Debian GNU/Linux is not currently supported.
What are the differences between the two servers? Has apt update && apt upgrade been run on both of them recently? Did you try to install the same version on NRPE on both? Are there any puppet/chef/ansible configs that might be changing either of the servers?24x7servermanagement wrote:Ironically it worked on the other server with same version.
Let's start by comparing cat /etc/*release on both of the servers.
What version of NRPE are you trying to install? Once I know that, I can start running some tests, thanks!
-
24x7servermanagement
- Posts: 13
- Joined: Fri Oct 14, 2016 1:27 am
Re: Debian GNU/Linux is not currently supported.
I don't think so apt update or upgrade was executed on the servers recently. I am trying to install the same version of NRPE on both servers ( https://assets.nagios.com/downloads/nag ... ent.tar.gz )
Regarding the configs, Could be a problem with Centova Cast installed ? The other server on which NRPE installation worked is plesk based server So that is the only difference. Rest all is same check the release outputs.
Here are the release outputs
root@centova:~# cat /etc/*release
DISTRIB_ID=Debian
DISTRIB_RELEASE=8
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION=
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Plesk Server
root@server:~# cat /etc/*release
DISTRIB_ID=Debian
DISTRIB_RELEASE=8
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION=
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
17.0.17 debian8.0.build1700161028.14
Regarding the configs, Could be a problem with Centova Cast installed ? The other server on which NRPE installation worked is plesk based server So that is the only difference. Rest all is same check the release outputs.
Here are the release outputs
root@centova:~# cat /etc/*release
DISTRIB_ID=Debian
DISTRIB_RELEASE=8
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION=
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Plesk Server
root@server:~# cat /etc/*release
DISTRIB_ID=Debian
DISTRIB_RELEASE=8
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION=
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
17.0.17 debian8.0.build1700161028.14
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Debian GNU/Linux is not currently supported.
Perhaps NRPE was installed differently. Some distro's have it in they repo's. Regardless the NRPE installation would always act the same given the same input.
Previous Nagios employee
-
24x7servermanagement
- Posts: 13
- Joined: Fri Oct 14, 2016 1:27 am
Re: Debian GNU/Linux is not currently supported.
Any fix i should try ? Any alternative method ?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Debian GNU/Linux is not currently supported.
I don't know what method you're using but I would use this src:
https://github.com/NagiosEnterprises/nrpe/tree/3.0.1
Following these instructions:
https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
https://github.com/NagiosEnterprises/nrpe/tree/3.0.1
Following these instructions:
https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
Previous Nagios employee