- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cyrus IMAP DBERROR
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:34 AM
тАО06-06-2006 12:34 AM
Cyrus IMAP DBERROR
I have the follow problem:
HPUX 11.i v2 on RX2620 and ServiceGuard
Sendmail 8.11.1
Cyrus IMAP V2.2 (bundle in the CD HP-UX Internet Express )
Il cyrus-imap each 30min run a checkpoint of DB (ctl_cyrusdb). Each 1-3 days the checkpoint or something with this action, broke the DB with follow errors:
about to exec /opt/iexpress/cyrusimap/bin/ctl_cyrusdb
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: checkpointing cyrus databases
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: archiving database file: /var/mail/imap_config/annotations.db
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: DBERROR db4: DB_LOGC->get: LSN 1/1083033: invalid log record header
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: DBERROR: archive /var/mail/imap_config/db: cyrusdb error
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: archiving database file: /var/mail/imap_config/mailboxes.db
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: DBERROR db4: DB_LOGC->get: LSN 1/1083033: invalid log record header
May 30 12:38:12 srvhpuxb above message repeats 2 times
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: DBERROR db4: DB_LOGC->get: LSN 1/1083303: invalid log record header
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: done checkpointing cyrus databases
May 30 12:38:12 srvhpuxb ctl_cyrusdb[19815]: DBERROR db4: DB_LOGC->get: LSN 1/1083303: invalid log record header
May 30 12:38:12 srvhpuxb above message repeats 2 times
I have open a support request to HP CALL CENTER ITALY but the answer is:
The Cyrus IMAP is not supported on HPUX.
First question:
Why HP doesn't support the bundle HP CD software?
Second question:
Is it available an IMAP software product supported from HP?
Third question:
How can help me?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 12:55 AM
тАО06-06-2006 12:55 AM
Re: Cyrus IMAP DBERROR
We are dealing with a problem regarding db corruption that happens randomly in correspondence to ctl_cyrusdb launch.
Here is an extract of the log file:
----error start
checkpointing cyrus databases
archiving database file: /var/mail/imap_config/annotations.db
DBERROR db4: DB_LOGC->get: LSN 1/1083033: invalid log record header
DBERROR: error listing log files: DB_NOTFOUND: No matching key/data
DBERROR: archive /var/mail/imap_config/db: cyrusdb error
archiving database file: /var/mail/imap_config/mailboxes.db
DBERROR db4: DB_LOGC->get: LSN 1/1083033: invalid log record header
ts 2 times
DBERROR db4: DB_LOGC->get: LSN 1/1083303: invalid log record header
done checkpointing cyrus databases
DBERROR db4: DB_LOGC->get: LSN 1/1083303: invalid log record header
--- error end
Here is reassumed our setup:
Sendmail/Cyrus Imap server are installed on an HP-UX V. B.11.23 IA64 Itanium server
Package versions are Sendmail 8.11.1, Cyrus-imap 2.2.12, Cyrus-sasl 2.1.21. Cyrus imap/sasl are a packaged version provided by Iexpress depot B.11.23 release.
We use saslauthd launched with -a pam flag to autenticate imap/pop3 users over a distributed directory service based on a Linux Openldap Server.
Pam_ldap and hpldapux client are used with no problem also to authenticate samba-cifs users.
I attach imapd.conf and cyrus.conf :
---start imapd.conf
configdirectory: /var/mail/imap_config
partition-default: /var/mail/imap_partition
admins: cyrus
sievedir: /var/mail/imap_config/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
allowanonymouslogin: no
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
--- end imapd.conf
--- start cyrus.conf
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
pop3 cmd="pop3d" listen="pop3" prefork=3
sieve cmd="timsieved" listen="sieve" prefork=0
lmtpunix cmd="lmtpd" listen="/dc/mail/imap_config/socket/lmtp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
delprune cmd="cyr_expire -E 3" at=0400
squatter cmd="squatter -rs user" at=0100
}
--- end cyrus.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 01:00 AM
тАО06-06-2006 01:00 AM
Re: Cyrus IMAP DBERROR
One thing i can say is, Check permission on /var/mail/imap. This holds the key.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 01:13 AM
тАО06-06-2006 01:13 AM
Re: Cyrus IMAP DBERROR
the propriety are:
cyrus mail rwxr-x---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 01:17 AM
тАО06-06-2006 01:17 AM
Re: Cyrus IMAP DBERROR
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
HP should be able to support this question.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2006 02:59 AM
тАО06-06-2006 02:59 AM
Re: Cyrus IMAP DBERROR
HP doesn't support Internet Express products, but they may answer your queries by email. I suspect, you have to thoroughly check all permissions of DB and other stuffs for user "cyrus". Google search for DB_NOTFOUND: No matching key/data pair found reveals the same.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 12:00 AM
тАО09-20-2006 12:00 AM
Re: Cyrus IMAP DBERROR
Running the same configuration (HPUX 11.23 on itanium and Cyrus) we are having exactly the same problem. Did you get to solve it?
Thanks!!
Antonio