Page 1 of 1

Debian GNU/Linux is not currently supported.

Posted: Mon Dec 19, 2016 2:45 am
by 24x7servermanagement
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

Re: Debian GNU/Linux is not currently supported.

Posted: Mon Dec 19, 2016 10:57 am
by rkennedy
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 -

Code: Select all

elif [ "$distro" == "Debian" ] || [ "$distro" == "Ubuntu" ]; then
to -

Code: Select all

elif [ "$distro" == "Debian" ] || [ "$distro" == "Ubuntu" ] || [ "$distro" == "Debian GNU/Linux" ]; then

Re: Debian GNU/Linux is not currently supported.

Posted: Tue Dec 20, 2016 1:15 am
by 24x7servermanagement
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'

Re: Debian GNU/Linux is not currently supported.

Posted: Tue Dec 20, 2016 12:09 pm
by dwhitfield
24x7servermanagement wrote:Ironically it worked on the other server with same version.
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?

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!

Re: Debian GNU/Linux is not currently supported.

Posted: Wed Dec 21, 2016 1:32 am
by 24x7servermanagement
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

Re: Debian GNU/Linux is not currently supported.

Posted: Wed Dec 21, 2016 12:17 pm
by avandemore
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.

Re: Debian GNU/Linux is not currently supported.

Posted: Thu Dec 22, 2016 2:42 am
by 24x7servermanagement
Any fix i should try ? Any alternative method ?

Re: Debian GNU/Linux is not currently supported.

Posted: Thu Dec 22, 2016 10:13 am
by avandemore
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