Xref: utzoo unix-pc.general:444 comp.sys.att:2722 Path: utzoo!utgpu!water!watmath!clyde!att-cb!gwspc!n8emr!osu-cis!tut.cis.ohio-state.edu!uwmcsd1!ig!agate!pasteur!ames!lll-tis!ptsfa!pacbell!maxepr!ken From: ken@maxepr.UUCP (Ken Brassler) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: making "expire" work Message-ID: <496@maxepr.UUCP> Date: 8 Mar 88 20:58:45 GMT References: <260@bacchus> Reply-To: ken@maxepr.UUCP (Ken Brassler) Organization: Brassler Engineering Co., Mill Valley, CA Lines: 18 In article <260@bacchus> darren@bacchus (Darren Friedlein) writes: > >but every time I run expire, no matter what the parameters, I get the message: > >expire: Cannot get NEWSGRP gr entry > If you look though expire.c, you'll see that this error message is produced when a call to getgrnam() fails. getgrnam() is a library function, explained in getgrent(3c), which tries to find the group id, "NEWSGRP", in the /etc/group file. Obviously, the group is not there. So, find out what group NEWSGRP is, (ls -l /usr/lib/news) then add it to /etc/group. -- Ken Brassler {ihnp4|qantel|pyramid|lll-crg}!pacbell!maxepr!ken