[Date Prev][Date Next] [Chronological] [Thread] [Top]

An interesting PANIC

OpenLDAP: 2.2.24
OS: Red Hat Enterprise Linux AS release 3 (Taroon Update 4)

Problem: bdb(dc=uvm,dc=edu): PANIC: fatal region error detected; run recovery

Somehow a bdb log file got created and owned by root. Based on the timestamp and the contents of the log, it appears that it happened because the nightly slapcat (which runs as root) did a checkpoint. Either that or it was absolute coincidence that the checkpoint was run at the exact same time (00:17:09) as the slapcat. Slapd runs as user ldap, so I don't know how slapd would have created the log file owned by root.

Should slapcat be doing checkpoints? Is this a known problem? Do I need to change the way the ldap user is defined on the Red Hat system so the slapcat can run as user ldap?

Frank Swasey                    | http://www.uvm.edu/~fcs
Informtn Tech Profssnl Sr       | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
  "I am not young enough to know everything. " - Oscar Wilde (1854-1900)