[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 »

Matt Bostock wrote:
> 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.

It looks like this error is being caused by the FreeBSD port's rc.d
script. Running /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cf
on the command line works fine. I'll keep investigating and see what I
can dig up.

HTH,
Matt :)






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