NRPE installation fails since check_nrpe plugin is not found in the libexec directory

Rahul Nabar rpnabar at gmail.com
Mon Jan 26 21:09:20 CET 2009


On Mon, Jan 26, 2009 at 1:38 PM, Andy Shellam <andy-lists at networkmail.eu>wrote:

> Hi Rahul,
>
> The error it's returning suggests that "check_nrpe" is not in the "src"
> subdirectory of the current directory
> (/usr/local/src/nagios_nodes/downloads/nrpe-2.8/src.)
>
> It looks as if the plugin has not been built.  Do you in fact have
> "check_nrpe" in the above mentioned directory?
>
> What was the final output from "make" ?  I'm guessing it threw an error.
>
>
Thanks again Andy! I don't seem to have the "check_nrpe". Neither here nor
in /usr/local/nagios/libexec. All the other scripts seem to be present there
though! But not this one.

You are right. make did throw errors (I got carried away by my previous
successful installs and did not notice!) Snippet attached below but it seems
to be a bunch of SSL errors that prevent it from compiling check_nrpe.

I traced back further and checked config.log for the nagios-plugins-1.4.13
and it shows:

configure:24258: WARNING: OpenSSL or GnuTLS libs could not be found or were
disabled

I'm not sure why though! "yum info openssl.i686 openssl-devel.i386" show
those both packages as "installed"

ANy other sugesstions?

-- 
Rahul

/////////////////////
/usr/include/openssl/bn.h:287: error: expected specifier-qualifier-list
before ‘BN_ULONG’
/usr/include/openssl/bn.h:303: error: expected specifier-qualifier-list
before ‘BN_ULONG’
/usr/include/openssl/bn.h:449: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘BN_mod_word’
/usr/include/openssl/bn.h:450: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘BN_div_word’
/usr/include/openssl/bn.h:451: error: expected declaration specifiers or
‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:452: error: expected declaration specifiers or
‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:453: error: expected declaration specifiers or
‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:454: error: expected declaration specifiers or
‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:455: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘BN_get_word’
/usr/include/openssl/bn.h:470: error: expected declaration specifiers or
‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:743: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘bn_mul_add_words’
/usr/include/openssl/bn.h:744: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘bn_mul_words’
/usr/include/openssl/bn.h:745: error: expected ‘)’ before ‘*’ token
/usr/include/openssl/bn.h:746: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘bn_div_words’
/usr/include/openssl/bn.h:747: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘bn_add_words’
/usr/include/openssl/bn.h:748: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘bn_sub_words’
In file included from /usr/include/openssl/ssl.h:978,
                 from ../include/config.h:228,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/ssl3.h:303: error: expected specifier-qualifier-list
before ‘PQ_64BIT’
In file included from /usr/include/openssl/dtls1.h:64,
                 from /usr/include/openssl/ssl.h:980,
                 from ../include/config.h:228,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/pqueue.h:73: error: expected specifier-qualifier-list
before ‘PQ_64BIT’
/usr/include/openssl/pqueue.h:80: error: expected ‘)’ before
‘priority’
/usr/include/openssl/pqueue.h:89: error: expected declaration specifiers or
‘...’ before ‘PQ_64BIT’
In file included from /usr/include/openssl/ssl.h:980,
                 from ../include/config.h:228,
                 from ../include/common.h:24,
                 from utils.c:32:
/usr/include/openssl/dtls1.h:92: error: expected specifier-qualifier-list
before ‘PQ_64BIT’
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory
`/usr/local/src/nagios_nodes/downloads/nrpe-2.8/src'
//////////////////////////////////////////////////////
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090126/77a89ab1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list