I think it is because of the read permission of the sasldb file.
My cyrus user is cyrus:mail, so

chgrp mail /etc/sasldb
and
chmod g+r /etc/sasldb

It's OK.

BTW: One can find the answer of his question from the archive.
      I did so.

----- Original Message ----- 
From: "Christoph Krempe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 11:25 PM
Subject: sasldb-error


> Hi,
> 
> I'm trying to run cyrus 2.0.14 together with BerkeleyDB 3.2.9 and 
> cyrus-sasl 1.5. 
> 
> I compiled:
> 
> BerkeleyDB3.2.9:
> ./configure
> 
> cyrus-imap: 
> ./configure  --disable-sieve --with-auth=unix 
>   --with-sasl=/usr/local/lib --with-dbdir=/usr/local/BerkeleyDB.3.2
> 
> cyrus-sasl:
> ./configure --with-pwcheck=/var/pwcheck --with-pwcheck_method=shadow
> 
> Compiling + installing seemed to be ok.
> 
> /etc/imapd.conf look like
> 
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> umask: 077
> admins: cyrus root
> srvtab: /var/imap/srvtab
> allowanonymouslogin: no
> postmaster: [EMAIL PROTECTED]
> sasl_passwd_check: shadow 
> 
> /usr/local/sbin/pwcheck is running, socket is /var/pwcheck/pwcheck
> 
> After I start "master", I get an error message in 
> /var/log/messages:
> 
> Jun 28 17:14:13 hal master[30997]: about to exec /usr/cyrus/bin/imapd
> Jun 28 17:14:13 hal service-imap[30997]: executed
> Jun 28 17:14:13 hal imapd[30997]: unable to open Berkeley db /etc/sasldb: Invalid 
>argument
> 
> Any idea what's wrong here? 
> 
> Gru?Ch. Krempe
> 
> -----------------------------------------------------------
> Freie Universitaet Berlin   Christoph Krempe
> Universitaetsbibliothek     Systemverwaltung
> - Rechenzentrum -           Tel: 030/838 54583
> Garystrasse 39              Fax: 030/838 54582
> 14195 Berlin                http://www.ub.fu-berlin.de/~ck

Reply via email to