Re: Strange NRPE behaviour.
Posted: Mon Nov 06, 2017 5:24 am
Unfortunately, trying on 127.0.0.1 just fails with a certificate error as we don't have one on localhost.
However, I did manage to get something from the apache error log when I tried the normal command.
To me the root cause is obvious, I just don't know how to fix it. The command works fine from the command line but not when run inside the NRPE shell, so it's obviously something to do with the shell. Perhaps I need to re-build NRPE with some specific switches? I do hope the above helps?
Thanks for all your efforts so far.
Code: Select all
[Mon Nov 06 10:19:04 2017] [debug] ssl_engine_io.c(1897): OpenSSL: read 2/2 bytes from BIO#1154c9f0 [mem: 11550009] (BIO dump follows)
Code: Select all
[Mon Nov 06 10:14:59 2017] [info] [client 10.1.1.75] Connection to child 9 established (server test-server1.com:443)
[Mon Nov 06 10:14:59 2017] [info] [client 10.1.1.75] Connection to child 2 established (server test-server1.com:443)
[Mon Nov 06 10:14:59 2017] [info] Seeding PRNG with 1024 bytes of entropy
[Mon Nov 06 10:14:59 2017] [info] Seeding PRNG with 1024 bytes of entropy
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_kernel.c(1866): OpenSSL: Handshake: start
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: before/accept initialization
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_kernel.c(1866): OpenSSL: Handshake: start
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_io.c(1908): OpenSSL: I/O error, 11 bytes expected to read on BIO#11548950 [mem: 11550000]
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_kernel.c(1903): OpenSSL: Exit: error in SSLv2/v3 read client hello A
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: before/accept initialization
[Mon Nov 06 10:14:59 2017] [info] [client 10.1.1.75] (70014)End of file found: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!]
[Mon Nov 06 10:14:59 2017] [info] [client 10.1.1.75] Connection closed to child 9 with abortive shutdown (server test-server1.com:443)
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_io.c(1897): OpenSSL: read 9/11 bytes from BIO#11548950 [mem: 11550000] (BIO dump follows)
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_io.c(1869): | 0000: 47 45 54 20 2f 0d 0a 0d-0a GET /.... |
[Mon Nov 06 10:14:59 2017] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
To me the root cause is obvious, I just don't know how to fix it. The command works fine from the command line but not when run inside the NRPE shell, so it's obviously something to do with the shell. Perhaps I need to re-build NRPE with some specific switches? I do hope the above helps?
Thanks for all your efforts so far.