It's likely the db4/nptl combo doing wierd things. Try setting
LD_ASSUME_KERNEL=2.2.5 *or* recompiling the rpm package after
This did it.
disabling --enable-posixmutexes in the rpm.spec file.
Search the rpm-list list archives for 'O_DIRECT' and/or
'posixmutexes'. There's a whole set of ugliness goin' on, and the Red
Hat kernels have their open(2) calls hacked to avoid it. Other,
non-Red Hat kernels run into trouble with db's write() calls.
O_DIRECT should be disabled in my db4.
Thanks,
Florian La Roche