cyrus-imapd-2.2.3 startup problems

Simon Matter simon.matter at ch.sauter-bc.com
Wed Apr 7 00:28:56 EDT 2004


> Ok, I have my previous problem solved. But things still don't want to
> cooperate. I run:

Hi,

maybe you should tell us a bit more about what you did. Looks like you are
using my rpms or derivative work of it. Then the question is what has
changed because usually the rpms 'work out of the box (tm)'.
A usual cause of problems is if people first try to install from source
and later, after it didn't work, install the rpms without cleaning up the
system before. Maybe they have an unusable cyrus user setup before or the
wrong libs are still in the wrong place.

Simon

>
>     /usr/lib/cyrus-imapd/mkimap
>
> followed by:
>
>     [root at mailstore rpms]# /usr/lib/cyrus-imapd/cyrus-master -D
>     fatal error: can't read mailboxes file
>     ctl_cyrusdb: unable to archive environment
>
> and my log keeps spewing:
>
>     Apr  6 16:26:56 mailstore pop3s[7908]: IOERROR: lock_shared
> /var/lib/imap/mailboxes.db: No locks available
>     Apr  6 16:26:56 mailstore pop3s[7908]: DBERROR: opening
> /var/lib/imap/mailboxes.db: cyrusdb error
>
> This is what I have in /var/lib/imap:
>
>     [root at mailstore root]# ls -al /var/lib/imap
>     total 52
>     drwxr-x---   10 cyrus    mail         4096 Apr  6 16:21 .
>     drwxr-xr-x   12 root     root         4096 Apr  2 14:57 ..
>     -rw-------    1 cyrus    mail         1105 Apr  6 16:20 .bash_history
>     drwxr-xr-x    2 cyrus    mail         4096 Apr  6 16:21 db
>     drwx------    2 cyrus    mail         4096 Apr  6 16:21 db.backup1
>     drwx------    2 cyrus    mail         4096 Apr  6 16:21 db.backup2
>     -rw-------    1 cyrus    mail         8192 Apr  6 16:21 deliver.db
>     drwxr-xr-x    2 cyrus    mail         4096 Apr  6 16:19 log
>     -rw-------    1 cyrus    mail            0 Apr  6 16:21 mailboxes.db
>     drwxr-xr-x    2 cyrus    mail         4096 Apr  6 16:19 msg
>     drwxr-xr-x    2 cyrus    mail         4096 Apr  6 16:19 proc
>     drwxr-xr-x    2 cyrus    mail         4096 Apr  6 16:19 ptclient
>     drwxr-xr-x    2 cyrus    mail         4096 Apr  6 16:21 socket
>
> I have no users configured. But I cannot configure users until imapd is
> actually running, correct? Any suggestions?
>
> Thanks,
> Adi
>
> ---
> Home Page: http://asg.web.cmu.edu/cyrus
> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>


---
Home Page: http://asg.web.cmu.edu/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