FreeBSD could not get group entry for Nagios

Dan Langille dan at langille.org
Wed Jan 10 01:14:21 CET 2007


On 9 Jan 2007 at 22:36, Andy Shellam (Mailing Lists) wrote:

> Hi Dan,
> 
> Thanks for the reply (answers inline below)
> 
> Dan Langille wrote:
> > Did you install via ports?
> >   
> 
> No - downloaded 2.6 and compiled from source.
> > Are you missing this?
> >
> > $ grep nagios /etc/group
> > nagios:*:1005:
> >   
> 
> I don't think so - I configured Nagios with:
> 
> ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin 
> --with-htmurl=/nagios --with-nagios-user=nagios 
> --with-nagios-group=localservice --with-command-group=webservice
> 
> so this should say the Nagios group is "localservice" - right?
> The Nagios user has "localservice" set as it's default group, and it's 
> also a member of "webservice" - the command group.

Sorry, I don' t know.  I always use the port, and let it do what it 
does.  :(  By using the port, it trivializes upgrades and removals,  
and makes security notices easier (e.g. security/portaudit).

cd /usr/port/net-mgtm/nagios
make install

pretty easy... and if you need/want special config items, you can 
still do them, plus you get the benefits of packaging.

My recommendation: remove what you installed, and use the port.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list