[764] in Moira

home help back first fref pref prev next nref lref last post

Re: mailhub.dc

daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Wed Aug 31 16:52:44 1994

Date: Wed, 31 Aug 1994 16:51:55 -0400
From: Mark Rosenstein <mar@actwin.com>
To: tom@MIT.EDU
Cc: bug-moira@MIT.EDU
In-Reply-To: <9408311858.AA03198@pos.MIT.EDU> (tom@MIT.EDU)

   Date: Wed, 31 Aug 94 14:58:06 -0400
   From: tom@MIT.EDU

   This line was recently added to mailhub.dc:
   >     EXEC SQL SELECT modtime INTO :buf FROM imembers WHERE list_id = 0;
   when executed you get:
   >     mailhub.gen: Unknown code sms 5  code -30110
   >     mailhub.gen: Hesiod build encountered DATABASE ERROR -30110

That's because there generally aren't any members of list 0, that
being the special list that's reserved for locking.  If you want to
create a member record for locking, don't forget to create it in every
moira database you have, and modify the programs and scripts that
create new databases to also create it.  Otherwise you will keep
running into mysterious errors.  This happened when we first added
locks to users, lists, and machines.
					-Mark

home help back first fref pref prev next nref lref last post