let me know if more info is needed
OS: linux
sendmail-8.14.3 and db-4.8.24 (both compiled from source)
# makemap hash access < access
access.db: Invalid type 5 specified
makemap: error opening type hash map access: Invalid argument
# makemap -l
hash
btree
# ldd /usr/local/sbin/makemap
linux-gate.so.1 => (0xb77b8000)
libdb-4.8.so => /usr/local/lib/libdb-4.8.so (0xb7644000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb762e000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb75fc000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb75e3000)
libdl.so.2 => /lib/libdl.so.2 (0xb75df000)
libc.so.6 => /lib/libc.so.6 (0xb747f000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7466000)
/lib/ld-linux.so.2 (0xb77b9000)
J.
1) What does `file access access.db` produce?
2) Can you isolate the failure to a specific line in access?
> # makemap -l
> hash
> btree
>
> # ldd /usr/local/sbin/makemap
> linux-gate.so.1 => (0xb77b8000)
> libdb-4.8.so => /usr/local/lib/libdb-4.8.so (0xb7644000)
> libresolv.so.2 => /lib/libresolv.so.2 (0xb762e000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0xb75fc000)
> libnsl.so.1 => /lib/libnsl.so.1 (0xb75e3000)
> libdl.so.2 => /lib/libdl.so.2 (0xb75df000)
> libc.so.6 => /lib/libc.so.6 (0xb747f000)
> libpthread.so.0 => /lib/libpthread.so.0 (0xb7466000)
> /lib/ld-linux.so.2 (0xb77b9000)
--
Mike Andrews, W5EGO
mi...@mikea.ath.cx
Tired old sysadmin
>> # makemap hash access < access
>> access.db: Invalid type 5 specified
>> makemap: error opening type hash map access: Invalid argument
>
> 1) What does `file access access.db` produce?
>
> 2) Can you isolate the failure to a specific line in access?
i'm starting from scratch, there is currently only one line in the
access file, once everything is up and running i'll populate it with
more entries.
-rw-r--r-- 1 root root 18 2009-11-16 09:58 access
-rw-r----- 1 root root 0 2009-11-16 09:58 access.db
# file access*
access: ASCII text
access.db: empty
# cat access
64.81.52.5 RELAY
in all the years, i've never been this puzzled by a problem... it's been
two days and countless recompiles later, and still not a clue why this
is happening.
i wonder if i should try an older version of berkeleydb instead...
J.
I know you're already thinking about it but just for info
what gives the DB inborn check?:
# sendmail -bv -d0.1 | grep DB
> I know you're already thinking about it but just for info
> what gives the DB inborn check?:
> # sendmail -bv -d0.1 | grep DB
# sendmail -bv -d0.1 | grep DB
NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SCANF
USERDB XDEBUG
J.
> sendmail-8.14.3 and db-4.8.24 (both compiled from source)
>
> # makemap hash access < access
> access.db: Invalid type 5 specified
> makemap: error opening type hash map access: Invalid argument
FYI; problem solved.
downgraded to BerkeleyDB db-4.5.20 everything works now
it looks like downloading the latest stable release is not always the
best thing you can do ;)
J.