unable to open Berkeley db /etc/sasldb2: Permission denied

Leon Kolchinsky leonk at construct.haifa.ac.il
Tue Jan 9 03:47:48 EST 2007


Hello All,


I have a working mail system Cyrus+Postfix+Web-cyradm+Amavisd-new(SA+ClamAV)
with 2 virtual domains.

All is working, but I've noticed that I keep getting:
--------------------------------------------------
Jan  9 10:28:20 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
Permission denied
Jan  9 10:28:23 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
Permission denied
Jan  9 10:29:55 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
Permission denied
Jan  9 10:29:58 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2:
Permission denied

in my /var/log/warn file.


I did a little googling and thought that this procedure would help (adding
mail and postfix to the same group):
# ls -l /etc/sasldb2
-rw-r-----  1 root root 12288 Sep 15  2005 /etc/sasldb2

Now check the group of cyrus user:
# cat /etc/passwd| grep cyrus
cyrus:x:96:12:User for cyrus-imapd:/usr/lib/cyrus:/bin/bash

Now make sure that cyrus and postfix in the same group and restart cyrus and
postfix:
# cat /etc/group| grep 12
mail:x:12:mail,postfix


But it didn't help and I'm still getting these "Permission denied" messages.

Where are they coming from and how to get rid of them?


Best Regards,
Leon





More information about the Info-cyrus mailing list