database problems

Andy Litzinger alitzinger at mfn.com
Wed May 21 13:46:00 EDT 2003


Hi John,
  I had a similar problem earlier, but it may not be the same issue.  When I got the 
permission denied errors for the cyrus db4 dbs it was because my permissions were 
screwed up for the directories that are used for the db.  In my case it was /var/imap.  
This directory (and subdirs created by the cyrus-imap/tools/mkimap script if you 
installed from source) should be owned by cyrus and the group cyrus belongs to 
(most likely mail).
  BTW, I believe the dbs are created automatically when you first start run cyrus.
HTH,
  Andy

On 21 May 2003 at 17:57, john andrews wrote:

> I am trying to get cyrus running but am problems with with the database.
> 
> I have installed cyrus on Mandrake 9.1 using the Mandrake install package.
> However when it start I get the following messages in the logs:
> 
> May 21 17:28:20 XX cyrus-master[2730]: process started
> May 21 17:28:20 XX cyrus-master[2733]: about to exec
> /usr/lib/cyrus/ctl_cyrusdb
> May 21 17:28:20 XX ctl_cyrusdb[2733]: recovering cyrus databases
> May 21 17:28:20 XX ctl_cyrusdb[2733]: DBERROR db4:
> /var/lib/imap/db/__db.001: Pe
> rmission denied
> May 21 17:28:20 XX ctl_cyrusdb[2733]: DBERROR: dbenv->open
> '/var/lib/imap/db' fa
> iled: Permission denied
> May 21 17:28:20 XX ctl_cyrusdb[2733]: DBERROR: init /var/lib/imap/db:
> cyrusdb er
> ror
> May 21 17:28:20 XX ctl_cyrusdb[2733]: DBERROR: reading
> /var/lib/imap/db/skipstam
> p, assuming the worst: No such file or directory
> 
> 
> The database files don't exist (I have set up all the relevant directories)
> and I am not sure how to create them. Can anyone advise me on how to solve
> this problem?
> 
> Thanks John
> 






More information about the Info-cyrus mailing list