> The problem I got: > id2entry file: Bad file number > stopping: child exited with status 1 I had a similar problem, although the error message was different. I tracked it down to errno having a bogus value somewhere, caused by the db2 library version I used at the time. Upgrading to libdb 2.7.4 fixed the problem for me. If that doesn't help, then I suggest you use strace/truss to check what is happening. Michael