Page 1 of 1

Getting the following error with NRPE

Posted: Thu Oct 20, 2011 2:27 pm
by mckoi03
Any idea's to help fix.

[root@vmclient1 linux-nrpe-agent]# ls
0-yum 1-prereqs 2-usersgroups 3-services 4-firewall A-subcomponents fullinstall init.sh log subcomponents
[root@vmclient1 linux-nrpe-agent]# ./fullinstall
====================================================
Nagios XI Linux Agent Installer for Red Hat & CentOS
====================================================


This script will do a complete install of Nagios XI by executing
all necessary sub-scripts.

IMPORTANT: This script should only be used on a Red Hat or CentOS
system. 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...
Current step is 0-yum
0-yum appears to have already completed successfully. Moving on to the next step.
Current step is 1-prereqs
Installing prerequisites...
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Net-SMTP-TLS.noarch 0:0.12-1.el5.rf set to be updated
---> Package openssl-devel.i386 0:0.9.8e-20.el5 set to be updated
---> Package autoconf.noarch 0:2.59-12 set to be updated
---> Package openssl-devel.x86_64 0:0.9.8e-20.el5 set to be updated
---> Package glibc.x86_64 0:2.5-65 set to be updated
---> Package sudo.x86_64 0:1.7.2p1-10.el5 set to be updated
---> Package sysstat.x86_64 0:7.0.2-11.el5 set to be updated
---> Package glibc.i686 0:2.5-65 set to be updated
---> Package make.x86_64 1:3.81-3.el5 set to be updated
---> Package gcc.x86_64 0:4.1.2-51.el5 set to be updated
---> Package xinetd.x86_64 2:2.3.14-13.el5 set to be updated
---> Package libmcrypt-devel.x86_64 0:2.5.7-1.2.el5.rf set to be updated
---> Package perl.x86_64 4:5.8.8-32.el5_6.3 set to be updated
--> Running transaction check
--> Processing Dependency: openssl = 0.9.8e-20.el5 for package: openssl-devel
--> Processing Dependency: zlib-devel for package: openssl-devel
--> Processing Dependency: libgcc >= 4.1.2-51.el5 for package: gcc
--> Processing Dependency: libmcrypt = 2.5.7-1.2.el5.rf for package: libmcrypt-devel
--> Processing Dependency: libgomp >= 4.1.2-51.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-51.el5 for package: gcc
--> Processing Dependency: glibc-common = 2.5-65 for package: glibc
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: libmcrypt-devel
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Processing Dependency: krb5-devel for package: openssl-devel
--> Processing Dependency: imake for package: autoconf
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openssl.x86_64 0:0.9.8e-20.el5 set to be updated
---> Package libgomp.x86_64 0:4.4.4-13.el5 set to be updated
---> Package zlib-devel.x86_64 0:1.2.3-4.el5 set to be updated
---> Package libmcrypt.x86_64 0:2.5.7-1.2.el5.rf set to be updated
---> Package krb5-devel.x86_64 0:1.6.1-62.el5 set to be updated
---> Package glibc-common.x86_64 0:2.5-65 set to be updated
---> Package glibc-devel.x86_64 0:2.5-65 set to be updated
---> Package cpp.x86_64 0:4.1.2-51.el5 set to be updated
---> Package libgcc.x86_64 0:4.1.2-51.el5 set to be updated
---> Package imake.x86_64 0:1.0.2-3 set to be updated
--> Running transaction check
--> Processing Dependency: krb5-libs = 1.6.1-62.el5 for package: krb5-devel
--> Processing Dependency: glibc-headers = 2.5-65 for package: glibc-devel
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel
--> Processing Dependency: e2fsprogs-devel for package: krb5-devel
--> Processing Dependency: libselinux-devel for package: krb5-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package e2fsprogs-devel.x86_64 0:1.39-33.el5 set to be updated
---> Package krb5-libs.x86_64 0:1.6.1-62.el5 set to be updated
---> Package keyutils-libs-devel.x86_64 0:1.2-1.el5 set to be updated
---> Package libselinux-devel.x86_64 0:1.33.4-5.7.el5 set to be updated
---> Package glibc-headers.x86_64 0:2.5-65 set to be updated
--> Running transaction check
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: e2fsprogs-libs = 1.39-33.el5 for package: e2fsprogs-devel
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: libselinux = 1.33.4-5.7.el5 for package: libselinux-devel
--> Processing Dependency: libsepol-devel >= 1.15.2-1 for package: libselinux-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-headers.x86_64 0:2.6.18-274.3.1.el5 set to be updated
---> Package libsepol-devel.x86_64 0:1.15.2-3.el5 set to be updated
---> Package e2fsprogs-libs.x86_64 0:1.39-33.el5 set to be updated
---> Package libselinux.x86_64 0:1.33.4-5.7.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libsepol = 1.15.2-3.el5 for package: libsepol-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libsepol.x86_64 0:1.15.2-3.el5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
autoconf noarch 2.59-12 rhel-x86_64-server-5 646 k
gcc x86_64 4.1.2-51.el5 rhel-x86_64-server-5 5.3 M
libmcrypt-devel x86_64 2.5.7-1.2.el5.rf rpmforge 112 k
openssl-devel i386 0.9.8e-20.el5 rhel-x86_64-server-5 1.9 M
openssl-devel x86_64 0.9.8e-20.el5 rhel-x86_64-server-5 1.9 M
perl-Net-SMTP-TLS noarch 0.12-1.el5.rf rpmforge 13 k
sysstat x86_64 7.0.2-11.el5 rhel-x86_64-server-5 187 k
xinetd x86_64 2:2.3.14-13.el5 rhel-x86_64-server-5 126 k
Updating:
glibc i686 2.5-65 rhel-x86_64-server-5 5.3 M
glibc x86_64 2.5-65 rhel-x86_64-server-5 4.8 M
make x86_64 1:3.81-3.el5 rhel-x86_64-server-5 471 k
perl x86_64 4:5.8.8-32.el5_6.3 rhel-x86_64-server-5 12 M
sudo x86_64 1.7.2p1-10.el5 rhel-x86_64-server-5 354 k
Installing for dependencies:
e2fsprogs-devel x86_64 1.39-33.el5 rhel-x86_64-server-5 637 k
glibc-devel x86_64 2.5-65 rhel-x86_64-server-5 2.4 M
glibc-headers x86_64 2.5-65 rhel-x86_64-server-5 594 k
imake x86_64 1.0.2-3 rhel-x86_64-server-5 319 k
kernel-headers x86_64 2.6.18-274.3.1.el5 rhel-x86_64-server-5 1.3 M
keyutils-libs-devel x86_64 1.2-1.el5 rhel-x86_64-server-5 27 k
krb5-devel x86_64 1.6.1-62.el5 rhel-x86_64-server-5 1.9 M
libgomp x86_64 4.4.4-13.el5 rhel-x86_64-server-5 69 k
libmcrypt x86_64 2.5.7-1.2.el5.rf rpmforge 182 k
libselinux-devel x86_64 1.33.4-5.7.el5 rhel-x86_64-server-5 149 k
libsepol-devel x86_64 1.15.2-3.el5 rhel-x86_64-server-5 192 k
zlib-devel x86_64 1.2.3-4.el5 rhel-x86_64-server-5 103 k
Updating for dependencies:
cpp x86_64 4.1.2-51.el5 rhel-x86_64-server-5 2.9 M
e2fsprogs-libs x86_64 1.39-33.el5 rhel-x86_64-server-5 120 k
glibc-common x86_64 2.5-65 rhel-x86_64-server-5 16 M
krb5-libs x86_64 1.6.1-62.el5 rhel-x86_64-server-5 680 k
libgcc x86_64 4.1.2-51.el5 rhel-x86_64-server-5 99 k
libselinux x86_64 1.33.4-5.7.el5 rhel-x86_64-server-5 78 k
libsepol x86_64 1.15.2-3.el5 rhel-x86_64-server-5 131 k
openssl x86_64 0.9.8e-20.el5 rhel-x86_64-server-5 1.4 M

