Re: installing NRPE on Ubuntu 10.04LTS
Posted: Tue Jan 22, 2013 5:47 pm
Thanks gshergill, I really appreciate your dilligence. As I'm working off of a VM, I keep reverting to previous snapshots and restarting from scratch...
this latest time, I took my bear-bones Ubuntu 10.04LTS install, did an "apt-get update", manually installed "build-essential", "libssl-dev" and "xinetd" and successfully ran the configure for the Nagios plugins, this time downloading a fresh copy of the plugins tar file from the website.
I got the same error messages as before when running the make (including the one that you displayed in your most recent post), and several errors like this:
libtool: link: cannot find the library `' or unhandled argument `plug-ins/nagios-plugins-1.4.16/plugins'
make[2]: *** [check_apt] Error 1
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16'
make: *** [all] Error 2
when I run the make install for the plugins, I get all of the following errors and none of the system file directories are created (as evidenced by a "directory does not exist" type of error message when I try to chmod them afterwards):
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
make[3]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
Making install in tap
make[1]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
make[2]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/nagios/include" || /bin/mkdir -p "/usr/local/nagios/include"
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
Making install in lib
make[1]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
Making install in .
make[2]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
make[3]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
Making install in tests
make[2]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[3]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
Making install in plugins
make[1]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/plugins'
/bin/bash ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.16"' -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: cannot find the library `' or unhandled argument `plug-ins/nagios-plugins-1.4.16/plugins'
make[1]: *** [check_apt] Error 1
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/plugins'
make: *** [install-recursive] Error 1
followed by:
root@:~# chmod -R 777 /usr/local/nagios/libexec
chmod: cannot access `/usr/local/nagios/libexec': No such file or directory
previously, I tried simply copying over all the missing directories and check commands, but that didn't work either.
anyone have any ideas?
this latest time, I took my bear-bones Ubuntu 10.04LTS install, did an "apt-get update", manually installed "build-essential", "libssl-dev" and "xinetd" and successfully ran the configure for the Nagios plugins, this time downloading a fresh copy of the plugins tar file from the website.
I got the same error messages as before when running the make (including the one that you displayed in your most recent post), and several errors like this:
libtool: link: cannot find the library `' or unhandled argument `plug-ins/nagios-plugins-1.4.16/plugins'
make[2]: *** [check_apt] Error 1
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16'
make: *** [all] Error 2
when I run the make install for the plugins, I get all of the following errors and none of the system file directories are created (as evidenced by a "directory does not exist" type of error message when I try to chmod them afterwards):
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
make[3]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/gl'
Making install in tap
make[1]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
make[2]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/nagios/include" || /bin/mkdir -p "/usr/local/nagios/include"
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/tap'
Making install in lib
make[1]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
Making install in .
make[2]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
make[3]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
Making install in tests
make[2]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[3]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[2]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib/tests'
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/lib'
Making install in plugins
make[1]: Entering directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/plugins'
/bin/bash ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.16"' -g -O2 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lpthread -ldl
libtool: link: cannot find the library `' or unhandled argument `plug-ins/nagios-plugins-1.4.16/plugins'
make[1]: *** [check_apt] Error 1
make[1]: Leaving directory `/opt/nagios/nagios plug-ins/nagios-plugins-1.4.16/plugins'
make: *** [install-recursive] Error 1
followed by:
root@:~# chmod -R 777 /usr/local/nagios/libexec
chmod: cannot access `/usr/local/nagios/libexec': No such file or directory
previously, I tried simply copying over all the missing directories and check commands, but that didn't work either.
anyone have any ideas?