[news.software.b] Problems with NEWSGRP gr entry

nickerso@bdofed.UUCP (b) (06/21/89)

Hi
	We have recently started running Bnews 2.11 with patch level 14 on our
system (AT&T 3B2's, a 622 and a 700 running RFS).  We have been getting our
USNET feed from attcan and have been having some problems that the administrator
there doesn't know how to fix.  He's never seen anything like it before.

	Both the inews and expire programs are getting the same error:

	Cannot get NEWSGRP gr entry

Does anyone know what this means?  What have we set up wrong?  Any help would
be appreciated.  Let me know if you need more information to help solve the
problem.

	Bill Nickerson			Etobicoke Board of Education
	nickerso@bdofed			Etobicoke, Ontario

karl@giza.cis.ohio-state.edu (Karl Kleinpaste) (06/22/89)

The slice of code which generates this message is (expire.c):

	if ((gp = getgrnam(NEWSGRP)) == NULL)
		xerror("Cannot get NEWSGRP gr entry");
	dgid = gid = gp->gr_gid;

The problem is that NEWSGRP, which is defined in the Makefile as
"news" by default, is a group name which is not found in your
/etc/group file.  You need to have this symbolic group name defined in
/etc/group so that this code will successfully acquire the numeric
value and can then execute under that ID.

--Karl