in reply to File rights?
Furthermore I am going to guess that this error comes from inside the C library, and is not (usefully at least) trapped by DB_File, which is why $! is not populated.
Using locks so that people don't really access this simultaneously is likely to help. (I cannot guarantee that though.) Another solution for read-only access is to have people operate off of local copies of the index files.
And an incidental note for the casual reader. The underlying shared memory issue is one of the reasons why at Re (tilly) 2: Synchronizing variables (in mod_perl) across Apache instances? I said I prefer avoiding introducing shared memory when it is not yet needed. Berkeley DB has little choice, among other things they implement their locking subsystem between processes in a shared memory segment. However if you are building something that will ever potentially be shared across machines, avoid it up front.
|
|---|