Database Lock

Randal, Phil prandal at herefordshire.gov.uk
Mon Jan 22 14:48:08 CET 2007


Stop MailScanner, delete
/var/spool/MailScanner/Incoming/SpamAssassin.cache.db and restart
MailScanner.

If it is a database corruption issue that should fix it.

Cheers,

Phil

--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Niall Donegan
> Sent: 22 January 2007 12:50
> To: mailscanner at lists.mailscanner.info
> Subject: Database Lock
> 
> Hi all,
> 
> One of our servers is currently backing up with email in the 
> queue, and 
> the only thing unusual I can spot in the logs is:
> 
> Jan 22 12:37:51 server MailScanner[12737]: database is locked(5) at 
> dbdimp.c line 398
> Jan 22 12:38:17 server MailScanner[12868]: database is locked(5) at 
> dbdimp.c line 398
> Jan 22 12:38:21 server MailScanner[12737]: database is locked(5) at 
> dbdimp.c line 398
> Jan 22 12:38:51 server MailScanner[12868]: database is locked(5) at 
> dbdimp.c line 398
> 
> This is printed out once for each child process.
> 
> As far as I know, the database in question is probably 
> /var/spool/MailScanner/Incoming/SpamAssassin.cache.db but I 
> can't figure 
> out why MailScanner is having such problems with it on this 
> one server.
> 
> Has anyone any suggestions as to what could be causing the problem?
> 
> Thanks,
> Niall.
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 


More information about the MailScanner mailing list