Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 06:58:21 +0200 (CEST)
From:      Leif Neland <leifn@neland.dk>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: sendmail 8.11.0 trouble
Message-ID:  <Pine.BSF.4.05.10008010652510.74755-100000@arnold.neland.dk>
In-Reply-To: <Pine.BSF.4.05.10008010249170.20067-100000@arnold.neland.dk>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 1 Aug 2000, Leif Neland wrote:

> 
> 
> On Sun, 30 Jul 2000, Garrett Wollman wrote:
> 
> > <<On Sun, 30 Jul 2000 09:11:52 +0200 (CEST), Leif Neland <leifn@neland.dk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10008010652510.74755-100000>