ctl_cyrusdb gives DBERROR when executed by master

Piet Ruyssinck Piet.Ruyssinck at rug.ac.be
Mon Dec 16 08:53:25 EST 2002



When I execute
$ /usr/cyrus/bin/ctl_cyrusdb -c
from the command line, as the user cyrus, everything works as expected :

Dec 16 14:49:55 vorota ctl_cyrusdb[25014]: [ID 702911 local6.notice] checkpointing cyrus databases
Dec 16 14:49:55 vorota ctl_cyrusdb[25014]: [ID 578205 local6.debug] archiving database file: /var/imap/mailboxes.db
Dec 16 14:49:55 vorota ctl_cyrusdb[25014]: [ID 448116 local6.debug] archiving log file: /var/imap/db/log.0000000001
Dec 16 14:49:56 vorota last message repeated 1 time
Dec 16 14:49:56 vorota ctl_cyrusdb[25014]: [ID 127214 local6.notice] done checkpointing cyrus databases


whereas, when the same command is being executed from master, I get this :

Dec 16 14:43:34 vorota ctl_cyrusdb[24994]: [ID 702911 local6.notice] checkpointing cyrus databases
Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 854764 local6.error] DBERROR: error listing log files: No such file or directory
Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 686478 local6.error] DBERROR: archive /var/imap/db: cyrusdb error
Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 854764 local6.error] DBERROR: error listing log files: No such file or directory
Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 686478 local6.error] DBERROR: archive /var/imap/db: cyrusdb error
Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 127214 local6.notice] done checkpointing cyrus databases


The relevant lines of /etc/cyrus.conf look like this :

EVENTS {
  checkpoint    cmd="ctl_cyrusdb -c" period=30
  delprune      cmd="ctl_deliver -E 3" at=0400
  tlsprune      cmd="tls_prune" at=0400
}


Any ideas ?

___________________________________________________________________________
Piet RUYSSINCK                             e-mail: Piet.Ruyssinck at rug.ac.be
Unix Systeem Administratie                              tel: +32 9 264 4733 
Directie Informatie- en Communicatietechnologie (ICT)   fax: +32 9 264 4994
Universiteit Gent (RUG)       Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie





More information about the Info-cyrus mailing list