Transaction Summary
=============================================================================
Install 20 Package(s)
Update 13 Package(s)
Remove 0 Package(s)

Total download size: 63 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error: file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /etc/pki/tls/openssl.cnf from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/asn1parse.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/ciphers.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/crl.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/crl2pkcs7.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/dgst.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/dhparam.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/dsa.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/dsaparam.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/ec.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/ecparam.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/enc.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/errstr.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/gendsa.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/genrsa.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/nseq.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/ocsp.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/openssl.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/pkcs12.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/pkcs7.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/pkcs8.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/rsa.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/rsautl.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/s_client.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/s_server.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/s_time.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/sess_id.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/smime.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/speed.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/spkac.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/sslpasswd.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/sslrand.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/verify.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/version.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man5/config.5ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man5/x509v3_config.5ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/share/man/man7/des_modes.7ssl.gz from install of openssl-0.9.8e-20.el5 conflicts with file from package openssl-0.9.8b-8.3.el5_0.2
file /usr/kerberos/man/man5/krb5.conf.5.gz from install of krb5-libs-1.6.1-62.el5 conflicts with file from package krb5-libs-1.6.1-17.el5

1-prereqs appears to have already completed successfully. Moving on to the next step.
Current step is 2-usersgroups
Adding users and groups...
useradd: user nagios exists
useradd: user nagios exists
groupadd: group nagios exists
groupadd: group nagcmd exists
2-usersgroups appears to have already completed successfully. Moving on to the next step.
Current step is 3-services
/etc/services updated
3-services appears to have already completed successfully. Moving on to the next step.
Current step is 4-firewall
iptables v1.3.5: Invalid rule number `0'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Invalid rule number `0'
Try `iptables -h' or 'iptables --help' for more information.
Saving firewall rules to /etc/sysconfig/iptables: [ OK ]
4-firewall appears to have already completed successfully. Moving on to the next step.
Current step is A-subcomponents
SUB
NAGIOSPLUGINS
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

real 0m1.709s
user 0m0.084s
sys 0m0.212s
Making clean in po
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/po'
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* nagios-plugins.po nagios-plugins.1po nagios-plugins.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/po'
Making clean in plugins-root
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-root'
rm -rf .libs _libs
rm -f check_dhcp check_dhcp
rm -f check_icmp check_icmp
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-root'
Making clean in plugins-scripts
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-scripts'
test -z "check_breeze check_disk_smb check_flexlm check_ircd check_log check_oracle check_rpc check_sensors check_wave check_ifstatus check_ifoperstatus check_mailq check_file_age utils.sh utils.pm" || rm -f check_breeze check_disk_smb check_flexlm check_ircd check_log check_oracle check_rpc check_sensors check_wave check_ifstatus check_ifoperstatus check_mailq check_file_age utils.sh utils.pm
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins-scripts'
Making clean in plugins
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins'
rm -f check_apt check_apt
rm -f check_cluster check_cluster
rm -f check_disk check_disk
rm -f check_dummy check_dummy
rm -f check_http check_http
rm -f check_load check_load
rm -f check_mrtg check_mrtg
rm -f check_mrtgtraf check_mrtgtraf
rm -f check_ntp check_ntp
rm -f check_ntp_peer check_ntp_peer
rm -f check_nwstat check_nwstat
rm -f check_overcr check_overcr
rm -f check_ping check_ping
rm -f check_real check_real
rm -f check_smtp check_smtp
rm -f check_ssh check_ssh
rm -f check_tcp check_tcp
rm -f check_time check_time
rm -f check_ntp_time check_ntp_time
rm -f check_ups check_ups
rm -f check_users check_users
rm -f negate negate
rm -f urlize urlize
rm -f check_ide_smart check_ide_smart
rm -f check_mysql check_mysql
rm -f check_mysql_query check_mysql_query
rm -f check_procs check_procs
rm -f check_nagios check_nagios
rm -f check_hpjd check_hpjd
rm -f check_snmp check_snmp
rm -f check_by_ssh check_by_ssh
rm -f check_swap check_swap
rm -f check_nt check_nt
rm -rf .libs _libs
rm -f check_ftp check_imap check_nntp check_pop check_udp check_clamd check_simap check_spop check_jabber check_nntps check_ssmtp
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/plugins'
Making clean in lib
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
Making clean in tests
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib/tests'
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib/tests'
Making clean in .
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
rm -rf .libs _libs
test -z "libnagiosplug.a" || rm -f libnagiosplug.a
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/lib'
Making clean in gl
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
test -z "configmake.h configmake.h-t charset.alias ref-add.sed ref-del.sed" || rm -f configmake.h configmake.h-t charset.alias ref-add.sed ref-del.sed
rm -rf .libs _libs
test -z "libgnu.a" || rm -f libgnu.a
test -z "" || rm -f
rm -f *.o
test -z "core *.stackdump alloca.h alloca.h-t arpa/inet.h arpa/inet.h-t float.h float.h-t getopt.h getopt.h-t math.h math.h-t netinet/in.h netinet/in.h-t stdbool.h stdbool.h-t stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t string.h string.h-t sys/socket.h sys/socket.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h wctype.h-t" || rm -f core *.stackdump alloca.h alloca.h-t arpa/inet.h arpa/inet.h-t float.h float.h-t getopt.h getopt.h-t math.h math.h-t netinet/in.h netinet/in.h-t stdbool.h stdbool.h-t stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t string.h string.h-t sys/socket.h sys/socket.h-t unistd.h unistd.h-t wchar.h wchar.h-t wctype.h wctype.h-t
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
Making clean in .
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'

real 0m0.558s
user 0m0.124s
sys 0m0.200s
make all-recursive
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'
Making all in gl
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat ./alloca.in.h; \
} > alloca.h-t
mv -f alloca.h-t alloca.h
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr/local/nagios"'; \
echo '#define EXEC_PREFIX "/usr/local/nagios"'; \
echo '#define BINDIR "/usr/local/nagios/bin"'; \
echo '#define SBINDIR "/usr/local/nagios/sbin"'; \
echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \
echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \
echo '#define DATADIR "/usr/local/nagios/share"'; \
echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \
echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \
echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define INFODIR "/usr/local/nagios/share/info"'; \
echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define LIBDIR "/usr/local/nagios/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \
echo '#define MANDIR "/usr/local/nagios/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \
echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \
echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \
echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f math.h-t math.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
-e 's|@''NEXT_MATH_H''@|<math.h>|g' \
-e 's|@''GNULIB_CEILF''@|0|g' \
-e 's|@''GNULIB_CEILL''@|0|g' \
-e 's|@''GNULIB_FLOORF''@|1|g' \
-e 's|@''GNULIB_FLOORL''@|0|g' \
-e 's|@''GNULIB_FREXP''@|0|g' \
-e 's|@''GNULIB_FREXPL''@|0|g' \
-e 's|@''GNULIB_ISFINITE''@|0|g' \
-e 's|@''GNULIB_LDEXPL''@|0|g' \
-e 's|@''GNULIB_MATHL''@|0|g' \
-e 's|@''GNULIB_ROUND''@|0|g' \
-e 's|@''GNULIB_ROUNDF''@|0|g' \
-e 's|@''GNULIB_ROUNDL''@|0|g' \
-e 's|@''GNULIB_SIGNBIT''@|0|g' \
-e 's|@''GNULIB_TRUNC''@|0|g' \
-e 's|@''GNULIB_TRUNCF''@|0|g' \
-e 's|@''GNULIB_TRUNCL''@|0|g' \
-e 's|@''HAVE_DECL_ACOSL''@|1|g' \
-e 's|@''HAVE_DECL_ASINL''@|1|g' \
-e 's|@''HAVE_DECL_ATANL''@|1|g' \
-e 's|@''HAVE_DECL_COSL''@|1|g' \
-e 's|@''HAVE_DECL_EXPL''@|1|g' \
-e 's|@''HAVE_DECL_FREXPL''@|1|g' \
-e 's|@''HAVE_DECL_LDEXPL''@|1|g' \
-e 's|@''HAVE_DECL_LOGL''@|1|g' \
-e 's|@''HAVE_DECL_SINL''@|1|g' \
-e 's|@''HAVE_DECL_SQRTL''@|1|g' \
-e 's|@''HAVE_DECL_TANL''@|1|g' \
-e 's|@''HAVE_DECL_TRUNC''@|1|g' \
-e 's|@''HAVE_DECL_TRUNCF''@|1|g' \
-e 's|@''HAVE_DECL_TRUNCL''@|1|g' \
-e 's|@''REPLACE_CEILF''@|0|g' \
-e 's|@''REPLACE_CEILL''@|0|g' \
-e 's|@''REPLACE_FLOORF''@|0|g' \
-e 's|@''REPLACE_FLOORL''@|0|g' \
-e 's|@''REPLACE_FREXP''@|0|g' \
-e 's|@''REPLACE_FREXPL''@|0|g' \
-e 's|@''REPLACE_ISFINITE''@|0|g' \
-e 's|@''REPLACE_LDEXPL''@|0|g' \
-e 's|@''REPLACE_ROUND''@|0|g' \
-e 's|@''REPLACE_ROUNDF''@|0|g' \
-e 's|@''REPLACE_ROUNDL''@|0|g' \
-e 's|@''REPLACE_SIGNBIT''@|0|g' \
-e 's|@''REPLACE_SIGNBIT_USING_GCC''@|0|g' \
-e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
< ./math.in.h; \
} > math.h-t
mv math.h-t math.h
rm -f stdio.h-t stdio.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
-e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \
-e 's|@''GNULIB_FPRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_PRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_SNPRINTF''@|1|g' \
-e 's|@''GNULIB_SPRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_VFPRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_VPRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_VSNPRINTF''@|1|g' \
-e 's|@''GNULIB_VSPRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_VASPRINTF''@|1|g' \
-e 's|@''GNULIB_FOPEN''@|0|g' \
-e 's|@''GNULIB_FREOPEN''@|0|g' \
-e 's|@''GNULIB_FSEEK''@|0|g' \
-e 's|@''GNULIB_FSEEKO''@|0|g' \
-e 's|@''GNULIB_FTELL''@|0|g' \
-e 's|@''GNULIB_FTELLO''@|0|g' \
-e 's|@''GNULIB_FFLUSH''@|0|g' \
-e 's|@''GNULIB_GETDELIM''@|0|g' \
-e 's|@''GNULIB_GETLINE''@|0|g' \
-e 's|@''REPLACE_FPRINTF''@|0|g' \
-e 's|@''REPLACE_VFPRINTF''@|0|g' \
-e 's|@''REPLACE_PRINTF''@|0|g' \
-e 's|@''REPLACE_VPRINTF''@|0|g' \
-e 's|@''REPLACE_SNPRINTF''@|0|g' \
-e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \
-e 's|@''REPLACE_VSNPRINTF''@|0|g' \
-e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \
-e 's|@''REPLACE_SPRINTF''@|0|g' \
-e 's|@''REPLACE_VSPRINTF''@|0|g' \
-e 's|@''HAVE_VASPRINTF''@|1|g' \
-e 's|@''REPLACE_VASPRINTF''@|0|g' \
-e 's|@''REPLACE_FOPEN''@|0|g' \
-e 's|@''REPLACE_FREOPEN''@|0|g' \
-e 's|@''REPLACE_FSEEKO''@|0|g' \
-e 's|@''REPLACE_FSEEK''@|0|g' \
-e 's|@''REPLACE_FTELLO''@|0|g' \
-e 's|@''REPLACE_FTELL''@|0|g' \
-e 's|@''REPLACE_FFLUSH''@|0|g' \
-e 's|@''HAVE_DECL_GETDELIM''@|1|g' \
-e 's|@''HAVE_DECL_GETLINE''@|1|g' \
-e 's|@''REPLACE_GETLINE''@|0|g' \
-e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
< ./stdio.in.h; \
} > stdio.h-t
mv stdio.h-t stdio.h
rm -f stdlib.h-t stdlib.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
-e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
-e 's|@''GNULIB_MALLOC_POSIX''@|1|g' \
-e 's|@''GNULIB_REALLOC_POSIX''@|0|g' \
-e 's|@''GNULIB_CALLOC_POSIX''@|0|g' \
-e 's|@''GNULIB_GETSUBOPT''@|0|g' \
-e 's|@''GNULIB_MKDTEMP''@|0|g' \
-e 's|@''GNULIB_MKSTEMP''@|0|g' \
-e 's|@''GNULIB_PUTENV''@|0|g' \
-e 's|@''GNULIB_SETENV''@|0|g' \
-e 's|@''GNULIB_UNSETENV''@|0|g' \
-e 's|@''HAVE_CALLOC_POSIX''@|1|g' \
-e 's|@''HAVE_GETSUBOPT''@|1|g' \
-e 's|@''HAVE_MALLOC_POSIX''@|1|g' \
-e 's|@''HAVE_MKDTEMP''@|1|g' \
-e 's|@''HAVE_REALLOC_POSIX''@|1|g' \
-e 's|@''HAVE_SETENV''@|1|g' \
-e 's|@''HAVE_UNSETENV''@|1|g' \
-e 's|@''REPLACE_MKSTEMP''@|0|g' \
-e 's|@''REPLACE_PUTENV''@|0|g' \
-e 's|@''VOID_UNSETENV''@|0|g' \
-e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
< ./stdlib.in.h; \
} > stdlib.h-t
mv stdlib.h-t stdlib.h
rm -f string.h-t string.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
-e 's|@''NEXT_STRING_H''@|<string.h>|g' \
-e 's|@''GNULIB_MBSLEN''@|0|g' \
-e 's|@''GNULIB_MBSNLEN''@|0|g' \
-e 's|@''GNULIB_MBSCHR''@|0|g' \
-e 's|@''GNULIB_MBSRCHR''@|0|g' \
-e 's|@''GNULIB_MBSSTR''@|0|g' \
-e 's|@''GNULIB_MBSCASECMP''@|0|g' \
-e 's|@''GNULIB_MBSNCASECMP''@|0|g' \
-e 's|@''GNULIB_MBSPCASECMP''@|0|g' \
-e 's|@''GNULIB_MBSCASESTR''@|0|g' \
-e 's|@''GNULIB_MBSCSPN''@|0|g' \
-e 's|@''GNULIB_MBSPBRK''@|0|g' \
-e 's|@''GNULIB_MBSSPN''@|0|g' \
-e 's|@''GNULIB_MBSSEP''@|0|g' \
-e 's|@''GNULIB_MBSTOK_R''@|0|g' \
-e 's|@''GNULIB_MEMMEM''@|0|g' \
-e 's|@''GNULIB_MEMPCPY''@|0|g' \
-e 's|@''GNULIB_MEMRCHR''@|0|g' \
-e 's|@''GNULIB_STPCPY''@|0|g' \
-e 's|@''GNULIB_STPNCPY''@|0|g' \
-e 's|@''GNULIB_STRCHRNUL''@|0|g' \
-e 's|@''GNULIB_STRDUP''@|1|g' \
-e 's|@''GNULIB_STRNDUP''@|1|g' \
-e 's|@''GNULIB_STRNLEN''@|1|g' \
-e 's|@''GNULIB_STRPBRK''@|0|g' \
-e 's|@''GNULIB_STRSEP''@|0|g' \
-e 's|@''GNULIB_STRSTR''@|0|g' \
-e 's|@''GNULIB_STRCASESTR''@|0|g' \
-e 's|@''GNULIB_STRTOK_R''@|0|g' \
-e 's|@''GNULIB_STRERROR''@|1|g' \
-e 's|@''GNULIB_STRSIGNAL''@|0|g' \
-e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
-e 's|@''HAVE_MEMPCPY''@|1|g' \
-e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
-e 's|@''HAVE_STPCPY''@|1|g' \
-e 's|@''HAVE_STPNCPY''@|1|g' \
-e 's|@''HAVE_STRCHRNUL''@|1|g' \
-e 's|@''HAVE_DECL_STRDUP''@|1|g' \
-e 's|@''HAVE_STRNDUP''@|1|g' \
-e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
-e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
-e 's|@''HAVE_STRPBRK''@|1|g' \
-e 's|@''HAVE_STRSEP''@|1|g' \
-e 's|@''HAVE_STRCASESTR''@|1|g' \
-e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
-e 's|@''HAVE_DECL_STRERROR''@|1|g' \
-e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
-e 's|@''REPLACE_MEMMEM''@|0|g' \
-e 's|@''REPLACE_STRCASESTR''@|0|g' \
-e 's|@''REPLACE_STRSTR''@|0|g' \
-e 's|@''REPLACE_STRERROR''@|0|g' \
-e 's|@''REPLACE_STRSIGNAL''@|0|g' \
-e '/definition of GL_LINK_WARNING/r ../build-aux/link-warning.h' \
< ./string.in.h; \
} > string.h-t
mv string.h-t string.h
rm -f unistd.h-t unistd.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_UNISTD_H''@|1|g' \
-e 's/@''INCLUDE_NEXT''@/include_next/g' \
-e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
-e 's|@''GNULIB_CHOWN''@|0|g' \
-e 's|@''GNULIB_DUP2''@|0|g' \
-e 's|@''GNULIB_FCHDIR''@|0|g' \
-e 's|@''GNULIB_FTRUNCATE''@|0|g' \
-e 's|@''GNULIB_GETCWD''@|0|g' \
-e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
-e 's|@''GNULIB_GETPAGESIZE''@|0|g' \
-e 's|@''GNULIB_LCHOWN''@|0|g' \
-e 's|@''GNULIB_LSEEK''@|0|g' \
-e 's|@''GNULIB_READLINK''@|0|g' \
-e 's|@''GNULIB_SLEEP''@|0|g' \
-e 's|@''HAVE_DUP2''@|1|g' \
-e 's|@''HAVE_FTRUNCATE''@|1|g' \
-e 's|@''HAVE_GETPAGESIZE''@|1|g' \
-e 's|@''HAVE_READLINK''@|1|g' \
-e 's|@''HAVE_SLEEP''@|1|g' \
-e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
-e 's|@''HAVE_OS_H''@|0|g' \
-e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
-e 's|@''REPLACE_CHOWN''@|0|g' \
-e 's|@''REPLACE_FCHDIR''@|0|g' \
-e 's|@''REPLACE_GETCWD''@|0|g' \
-e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
-e 's|@''REPLACE_LCHOWN''@|0|g' \
-e 's|@''REPLACE_LSEEK''@|0|g' \
< ./unistd.in.h; \
} > unistd.h-t
mv unistd.h-t unistd.h
make all-am
make[3]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \
then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi
/bin/sh: gcc: command not found
make[3]: *** [base64.o] Error 1
make[3]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13'
make: *** [all] Error 2

real 0m0.189s
user 0m0.072s
sys 0m0.036s
Making install in gl
make[1]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make install-am
make[2]: Entering directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \
then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi
/bin/sh: gcc: command not found
make[2]: *** [base64.o] Error 1
make[2]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-1.4.13/gl'
make: *** [install-recursive] Error 1

real 0m0.074s
user 0m0.044s
sys 0m0.008s

real 0m2.900s
user 0m0.440s
sys 0m0.520s
NRPE
./install: line 14: [: -if: unary operator expected
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No rule to make target `all'. Stop.
make: *** No rule to make target `install-plugin'. Stop.
xinetd: unrecognized service
NRPE-POST
mkdir: cannot create directory `/usr/local/nagios/etc/nrpe': File exists
xinetd: unrecognized service

real 0m0.822s
user 0m0.072s
sys 0m0.268s
NSCA
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No rule to make target `all'. Stop.
cp: cannot stat `src/nsca': No such file or directory
cp: cannot stat `src/send_nsca': No such file or directory
cp: cannot stat `sample-config/nsca.xinetd': No such file or directory
xinetd: unrecognized service
NSCA-POST

real 0m0.600s
user 0m0.048s
sys 0m0.280s
INSTALLING EXTRA PLUGINS...

real 0m0.044s
user 0m0.000s
sys 0m0.004s
sed: can't read /etc/xinetd.d/nrpe: No such file or directory

Re: Getting the following error with NRPE

Posted: Thu Oct 20, 2011 4:47 pm
by lmiltchev
Are you installing the linux agent on CentOS 6 x64? Did you try running:

Code: Select all

# yum update
and then running "./fullinstall" again?