Re: skipstamp db missing errors

Phil Dibowitz <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On 8/8/23 21:53, ellie timoney wrote:
> Have you seen "DBERROR: write failed: filename=</path/to/db/skipstamp> ..."?  If this error is happening, it'll be very soon after "updating recovery stamp", just once per restart.  It means it's failing while trying to write the skipstamp file, which would explain why it doesn't exist, and the other details in the log line will tell us why.  You haven't mentioned seeing this error, so I'm assuming this is not what's happening.


Yes, I have those too. Didn't notice until I looked for them as they're 
buried in lots of other logs:

# zgrep 'write failed' mail*
mail.log:2023-08-08T22:59:57.637094+00:00 virt 
cyrus/ctl_cyrusdb[3379907]: DBERROR: write failed: 
filename=</var/lib/cyrus/db/skipstamp> syserror=<No such file or 
directory> func=<myinit>
mail.log:2023-08-08T23:04:48.820221+00:00 virt 
cyrus/ctl_cyrusdb[3380363]: DBERROR: write failed: 
filename=</var/lib/cyrus/db/skipstamp> syserror=<No such file or 
directory> func=<myinit>
mail.log.1:2023-08-02T22:36:15.735925+00:00 virt 
cyrus/ctl_cyrusdb[3012332]: DBERROR: write failed: 
filename=</var/lib/cyrus/db/skipstamp> syserror=<No such file or 
directory> func=<myinit>

And indeed /var/lib/cyrus/db doesn't exist. Though the DBs that were in 
there from previous backups (mailboxes.db and annotations.db) are now 
just in /var/lib/cyrus.

I made that directory and restarted and now skipstamp is there, and the 
errors in the logs have disappeared! Thanks!

Though just out of my own curiosity, how come the other DB files aren't 
in the 'db' directory but that one is? The only relevant config I can 
find is:

```
configdirectory: /var/lib/cyrus
```

And I'd assume everything would be relevant to that, either in that dir 
or in $configdir/db/ ?

Thanks again for all your help, and sorry it was such a dumb issue.

-- 
Phil Dibowitz                             [email protected]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't
  matter and those who matter don't mind."
  - Dr. Seuss



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tf92f39d4795cc515-Macfb0470d1bfc4c4d976e143
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.