[Nagios-devel] Re: Warning: Could not get group entry for 'nagios' on FreeBSD

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

[Nagios-devel] Re: Warning: Could not get group entry for 'nagios' on FreeBSD

Post by Guest »

Using ktrace and kdump crashed my box. I have ascertained however that
the problem only occurs when Nagios is run as a daemon (not when it's
run in the foreground). Also, from ktrace it looks like Nagios found
/etc/passwd and /etc/group with no problems.

Matt

Matt Bostock wrote:
> *** I tried sending this to nagios-users but didn't get a response, I
> figured maybe it's more suitable in the dev mailing list, hope that's ok.***
>
> Hi,
>
> I'm trying to run Nagios inside a FreeBSD jail, but am getting this in
> nagios.log:
>
> [1116603291] Nagios 2.0b3 starting... (PID=88484)
> [1116603291] LOG VERSION: 2.0
> [1116603336] Warning: Could not get group entry for 'nagios'
> [1116603336] Warning: Could not set effective GID=-1
> [1116603336] Failed to drop privileges. Aborting.
>
> After that, Nagios exits. The nagios user and group are definetly set
> up. Any suggestions would be very gratefully appreciated.
>
> Many thanks,
> Matt :)






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