Re: [Nagios-devel] nagios 2.4 exits prematurely if /usr/sbin/p1.pl

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] nagios 2.4 exits prematurely if /usr/sbin/p1.pl

Post by Guest »

Marc Haber wrote:
> Hi,
>
> If nagios 2.4 does not find p1.pl, it prints a warning "Can't open
> perl script "/usr/sbin/p1.pl": No such file or directory" and starts.
>
> As soon as the first perl plugin is called, nagios exits with an exit
> code of 254 and logs a SIGSEGV to nagios.log. No core dump.
>
> In my opinion, this is a bug which should be fixed.
>
> Greetings
> Marc
>

Thanks for the note on this. I'm committing a patch that will cause
Nagios to exit with an error during the embedded Perl initialization
code if the p1.pl file doesn't exist. That should fix the problem.


Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked