> Configure Error
> Configure Error Cannot Find Ssl Headers Solaris
Configure Error Cannot Find Ssl Headers Solaris
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib/ -lssl -lcrypto -lnsl -lsocket ./snprintf.o -liberty nrpe.c: In function `main': nrpe.c:211: warning: assignment discards qualifiers from pointer target type nrpe.c:244: Count trailing truths Do humans have an ethical obligation to prevent animal on animal violence? yes >> checking for main in -lwrap... When you configure the code you may get the following the error shown below: # ./configure .... http://haywirerobotics.com/configure-error/configure-error-cannot-compute-sizeof-int8-t-solaris.html
Posted April 29, 2009, 9:09 pm Ian says:--from remote box--- -bash-3.00$ ./check_nrpe -H localhost -n CHECK_NRPE: Received 0 bytes from daemon. Posted May 20, 2009, 9:08 pm swede says:yes I have all permissions and LOCAL in the hosts.allow file… I uncomment the printf statements in the check_nrpe… right below the handshake printf yes checking for strtoul... do all the make install stuff with no problem refresh the nrpe service svcs refresh svc:/network/nrpe/tcp:default libraries looks ok # ldd /usr/local/nagios/libexec/check_nrpe libssl.so.0.9.8 => /usr/local/ssl/lib/libssl.so.0.9.8 libcrypto.so.0.9.8 => /usr/local/ssl/lib/libcrypto.so.0.9.8 libnsl.so.1 => /lib/libnsl.so.1 More Bonuses
configure: error: Cannot find ssl libraries Please let me know the work around for this. yes checking for main in -lnsl... My kernel is: SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220. However, I try this: ./configure -with-ssl-lib=/opt/openssl/lib -with-ssl-inc=/opt/openssl/include/openssl -with-ssl=/opt/openssl -prefix=/opt/nagios checking for SSL headers… SSL headers found in /opt/openssl/include/openssl/..
- Total distance traveled when visiting all rational numbers Teenage daughter refusing to go to school QGIS restore attribute table order to original Hyper Derivative definition.
- It is more likely that it is the version mis-match between servers.
- Useful links....
- I can't find where download package for my S10 Sparc.
- Comment these line in nrpe.c/* else if(!strcmp(varvalue,"authpriv")) log_facility=LOG_AUTHPRIV; else if(!strcmp(varvalue,"ftp")) log_facility=LOG_FTP; */ DONE. 2) Compile with:./configure --with-ssl-lib=/usr/sfw/lib \--with-ssl-inc=/usr/sfw/include --with-ssl=/usr/sfw \--prefix=/opt/nagios OK, done. 3) Edit the /opt/nagios/etc/nrpe.cfg file.Only 1 change to do:
- no checking for socklen_t...
Does 'netstat -an' on the monitored host show that something is listening on port 5666? Thanks! ~mark Posted November 19, 2009, 3:57 pm Lambert says:While running /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d everything works fine (at my environment). See the README file for more info on doing this. ** If this host will be running the NRPE daemon ** - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios or wherever i > m getting the following error. > > I also tried to give path of ssl libraries...
ie >> ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- didnt work >> either.. >> >> >> ecking for getopt_long... Please let me know if anythig i have missed or need to be done. Posted June 13, 2008, 12:28 pm Kevin Pendleton says:Gary, where is libssl.so.0.9.7 on your system, what is the path to it? Posted February 2, 2010, 3:50 pm Stephen LuShing says:I looked at the config.log and see a reference : configure:25845: checking for ps configure:25863: found /usr/bin/ps configure:25875: result: /usr/bin/ps configure:25884: checking for
Posted August 29, 2008, 2:58 pm Kevin Pendleton says:I saw that you had posted this on the nagiosplug-help mailing list. Since I am using Sol 8, and not Sol10, would installing sunwcry and sunwcryr pkgs help me? 2. The second option, would to be to compile openssl, specifying a specific location for the install and then changing the ssl compile options when compiling NRPE. Posted September 2, 2009, 8:55 pm Kevin Pendleton says:That's what these commands do: gunzip nagios-plugins-1.4.11.tar.gz
tar -xvf nagios-plugins-1.4.11.tar
tar -xvf nrpe-2.12.tar Posted September 3, 2009, 1:23
Posted March 12, 2009, 5:10 am karthikeyanP says:hei, i cant run make install in nrepe 2.4 [email protected] # make all cd ./src/; make ; cd .. *** Compile finished *** If directory thanks, this worked for me. Posted August 27, 2008, 10:22 am Simone says:Tnx Kevin, I tried to compile OpenSSL with: ./config shared -prefix=/opt/openssl And recompiled NRPE with: ./configure -with-ssl-lib=/opt/openssl/lib -with-ssl-inc=/opt/openssl -with-ssl=/opt/openssl -prefix=/opt/nagios Works, but there's always One, install the SUNWcry and SUNWcryr packages and then use the parameters I specified on the NRPE compile.
Wrong way on a bike path? this contact form Mark: you are creating a softlink for libssl to what?? Please don't fill out this field. The scripts that don't work (and by "don't work" I mean are not able to store sys command results into variables when being called by NRPE under SMF) are the ones
I also tried to give path of ssl libraries... I installed the SUNWcry and SUNWcryr packages, pointed the configure script to the appropriate ssl directories, modified both nrpe.c and check_nrpe.c to use the appropriate encryption, trying the lines: SSL_CTX_set_cipher_list(ctx,"ADH:-ADH-AES256-SHA"); or Thanks for the resource! http://haywirerobotics.com/configure-error/configure-error-cannot-find-qt.html Unfortunately, my nagios server runs on Solaris 9 still so I haven't gone through that process yet.
size_t checking for SSL headers... yes checking for main in -lwrap... You would need to recompile on 10.
No output written to check_http collect2: ld returned 1 exit status make: *** [check_http] Error 1 make: Leaving directory `/home/nagios/nagios-plugins-1.4.15/plugins' make: *** [all-recursive] Error 1 make: Leaving directory `/home/nagios/nagios-plugins-1.4.15′ make: ***
Unfortunately, the configure script can not find the SSH headers and libraries on Solaris 10. yes checking for strstr... Now, testing on Nagios Core server: [email protected]:~# /usr/local/nagios/libexec/check_nrpe -H 192.168.10.241CHECK_NRPE: Error - Could not complete SSL handshake. Replace 192.168.0.14 with the IP of your Nagios server.
but it still failed when I did the final check. I am using SUNWgcc not the gcc from Sunfreeware: bash-3.00# pkginfo -l SUNWgcc pkginfo -l SUNWgcc PKGINST: SUNWgcc NAME: gcc - The GNU C compiler CATEGORY: system ARCH: i386 VERSION: 11.10.0,REV=2005.01.08.01.09 Can I use that to take out what he owes me? Check This Out Posted April 9, 2009, 5:59 am Ian says:Has anyone tried this: install nagios&nrpe compiled on solaris 9 in solaris 10 and does it work?
Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).