Starting imapd 2.3.8 with db 4.5 (patched)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I am building a new server. Nothing big, just for my self and
some family members. I have used Cyrus for the last four years now I am
installing 2.3.8 on an LFS version dated 2007-05-05.

LFS comes with DB 4.5.20. However IMAPd uses old calls to DB which are
fixed by a patch posted in the thread "Cyrus-IMAPD 2.3.8 an BerekelyDB
4.5.20" starting March 22, 2007. I used this patch which solve the
compile problem. But...

The first boot of IMAPd gives a lot of DBERROR messages in the log file.
I have create the folders imap, mail, sieve, spool and srvtab in the
folder /srv/cyrus all owned by cyrus and the group mail. The imapd.conf
points to the right folders, I used to change the folders on other
configurations as well so I know this should work.

This is an ls -l of the folder:
root@jcw-dualserv-dev:/srv/cyrus$ ls -l
totaal 20
drwxr-x--- 6 cyrus mail 4096 jun 10 13:42 imap
drwxr-x--- 2 cyrus mail 4096 jun 10 12:33 mail
drwxr-x--- 2 cyrus mail 4096 jun 10 12:33 sieve
drwxr-x--- 2 cyrus mail 4096 jun 10 12:33 spool
drwxr-x--- 2 cyrus mail 4096 jun 10 12:33 srvtab


On starting the following messages where written to the log:
Jun 10 11:26:30 jcw-dualserv-dev master[4347]: about to exec /usr/bin/imapd
Jun 10 11:26:30 jcw-dualserv-dev imaps[4347]: DBERROR db4:
/srv/cyrus/imap/db/__db.001: No such file or directory
Jun 10 11:26:30 jcw-dualserv-dev imaps[4347]: DBERROR: dbenv->open
'/srv/cyrus/imap/db' failed: No such file or directory
Jun 10 11:26:30 jcw-dualserv-dev imaps[4347]: DBERROR: init() on berkeley
Jun 10 11:26:30 jcw-dualserv-dev imaps[4347]: DBERROR: reading
/srv/cyrus/imap/db/skipstamp, assuming the worst: No such file or directory
Jun 10 11:26:30 jcw-dualserv-dev imaps[4347]: executed
Jun 10 11:26:30 jcw-dualserv-dev pop3s[4348]: skiplist: recovered
/srv/cyrus/imap/mailboxes.db (0 records, 144 bytes) in 0 second

The folder /srv/cyrus/imap exists, but is seems imaps fails to create
the db folder for whatever reason. After creating it manually imaps
could start properly.

Is this a bug related to the use of DB 4.5?


Regards,

Chris

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux