sendmail (again), and libdb shared libs.

From: Bob Parkinson <rwplists_at_omni.ac.uk>
Date: Tue, 08 Sep 1998 10:51:00 +0100 (BST)

I thought I had this cracked but...

On a du4.0d system, with db-2.4.14 and sendmail-8.9.1

The problem is now that sendmail and makemap are both hanging. Sendmail
when I run it (./sendmail -bi -C/etc/OMNI.cf) with a line in the
cf file like:

O AliasFile=hash:/etc/exa

and makemap when I try: ./makemap hash /etc/exa

I've moved the shipped du4.0d libdb.so into the /usr/shlib/osf.1
directory, and created a new libdb.so from the libdb.a from db-2.4.14, and
dropped that into /usr/shlib. It all compiles with any problems. The
makemap binary is picking up (I believe) the correct .so

omni:root> odump -Dl obj.OSF1.V4.0.alpha/makemap


                        ***LIBRARY LIST SECTION***
        Name Time-Stamp CheckSum Flags Version
obj.OSF1.V4.0.alpha/makemap:
        libdb.so Sep 8 10:13:54 1998 0x5c5cf0f0 0
        libc.so Dec 29 23:09:30 1997 0x5e955f9b 0 osf.1


omni:root> pwd
/usr/shlib
omni:root> ls -l libdb.so
-rw-r--r-- 1 root system 450560 Sep 8 10:15 libdb.so

It (makemap) allways hangs at the same spot, the read(0,.....)

<chop>
stat ("/etc/exa.db", 0x11fffe5d8) = 0 [ , <4095.63137.5989 -rw-r--r-- 1
root system 0 905247458,905247458,905247458> ]
gettimeofday (0x11fffe588, 0x0) = 0
open ("/etc/exa.db", O_RDWR, 00) = 5
fcntl (5, F_SETFD, 1) = 0
fstat (5, 0x11fffe4c0) = 0 [ , <4095.63137.5989 -rw-r--r-- 1 root system 0
905247458,905247458,905247458> ]
lseek (5, 0, SEEK_SET) = 0
read (5, 0x40145ee0, 8192) = 0 [, "", ]
lseek (5, 0, SEEK_SET) = 0
write (5, <00 00 00 00 00 00 00 00 00 00 00 00 61 15 06 00 05 00 00 00 00
20 00 00 02 00 00 00 00 00 00 00 03 00 00 00 03 00 00 00 01 00 00 00 00 00
00 00 00 00 00 00 d1 8d 68 5e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00>..., 8192) = 8192
fsync (5, ?0x1?) = 0
fstat (5, 0x11fffe968) = 0 [ , <4095.63137.5989 -rw-r--r-- 1 root system
8192 905247458,905247458,905247458> ]
obreak (0x14014c000) = 0
obreak (0x14016e000) = 0
fsync (5, ?0x1?) = 0
getuid () = 0
ioctl (0, 0x40067408<Out,TIOCGETP,6>, 11fffe8a8) = 0
read (0, 0xc0095b60, 8192) =

The /etc/exa is a test two liner:

omni:root> cat /etc/exa
bob rwp
bobby rwp

Does anyone have an idea what may be causing this please?

Bob

Bob Parkinson
rwp_at_omni.ac.uk
------------------------------------------------------------------
Technical Officer: OMNI project http://omni.ac.uk/
------------------------------------------------------------------
        The tellytubbies love each other very much
                        Big Hug
Received on Tue Sep 08 1998 - 09:50:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT