Page 1 of 1
(Return code of 139 is out of bounds)
Posted: Wed Mar 05, 2014 9:10 am
by dhinesh
Hi,
I'm getting the error (Return code of 139 is out of bounds), while checking some drives in Windows through NSCLinet in Nagios XI.
But when I test the command through CCM->Service->Test Check Command it works fine.
Return code.jpg
Re: (Return code of 139 is out of bounds)
Posted: Wed Mar 05, 2014 11:45 am
by sreinhardt
Most likely this is due to a temporary file being created in /tmp from check_nt as the apache user and group. Then when nagios attempts to update\read the same file, it is not allowed permission. I would suggest moving\removing files in /tmp that appear to have randomly created names, and allowing nagios to begin checking again.
Re: (Return code of 139 is out of bounds)
Posted: Thu Mar 06, 2014 8:07 am
by dhinesh
Thanks for your reply sreinhardt.
I just figured the IP associated with the host was changed., which caused the problem. Now it s been resolved.
Re: (Return code of 139 is out of bounds)
Posted: Thu Mar 06, 2014 10:21 am
by tmcdonald
Glad to hear it's working again.
I will be locking this thread now, but feel free to open another if you have further issues in the future.