ERRO NA INSTALAÇÃO DO NRPE

1. ERRO NA INSTALAÇÃO DO NRPE

Bruno Henrique Bastos Nita
brunonita

(usa Linux Mint)

Enviado em 06/02/2020 - 11:30h

Bom Dia
Alguém pode me ajudar ao tentar instalar o nrpe-2.15

Dá o seguinte erro:

[email protected]:/home/graphics/nagios/nrpe-2.15# make && make install
cd ./src/; make ; cd ..
make[1]: Entering directory '/home/graphics/nagios/nrpe-2.15/src'
gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -I ../include - I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -L/usr/lib/x86_64-linux-gnu - lssl -lcrypto -lnsl
In file included from ./nrpe.c:34:0:
./../include/dh.h: In function âget_dh512â:
./../include/dh.h:27:17: warning: implicit declaration of function âDH_set0_pqgâ [-Wimplicit-function-declaration]
|| !DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) {
^~~~~~~~~~~
./nrpe.c: In function âmainâ:
./nrpe.c:118:2: warning: implicit declaration of function âasprintfâ; did you me an âvsprintfâ? [-Wimplicit-function-declaration]
asprintf(&env_string,"NRPE_MULTILINESUPPORT=1");
^~~~~~~~
vsprintf
./nrpe.c:204:3: warning: ignoring return value of âgetcwdâ, declared with attrib ute warn_unused_result [-Wunused-result]
getcwd(config_file,sizeof(config_file));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c:309:3: warning: ignoring return value of âchdirâ, declared with attribu te warn_unused_result [-Wunused-result]
chdir("/");
^~~~~~~~~~
./nrpe.c:379:3: warning: ignoring return value of âchdirâ, declared with attribu te warn_unused_result [-Wunused-result]
chdir("/");
^~~~~~~~~~
./nrpe.c: In function âmy_systemâ:
./nrpe.c:1491:2: warning: ignoring return value of âpipeâ, declared with attribu te warn_unused_result [-Wunused-result]
pipe(fd);
^~~~~~~~
./nrpe.c:1544:4: warning: ignoring return value of âwriteâ, declared with attrib ute warn_unused_result [-Wunused-result]
write(fd[1],buffer,strlen(buffer)+1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c:1554:5: warning: ignoring return value of âwriteâ, declared with attrib ute warn_unused_result [-Wunused-result]
write(fd[1],buffer,bytes_read);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c: In function âwrite_pid_fileâ:
./nrpe.c:1766:3: warning: ignoring return value of âwriteâ, declared with attrib ute warn_unused_result [-Wunused-result]
write(fd,pbuf,strlen(pbuf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c: In function âread_config_dirâ:
./nrpe.c:646:50: warning: â%sâ directive output may be truncated writing up to 2 55 bytes into a region of size 254 [-Wformat-truncation=]
snprintf(config_file,sizeof(config_file)-1,"%s/%s",dirname,dirfile->d_name);
^~
In file included from /usr/include/stdio.h:862:0,
from ../include/config.h:28,
from ./nrpe.c:27:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: â__builtin___snprintf_c hkâ output 2 or more bytes (assuming 257) into a destination of size 255
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./utils.c: In function âmy_connectâ:
./utils.c:151:10: warning: implicit declaration of function âmy_create_socketâ; did you mean âOBJ_create_objectsâ? [-Wimplicit-function-declaration]
sock = my_create_socket(ai, bind_address);
^~~~~~~~~~~~~~~~
OBJ_create_objects
/tmp/cciCvJ1F.o: In function `get_dh512':
/home/graphics/nagios/nrpe-2.15/src/./../include/dh.h:27: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:39: recipe for target 'nrpe' failed
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory '/home/graphics/nagios/nrpe-2.15/src'

*** Compile finished ***

If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.

Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

cd ./src/ && make install
make[1]: Entering directory '/home/graphics/nagios/nrpe-2.15/src'
make install-plugin
make[2]: Entering directory '/home/graphics/nagios/nrpe-2.15/src'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libe xec
/usr/bin/install: cannot stat 'check_nrpe': No such file or directory
Makefile:49: recipe for target 'install-plugin' failed
make[2]: *** [install-plugin] Error 1
make[2]: Leaving directory '/home/graphics/nagios/nrpe-2.15/src'
Makefile:45: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/home/graphics/nagios/nrpe-2.15/src'
Makefile:56: recipe for target 'install' failed
make: *** [install] Error 2

Por motivos de segurança esse pc não pode acessar a internet.

Se alguém puder ajudar agradeço muito!!!


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts