DBERROR db4: PANIC: fatal region error in cyrus-imapd on RHEL4 update 4 for S390X

"Somnath Pal" <[email protected]> Wed, 19 Sep 2007 15:11:03 +0530
Newsgroups gmane.linux.redhat.s390
Message-ID <[email protected]>
------=_Part_20964_30753284.1190194863161
Content-Type: multipart/alternative; 
	boundary="----=_Part_20965_23108216.1190194863161"

------=_Part_20965_23108216.1190194863161
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi list,

I am running postfix-2.2.10 with 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 :

P.S. - I have tried this on two different instances of RHEL4U4 for S390X
running on IBM Z series (Z9) but I observed the same errors are coming on
both of them immediately after installing cyrus-imapd.

---------------------------------------------------------------------------------------------------------------
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 known issue in RHEL4U4 for S390X ?

Thanks in advance,
Somnath

------=_Part_20965_23108216.1190194863161
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi list,<br><br>I am running postfix-2.2.10 with cyrus-imap-2.2.12 on Redhat Enterprise Linux 4<br>update 4 on s390x (IBM Z series). After installing cyrus-imap &amp; I am receving<br>the following error in /var/log/maillog :
<br><br>P.S. - I have tried this on two different instances of RHEL4U4 for
S390X running on IBM Z series (Z9) but I observed the same errors are
coming on both of them immediately after installing cyrus-imapd.<br><br>---------------------------------------------------------------------------------------------------------------<br>Sep 12 13:09:50 linux08 imaps[16727]: DBERROR: critical database situation
<br>Sep 12 13:09:50 linux08 master[16728]: about to exec<br>/usr/lib64/cyrus-imapd/pop3d<br>Sep 12 13:09:50 linux08 pop3[16728]: DBERROR: invalid berkeley_cachesize value,<br>using internal default<br>Sep 12 13:09:50 linux08 pop3[16728]: DBERROR db4: PANIC: fatal region error
<br>detected; run recovery<br>Sep 12 13:09:50 linux08 pop3[16728]: DBERROR: critical database situation<br>Sep 12 13:09:50 linux08 master[16729]: about to exec<br>/usr/lib64/cyrus-imapd/pop3d<br>Sep 12 13:09:50 linux08 pop3s[16729]: DBERROR: invalid berkeley_cachesize
<br>value, using internal default<br>Sep 12 13:09:50 linux08 pop3s[16729]: DBERROR db4: PANIC: fatal region error<br>detected; run recovery<br>Sep 12 13:09:50 linux08 pop3s[16729]: DBERROR: critical database situation<br>
----------------------------------------------------------------------------------------------------------------<br><br>I tried with &quot;ctl_cyrusdb -r&quot; but it did not work.<br><br>------------------------------------------------------------------------------
<br>My /etc/cyrus.conf -<br><br><br># standard standalone server implementation<br><br>START {<br>&nbsp; # do not delete this entry!<br>&nbsp; recover&nbsp;&nbsp;&nbsp; cmd=&quot;ctl_cyrusdb -r&quot;<br><br>&nbsp; # this is only necessary if using idled for IMAP IDLE
<br>#&nbsp; idled&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;idled&quot;<br>}<br><br># UNIX sockets start with a slash and are put into /var/lib/imap/sockets<br>SERVICES {<br>&nbsp; # add or remove based on preferences<br>&nbsp; imap&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;imapd&quot; listen=&quot;imap&quot; prefork=5
<br>&nbsp; imaps&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;imapd -s&quot; listen=&quot;imaps&quot; prefork=1<br>&nbsp; pop3&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;pop3d&quot; listen=&quot;pop3&quot; prefork=3<br>&nbsp; pop3s&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;pop3d -s&quot; listen=&quot;pop3s&quot; prefork=1
<br>&nbsp; sieve&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;timsieved&quot; listen=&quot;sieve&quot; prefork=0<br><br>&nbsp; # these are only necessary if receiving/exporting usenet via NNTP<br>#&nbsp; nntp&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;nntpd&quot; listen=&quot;nntp&quot; prefork=3
<br>#&nbsp; nntps&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;nntpd -s&quot; listen=&quot;nntps&quot; prefork=1<br><br>&nbsp; # at least one LMTP is required for delivery<br>#&nbsp; lmtp&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cmd=&quot;lmtpd&quot; listen=&quot;lmtp&quot; prefork=0<br>&nbsp; lmtpunix&nbsp;&nbsp;&nbsp; cmd=&quot;lmtpd&quot; listen=&quot;/var/lib/imap/socket/lmtp&quot; prefork=1
<br><br>&nbsp; # this is only necessary if using notifications<br>#&nbsp; notify&nbsp;&nbsp;&nbsp; cmd=&quot;notifyd&quot; listen=&quot;/var/lib/imap/socket/notify&quot; proto=&quot;udp&quot; prefork=1<br>}<br><br>EVENTS {<br>&nbsp; # this is required
<br>#&nbsp; checkpoint&nbsp;&nbsp;&nbsp; cmd=&quot;ctl_cyrusdb -c&quot; period=30<br>&nbsp; checkpoint&nbsp;&nbsp;&nbsp; cmd=&quot;ctl_cyrusdb -c&quot; period=5<br><br>&nbsp; # this is only necessary if using duplicate delivery suppression,<br>&nbsp; # Sieve or NNTP<br>&nbsp; delprune&nbsp;&nbsp;&nbsp; cmd=&quot;cyr_expire -E 3&quot; at=0400
<br><br>&nbsp; # this is only necessary if caching TLS sessions<br>&nbsp; tlsprune&nbsp;&nbsp;&nbsp; cmd=&quot;tls_prune&quot; at=0400<br>}<br><br>-----------------------------------------------------------------------------------<br>My /etc/imapd.conf -
<br><br>configdirectory: /var/lib/imap<br>partition-default: /var/spool/imap<br>admins: cyrus<br>sievedir: /var/lib/imap/sieve<br>sendmail: /usr/sbin/sendmail<br>hashimapspool: true<br>sasl_pwcheck_method: saslauthd<br>sasl_mech_list: PLAIN
<br>tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem<br>tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem<br>tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt<br><br>----------------------------------------------------------------------------------
<br><br>Pls suggest how to fix this problem. My cyrus imap server is not coming up at<br>all.<br><br><br>Let me know if this is a known issue in RHEL4U4 for S390X ?<br><br>Thanks in advance,<br>Somnath<br><br>

------=_Part_20965_23108216.1190194863161--

------=_Part_20964_30753284.1190194863161
Content-Type: application/octet-stream; name="imapd.conf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="imapd.conf"
X-Attachment-Id: f_f6rn5juz

Y29uZmlnZGlyZWN0b3J5OiAvdmFyL2xpYi9pbWFwCnBhcnRpdGlvbi1kZWZhdWx0OiAvdmFyL3Nw
b29sL2ltYXAKYWRtaW5zOiBjeXJ1cwpzaWV2ZWRpcjogL3Zhci9saWIvaW1hcC9zaWV2ZQpzZW5k
bWFpbDogL3Vzci9zYmluL3NlbmRtYWlsCmhhc2hpbWFwc3Bvb2w6IHRydWUKc2FzbF9wd2NoZWNr
X21ldGhvZDogc2FzbGF1dGhkCnNhc2xfbWVjaF9saXN0OiBQTEFJTgp0bHNfY2VydF9maWxlOiAv
dXNyL3NoYXJlL3NzbC9jZXJ0cy9jeXJ1cy1pbWFwZC5wZW0KdGxzX2tleV9maWxlOiAvdXNyL3No
YXJlL3NzbC9jZXJ0cy9jeXJ1cy1pbWFwZC5wZW0KdGxzX2NhX2ZpbGU6IC91c3Ivc2hhcmUvc3Ns
L2NlcnRzL2NhLWJ1bmRsZS5jcnQK
------=_Part_20964_30753284.1190194863161
Content-Type: application/octet-stream; name="cyrus.conf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="cyrus.conf"
X-Attachment-Id: f_f6rn62se

IyBzdGFuZGFyZCBzdGFuZGFsb25lIHNlcnZlciBpbXBsZW1lbnRhdGlvbgoKU1RBUlQgewogICMg
ZG8gbm90IGRlbGV0ZSB0aGlzIGVudHJ5IQogIHJlY292ZXIJY21kPSJjdGxfY3lydXNkYiAtciIK
CiAgIyB0aGlzIGlzIG9ubHkgbmVjZXNzYXJ5IGlmIHVzaW5nIGlkbGVkIGZvciBJTUFQIElETEUK
IyAgaWRsZWQJCWNtZD0iaWRsZWQiCn0KCiMgVU5JWCBzb2NrZXRzIHN0YXJ0IHdpdGggYSBzbGFz
aCBhbmQgYXJlIHB1dCBpbnRvIC92YXIvbGliL2ltYXAvc29ja2V0cwpTRVJWSUNFUyB7CiAgIyBh
ZGQgb3IgcmVtb3ZlIGJhc2VkIG9uIHByZWZlcmVuY2VzCiAgaW1hcAkJY21kPSJpbWFwZCIgbGlz
dGVuPSJpbWFwIiBwcmVmb3JrPTUKICBpbWFwcwkJY21kPSJpbWFwZCAtcyIgbGlzdGVuPSJpbWFw
cyIgcHJlZm9yaz0xCiAgcG9wMwkJY21kPSJwb3AzZCIgbGlzdGVuPSJwb3AzIiBwcmVmb3JrPTMK
ICBwb3AzcwkJY21kPSJwb3AzZCAtcyIgbGlzdGVuPSJwb3AzcyIgcHJlZm9yaz0xCiAgc2lldmUJ
CWNtZD0idGltc2lldmVkIiBsaXN0ZW49InNpZXZlIiBwcmVmb3JrPTAKCiAgIyB0aGVzZSBhcmUg
b25seSBuZWNlc3NhcnkgaWYgcmV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type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Redhat-s390-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-s390-list
------=_Part_20964_30753284.1190194863161--