cyrus-imapd-2.2.3 startup problems
Simon Matter
simon.matter at ch.sauter-bc.com
Fri Apr 16 17:56:59 EDT 2004
>> Ah, now I see.
>>
>> RedHat has taken my cyrus-imapd src rpms and included it in Fedora Core
>> 2
>> beta. Unfortunately they 'optimized' it in a way that breaks it on other
>> older RedHat distributions. My originial package builds fine on every
>> RedHat distribution from 6.2 to current. You can find it here:
>>
>> http://www.invoca.ch/pub/packages/cyrus-imapd/
>
> I retrieved cyrus-imapd-2.2.3-8.src.rpm, built and installed it. I made
> sure the proper directory structure was ceated in /var/lib/imap/. Once I
> start cyrus-imapd the imap and pop3 processed don't hang around for long.
> I am still getting error messages in the log.
>
> Before I installed the new rpm the old was removed (rpm -e) and the
> /var/lib/imap/ and /var/spool/imap/ directories were cleaned out. One more
What do you mean by cleared out? Is this an empty spool? Since cyrus-imapd
2.2 creates directories in /var/spool/imap on the fly as needed, this
structure is no longer part of the rpm package.
> comments, both /var/lib/imap/ and /var/spool/imap/ are mounted via NFS.
IIRC the docs clearly say that you shouldn't do that. Your mailboxes.db
file exists but is empty, which is not okay even if the database is empty.
Simon
>
> Apr 16 14:31:12 mailstore master[32632]: about to exec
> /usr/lib/cyrus-imapd/imapd
> Apr 16 14:31:12 mailstore master[32633]: about to exec
> /usr/lib/cyrus-imapd/imapd
> Apr 16 14:31:12 mailstore master[32634]: about to exec
> /usr/lib/cyrus-imapd/pop3d
> Apr 16 14:31:12 mailstore master[32635]: about to exec
> /usr/lib/cyrus-imapd/pop3d
> Apr 16 14:31:12 mailstore master[32636]: about to exec
> /usr/lib/cyrus-imapd/lmtpd
> Apr 16 14:31:12 mailstore imap[32632]: executed
> Apr 16 14:31:12 mailstore imaps[32633]: executed
> Apr 16 14:31:12 mailstore pop3[32634]: executed
> Apr 16 14:31:12 mailstore pop3s[32635]: executed
> Apr 16 14:31:12 mailstore lmtpunix[32636]: executed
> Apr 16 14:31:12 mailstore imap[32632]: IOERROR: lock_shared
> /var/lib/imap/mailboxes.db: No locks available
> Apr 16 14:31:12 mailstore imaps[32633]: IOERROR: lock_shared
> /var/lib/imap/mailboxes.db: No locks available
> Apr 16 14:31:12 mailstore pop3[32634]: IOERROR: lock_shared
> /var/lib/imap/mailboxes.db: No locks available
> Apr 16 14:31:12 mailstore pop3s[32635]: IOERROR: lock_shared
> /var/lib/imap/mailboxes.db: No locks available
> Apr 16 14:31:12 mailstore lmtpunix[32636]: IOERROR: lock_shared
> /var/lib/imap/mailboxes.db: No locks available
> Apr 16 14:31:12 mailstore imap[32632]: DBERROR: opening
> /var/lib/imap/mailboxes.db: cyrusdb error
> Apr 16 14:31:12 mailstore imaps[32633]: DBERROR: opening
> /var/lib/imap/mailboxes.db: cyrusdb error
> Apr 16 14:31:12 mailstore pop3[32634]: DBERROR: opening
> /var/lib/imap/mailboxes.db: cyrusdb error
> Apr 16 14:31:12 mailstore pop3s[32635]: DBERROR: opening
> /var/lib/imap/mailboxes.db: cyrusdb error
> Apr 16 14:31:12 mailstore lmtpunix[32636]: DBERROR: opening
> /var/lib/imap/mailboxes.db: cyrusdb error
> Apr 16 14:31:12 mailstore imap[32632]: Fatal error: can't read mailboxes
> file
> Apr 16 14:31:12 mailstore imaps[32633]: Fatal error: can't read mailboxes
> file
> Apr 16 14:31:12 mailstore pop3[32634]: Fatal error: can't read mailboxes
> file
>
> But the mailboxes file does exist:
>
> [root at mailstore rpms]# ls -l /var/lib/imap
> total 60
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 backup
> drwx------ 2 cyrus mail 4096 Apr 16 14:26 db
> drwx------ 2 cyrus mail 4096 Apr 16 14:26 db.backup1
> drwx------ 2 cyrus mail 4096 Apr 6 16:21 db.backup2
> -rw------- 1 cyrus mail 8192 Apr 16 14:26 deliver.db
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 log
> -rw------- 1 cyrus mail 0 Apr 6 16:21 mailboxes.db
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 msg
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 proc
> drwxr-xr-x 2 cyrus mail 4096 Apr 6 16:19 ptclient
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 quota
> drwx------ 2 cyrus mail 4096 Apr 16 14:26 rpm
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 sieve
> drwxr-x--- 2 cyrus mail 4096 Apr 16 14:26 socket
> drwx------ 2 cyrus mail 4096 Apr 16 14:23 user
>
>
>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list