Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"DBERROR db4: PANIC: fatal region error detected; run recovery" Error

597803Sep 13 2007 — edited Sep 13 2007
Hi forum,

I am running postfix-2.2.10 with BDB-4.2.52-7.1 & cyrus-imap-2.2.12 on Redhat Enterprise Linux 4 update 4 on s390x(IBM Z series). After installing cyrus-imap & I am receving the following error in /var/log/maillog :

---------------------------------------------------------------------------------------------------------------
Sep 12 13:09:50 linux08 imaps[16727]: DBERROR: critical database situation
Sep 12 13:09:50 linux08 master[16728]: about to exec
/usr/lib64/cyrus-imapd/pop3d
Sep 12 13:09:50 linux08 pop3[16728]: DBERROR: invalid berkeley_cachesize value,
using internal default
Sep 12 13:09:50 linux08 pop3[16728]: DBERROR db4: PANIC: fatal region error
detected; run recovery
Sep 12 13:09:50 linux08 pop3[16728]: DBERROR: critical database situation
Sep 12 13:09:50 linux08 master[16729]: about to exec
/usr/lib64/cyrus-imapd/pop3d
Sep 12 13:09:50 linux08 pop3s[16729]: DBERROR: invalid berkeley_cachesize
value, using internal default
Sep 12 13:09:50 linux08 pop3s[16729]: DBERROR db4: PANIC: fatal region error
detected; run recovery
Sep 12 13:09:50 linux08 pop3s[16729]: DBERROR: critical database situation
----------------------------------------------------------------------------------------------------------------

I tried with "ctl_cyrusdb -r" but it did not work.

------------------------------------------------------------------------------
My /etc/cyrus.conf -


# standard standalone server implementation

START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"

# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=5
imaps cmd="imapd -s" listen="imaps" prefork=1
pop3 cmd="pop3d" listen="pop3" prefork=3
pop3s cmd="pop3d -s" listen="pop3s" prefork=1
sieve cmd="timsieved" listen="sieve" prefork=0

# these are only necessary if receiving/exporting usenet via NNTP
# nntp cmd="nntpd" listen="nntp" prefork=3
# nntps cmd="nntpd -s" listen="nntps" prefork=1

# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1

# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
# this is required
# checkpoint cmd="ctl_cyrusdb -c" period=30
checkpoint cmd="ctl_cyrusdb -c" period=5

# this is only necessary if using duplicate delivery suppression,
# Sieve or NNTP
delprune cmd="cyr_expire -E 3" at=0400

# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
}

-----------------------------------------------------------------------------------
My /etc/imapd.conf -

configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt

----------------------------------------------------------------------------------

Pls suggest how to fix this problem. My cyrus imap server is not coming up at
all.

Let me know if this is a BUG in BDB 4.2 ?

Thanks in advance,
Somnath
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2007
Added on Sep 13 2007
1 comment
2,600 views