problems with db directory ...
Christian Schulte
cs at schulte.it
Wed Dec 18 18:46:50 EST 2002
Malcolm Herbert schrieb:
>Does anyone have any ideas about this problem?
>
>On Fri, Dec 13, 2002 at 09:50:22AM +1100, Malcolm Herbert wrote:
>|I've installed cyrus-imapd-2.1.9nb1 (2.1.9 with NetBSD patch revision 1)
>|onto a NetBSD 1.6 machine, however I'm getting the following message
>|regularly (about every 20 minutes or so):
>|
>||Dec 9 21:57:16 aeolos ctl_cyrusdb[21042]: DBERROR: archive /mod/var/state/cyrus/db: cyrusdb error
>||Dec 9 21:57:16 aeolos ctl_cyrusdb[21042]: archiving log file: /mod/var/state/cyrus/db/log.0000000001
>||Dec 9 21:57:16 aeolos ctl_cyrusdb[21042]: error opening /mod/var/state/cyrus/db.backup1//log.0000000001 for writing (33152)
>||Dec 9 21:57:16 aeolos ctl_cyrusdb[21042]: DBERROR: error archiving log file: /mod/var/state/cyrus/db/log.0000000001
>||Dec 9 21:57:16 aeolos ctl_cyrusdb[21042]: DBERROR: archive /mod/var/state/cyrus/db: cyrusdb error
>|
>|I'm not sure what the problem is here as the cyrus user definately
>|has write access to this directory:
>|
>||aeolos[...host/aeolos/etc] 301v#: cd /mod/var/state/cyrus/
>||aeolos[...var/state/cyrus] 302v#: ls -al
>||total 217
>||drwxr-xr-x 9 cyrus wheel 512 Dec 11 09:57 .
>||drwxr-xr-x 4 root wheel 512 Dec 5 13:06 ..
>||drwxr-xr-x 2 cyrus wheel 512 Dec 9 14:57 db
>||-rw------- 1 cyrus wheel 172032 Dec 11 09:57 deliver.db
>||drwxr-xr-x 2 cyrus wheel 512 Dec 4 13:02 log
>||-rw------- 1 cyrus wheel 16384 Dec 11 09:57 mailboxes.db
>||drwxr-xr-x 2 cyrus wheel 512 Dec 4 13:02 msg
>||drwxr-xr-x 2 cyrus wheel 512 Dec 10 17:17 proc
>||drwxr-xr-x 28 cyrus wheel 512 Dec 4 13:03 quota
>||drwxr-xr-x 2 cyrus wheel 512 Dec 9 14:57 socket
>||-rw------- 1 cyrus wheel 16384 Dec 10 15:27 tls_sessions.db
>||drwxr-xr-x 28 cyrus wheel 512 Dec 4 13:03 user
>|
>|... what would be the problem here?
>
>
>
I have the same problems! Every time I do a make install or mkimap -d
domain I have to set some permissions by hand to get rid of these log
entries!
Make sure you chmod -R 0770 /mod/var/state/cyrus/db ! What makes me a
bit confused with your directory is that there are missing directories:
/mod/var/state/cyrus/db.backup1
/mod/var/state/cyrus/db.backup2
Here is my ls -la /var/imap output:
root-00:36:58:/ >ls -la /var/imap/
total 804
drwxr-x--- 13 cyrus smmsp 512 Dez 19 00:36 .
drwxr-xr-x 34 root sys 1024 Dez 16 17:06 ..
drwxrwx--- 2 cyrus smmsp 512 Nov 12 18:06 db
drwxrwx--- 2 cyrus smmsp 512 Dez 19 00:36 db.backup1
drwxrwx--- 2 cyrus smmsp 512 Dez 19 00:06 db.backup2
-rw-rw---- 1 cyrus smmsp 303104 Dez 19 00:36 deliver.db
drwxr-xr-x 14 cyrus smmsp 512 Dez 18 17:30 domain
drwxr-xr-x 2 cyrus smmsp 512 Okt 21 18:54 log
-rw------- 1 cyrus smmsp 42800 Dez 18 18:47 mailboxes.db
drwxr-xr-x 2 cyrus smmsp 512 Okt 21 18:54 msg
drwxr-xr-x 2 cyrus smmsp 12288 Dez 19 00:36 proc
drwxr-x--- 2 cyrus smmsp 512 Nov 20 01:11 ptclient
drwxr-xr-x 28 cyrus smmsp 512 Okt 21 18:54 quota
drwxr-xr-x 2 cyrus smmsp 512 Dez 16 17:06 socket
-rw-rw---- 1 cyrus smmsp 32768 Dez 19 00:36 tls_sessions.db
drwxr-xr-x 28 cyrus smmsp 512 Okt 21 18:54 user
More information about the Info-cyrus
mailing list