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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to