Re: [Nagios-devel] Core-less in Seattle

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] Core-less in Seattle

Post by Guest »

[email protected] wrote:
> Has anyone had problems obtaining core dumps from the main Nagios daemon
> when it segfaults?
>
> I've enabled the option in the config file "daemon_dumps_core" but, after
> the daemon dies due to a segfault (confirmed via dmesg,) a core file never
> seems to be produced.
>
> And yes, I've set the global ulimit for core dumps to unlimited, and yes,
> there is enough space on my disk, and yes, I've scoured the disk with
> "find" looking for files with the name of "core" or "core.", but to
> no avail.
>
> I also completely disabled the segfault handling logic in the signal
> handler, but nothing's changed.
>
> What am I missing here?
>

Is Nagios' working directory writable by the user Nagios runs as?

> I'm considering running nagios in the foreground (non-daemon mode) just to
> see if I can catch the magically-missing core file.
>

Make sure you start it in a directory where you and the nagios
pseudo-user has write permissions.

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231





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