From owner-freebsd-current Mon Jul 31 21:58:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id D4A3637B52F for ; Mon, 31 Jul 2000 21:58:50 -0700 (PDT) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.9.3/8.9.3) with UUCP id GAA19553 for freebsd-current@FreeBSD.ORG; Tue, 1 Aug 2000 06:58:48 +0200 (CEST) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.0/8.9.3) with ESMTP id e714wQ576225 for ; Tue, 1 Aug 2000 06:58:32 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Tue, 1 Aug 2000 06:58:21 +0200 (CEST) From: Leif Neland Cc: freebsd-current@FreeBSD.ORG Subject: Re: sendmail 8.11.0 trouble In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 1 Aug 2000, Leif Neland wrote: > > > On Sun, 30 Jul 2000, Garrett Wollman wrote: > > > < said: > > > > >> On Sunday, July 30, 2000, Leif Neland wrote: > > > > >> > Sendmail 8.11.0 > > >> > > > >> > When invoking sendmail or newaliases I get this message: > > >> > /etc/pwd.db: Invalid argument > > >> > > > >> > Sendmail can't read /etc/pwd.db, and therefore cannot deliver any local > > >> > mail. > > >> > > > >> > Howtofixitplease? > > > > Sounds like you're using the wrong version of Berkeley DB (i.e., not > > the one in libc). Can't fathom how this could override the internal > > linkage in libc, though. > > > > There seems indeed to be a confusion of the .db's: > /etc/mail/aliases.db: MS Windows COFF Unknown CPU > /etc/pwd.db: Berkeley DB Hash file (Version 2, Little Endian, Bucket Size 4096, Bucket Shift 12, Directory Size 256, Segment Size 256, Segment Shift 8, Overflow Point 3, Last Freed 2, Max Bucket 7, High Mask 0xf, Low Mask 0x7, Fill Factor 32, Number of Keys 52) > > Sendmail compiles with -DNEWDB > > I had db 2.something installed from the ports. I uninstalled it, it made > no difference. > I compile in /usr/src/sendmail-8.11.0 I nfs-mounted /usr/src and /usr/obj to an a little older current (like when I do a make installworld to the older machine) I then compiled the same sourcedir with the same options, but now I got a sendmail binary, which understands Berkley DB Hash file (version 2). Then I could "./Build install" a working sendmail on the original machine. Something on the original machine must trigger a wrong db type in sendmail build. Strange... Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message