[Nagios-users]CHECK_NRPE: Error - Could not complete SSL handshake
Darius Pareigis
dpa at ision.net
Fri Jun 20 13:06:34 CEST 2003
Hello,
I have 2 Maschine ( Sparc ) on both are nrpe ports open and I connect per telnet ... nrpeport.
solaris 9
nrpe-2.0b4
openssl-0.9.7b
check_nrpe: error-Could not complete SSL handshake.
truss results:
bash-2.05# truss /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i
execve("/usr/local/nagios/bin/nrpe", 0xFFBFFC1C, 0xFFBFFC30) argc = 4
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3B0000
resolvepath("/usr/local/nagios/bin/nrpe", "/usr/local/nagios/bin/nrpe", 1023) = 26
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
stat("/usr/local/nagios/bin/nrpe", 0xFFBFF9F8) = 0
open("/var/ld/ld.config", O_RDONLY) = 3
fstat(3, 0xFFBFF498) = 0
mmap(0x00000000, 104, PROT_READ, MAP_SHARED, 3, 0) = 0xFF3A0000
close(3) = 0
stat("./libssl.so.0.9.7", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libssl.so.0.9.7", 0xFFBFF33C) = 0
open("/usr/lib/libssl.so.0.9.7", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000
mmap(0x00000000, 270336, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000
mmap(0xFF37C000, 17916, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 180224) = 0xFF37C000
munmap(0xFF36E000, 57344) = 0
resolvepath("/usr/lib/libssl.so.0.9.7", "/usr/lib/libssl.so.0.9.7", 1023) = 24
memcntl(0xFF340000, 40628, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libcrypto.so.0.9.7", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libcrypto.so.0.9.7", 0xFFBFF33C) = 0
open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x00000000, 1212416, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF200000
mmap(0xFF30E000, 90200, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 1040384) = 0xFF30E000
mmap(0xFF326000, 2556, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF326000
munmap(0xFF300000, 57344) = 0
resolvepath("/usr/lib/libcrypto.so.0.9.7", "/usr/lib/libcrypto.so.0.9.7", 1023) = 27
memcntl(0xFF200000, 243760, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0
open("/usr/lib/libnsl.so.1", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x00000000, 712704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF100000
mmap(0xFF19E000, 32620, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 581632) = 0xFF19E000
mmap(0xFF1A6000, 30792, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF1A6000
munmap(0xFF18E000, 65536) = 0
resolvepath("/usr/lib/libnsl.so.1", "/usr/lib/libnsl.so.1", 1023) = 20
memcntl(0xFF100000, 81668, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libsocket.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libsocket.so.1", 0xFFBFF33C) = 0
open("/usr/lib/libsocket.so.1", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1E0000
mmap(0xFF1FA000, 4333, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF1FA000
munmap(0xFF1EA000, 65536) = 0
resolvepath("/usr/lib/libsocket.so.1", "/usr/lib/libsocket.so.1", 1023) = 23
memcntl(0xFF1E0000, 13792, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
open("/usr/lib/libc.so.1", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x00000000, 802816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF000000
mmap(0xFF0BC000, 24464, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF0BC000
mmap(0xFF0C2000, 6580, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF0C2000
munmap(0xFF0AC000, 65536) = 0
resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18
memcntl(0xFF000000, 117232, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libcrypto.so.0.9.7", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libcrypto.so.0.9.7", 0xFFBFF33C) = 0
stat("./libsocket.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libsocket.so.1", 0xFFBFF33C) = 0
stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0
stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19
close(3) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
stat("./libgcc_s.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libgcc_s.so.1", 0xFFBFF33C) = 0
open("/usr/lib/libgcc_s.so.1", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF330000
mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF1C0000
mmap(0xFF1D6000, 8500, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFF1D6000
munmap(0xFF1C8000, 57344) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF0F0000
resolvepath("/usr/lib/libgcc_s.so.1", "/usr/lib/libgcc_s.so.1", 1023) = 22
memcntl(0xFF1C0000, 5816, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libsocket.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libsocket.so.1", 0xFFBFF33C) = 0
stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0
stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
stat("./libgcc_s.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libgcc_s.so.1", 0xFFBFF33C) = 0
stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
stat("./libmp.so.2", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libmp.so.2", 0xFFBFF33C) = 0
open("/usr/lib/libmp.so.2", O_RDONLY) = 3
fstat(3, 0xFFBFF33C) = 0
mmap(0xFF330000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF330000
mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF0D0000
mmap(0xFF0E4000, 849, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF0E4000
munmap(0xFF0D4000, 65536) = 0
resolvepath("/usr/lib/libmp.so.2", "/usr/lib/libmp.so.2", 1023) = 19
memcntl(0xFF0D0000, 2464, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("./libnsl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libnsl.so.1", 0xFFBFF33C) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
stat("./libdl.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libdl.so.1", 0xFFBFF33C) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
stat("./libc.so.1", 0xFFBFF33C) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBFF33C) = 0
stat("/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1" ;, 0xFFBFF14C) = 0
open("/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1" ;, O_RDONLY) = 3
fstat(3, 0xFFBFF14C) = 0
mmap(0xFF330000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF330000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFEFF0000
resolvepath("/usr/platform/sun4u/lib/libc_psr.so.1sr.so .1", "/usr/platform/sun4u/lib/libc_psr.so.1", 1023) = 37
close(3) = 0
munmap(0xFF330000, 8192) = 0
getustack(0xFFBFF864)
getrlimit(RLIMIT_STACK, 0xFFBFF85C) = 0
getcontext(0xFFBFF698)
setustack(0xFF0C393C)
sysconfig(_CONFIG_STACK_PROT) = 7
brk(0x000277D0) = 0
brk(0x000297D0) = 0
fstat(-1, 0xFFBFF2C0) Err#9 EBADF
open("/usr/local/nagios/etc/nrpe.cfg", O_RDONLY) = 3
fstat64(3, 0xFFBFE8E0) = 0
brk(0x000297D0) = 0
brk(0x0002B7D0) = 0
fstat64(3, 0xFFBFE788) = 0
ioctl(3, TCGETA, 0xFFBFE86C) Err#25 ENOTTY
read(3, " # # # # # # # # # # # #".., 8192) = 5082
read(3, 0x0002781C, 8192) = 0
llseek(3, 0, SEEK_CUR) = 5082
close(3) = 0
brk(0x0002B7D0) = 0
brk(0x0002D7D0) = 0
brk(0x0002D7D0) = 0
brk(0x0002F7D0) = 0
brk(0x0002F7D0) = 0
brk(0x000317D0) = 0
brk(0x000317D0) = 0
brk(0x000337D0) = 0
brk(0x000337D0) = 0
brk(0x000357D0) = 0
brk(0x000357D0) = 0
brk(0x000377D0) = 0
time() = 1056107169
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 3
poll(0xFFBFEEA0, 1, 10) = 1
read(3, " /CE 8 HC7 T ; iD4 / 3BA".., 32) = 32
close(3) = 0
getpid() = 285 [284]
getpid() = 285 [284]
getuid() = 0 [0]
getpid() = 285 [284]
time() = 1056107169
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
getpid() = 285 [284]
fstat(-1, 0xFFBFE690) Err#9 EBADF
open("/dev/conslog", O_WRONLY) = 3
fcntl(3, F_SETFD, 0x00000001) = 0
fstat(3, 0xFFBFE690) = 0
fstat(3, 0xFFBFF0F0) = 0
time() = 1056107170
open("/usr/share/lib/zoneinfo/Europe/Berlin", O_RDONLY) = 4
fstat64(4, 0xFFBFE4D0) = 0
read(4, " T Z i f
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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