Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Ravil
Posts: 43 Joined: Thu Feb 20, 2014 9:30 pm
Post
by Ravil » Tue Dec 09, 2014 2:12 am
Hi! I try to install nagios-plugins-2.0.3 on CentOS 6.5 and after make command I see this error:
Code: Select all
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2 -L. -o check_dig check_dig.o libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_dig check_dig.o -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2 -L. -o check_nt check_nt.o libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_nt check_nt.o -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
rm -f check_ftp
ln -s check_tcp check_ftp
ln: создание символьной ссылки «check_ftp»: Неподдерживаемая операция
make[1]: *** [check_ftp] Ошибка 1
make[1]: Leaving directory `/shares/Baiburin/install/nagios-plugins-2.0.3/plugins'
make: *** [install-recursive] Ошибка 1
Please, help!
rhassing
Posts: 412 Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands
Post
by rhassing » Tue Dec 09, 2014 3:33 am
Are you able to create symbolic links by hand?
Just as an example:
Code: Select all
cd /root/
ln -s /etc/resolv.conf ./resolv.conf
Rob Hassing
Ravil
Posts: 43 Joined: Thu Feb 20, 2014 9:30 pm
Post
by Ravil » Tue Dec 09, 2014 4:31 am
rhassing wrote: Are you able to create symbolic links by hand?
Just as an example:
Code: Select all
cd /root/
ln -s /etc/resolv.conf ./resolv.conf
Code: Select all
ln -s /etc/resolv.conf ./resolv.conf
It is work
Ravil
Posts: 43 Joined: Thu Feb 20, 2014 9:30 pm
Post
by Ravil » Tue Dec 09, 2014 4:45 am
rhassing wrote: Are you able to create symbolic links by hand?
Just as an example:
Code: Select all
cd /root/
ln -s /etc/resolv.conf ./resolv.conf
I run install in root directory. It installed some plugines in /usr/local/nagio/libexec, but I received this mistake:
Code: Select all
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_icmp check_icmp.o ../plugins/netutils.o ../plugins/utils.o -L. ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lpthread -ldl
make[2]: Leaving directory `/root/nagios-plugins-2.0.3/plugins-root'
Making all in po
make[2]: Entering directory `/root/nagios-plugins-2.0.3/po'
test ! -f ./nagios-plugins.pot || \
test -z "fr.gmo de.gmo" || make fr.gmo de.gmo
make[3]: Entering directory `/root/nagios-plugins-2.0.3/po'
: --update fr.po nagios-plugins.pot
rm -f fr.gmo && : -c --statistics -o fr.gmo fr.po
mv: невозможно выполнить stat для «t-fr.gmo»: Нет такого файла или каталога
make[3]: *** [fr.gmo] Ошибка 1
make[3]: Leaving directory `/root/nagios-plugins-2.0.3/po'
make[2]: *** [stamp-po] Ошибка 2
make[2]: Leaving directory `/root/nagios-plugins-2.0.3/po'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/root/nagios-plugins-2.0.3'
make: *** [all] Ошибка 2
lgroschen
Posts: 384 Joined: Wed Nov 27, 2013 1:17 pm
Post
by lgroschen » Tue Dec 09, 2014 10:38 am
First try this:
Will install these if they are missing. Then go into the plugins root folder and run:
Then recompile plugins and see if it works.
/Luke