Could not open Bayes rebuild lock file /var/spool/MailScanner/incoming/Locks/MS.bayes.rebuild.lock, No such file or directory

Bjørn T Johansen btj at havleik.no
Wed Jan 7 12:53:02 GMT 2009


Yes, that seems to be working... Thx... :)

BTJ

On Wed, 07 Jan 2009 12:38:27 +0000
Julian Field <MailScanner at ecs.soton.ac.uk> wrote:

> Can you try the attached SA.pm and let me know if it's any better.
> Sorry, file locking problems (as usual!).
> 
> 
> On 7/1/09 11:46, Bjørn T Johansen wrote:
> > One problem... Mail is never delivered with the new lock files.... (never = waited 5 minutes but the queue only grew larger...)
> >
> > BTJ
> >
> > On Wed, 07 Jan 2009 11:06:02 +0000
> > Julian Field<MailScanner at ecs.soton.ac.uk>  wrote:
> >
> >    
> >> Attached are two scripts. Both are gzipped to save bandwidth.
> >> "mailscanner_create_locks" should be put in /opt/MailScanner/bin if you
> >> use the "Other Unix" distribution of MailScanner.
> >> "mailscanner_create_locks.redhat" should be put in /usr/sbin and renamed
> >> to "mailscanner_create_locks" if you use either of the RPM distributions
> >> of MailScanner.
> >>
> >> Don't forget to make it executable!
> >>       cd /usr/sbin
> >>       chmod a+rx mailscanner_create_locks
> >>
> >> Please let me know if this fixes the problem.
> >>
> >> On 6/1/09 15:38, Julian Field wrote:
> >>      
> >>> I'll try to remember to check on this one later and get back to you.
> >>>
> >>> On 6/1/09 12:16, Bjørn T Johansen wrote:
> >>>        
> >>>> I think MailScanner can run the script, at least I have the
> >>>> following...:
> >>>> (and running the script gives no error messages...)
> >>>>
> >>>> ls /var/spool/MailScanner/incoming/Locks/ -l
> >>>> total 1
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 antivirBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 avastBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 avgBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 bitdefenderBusy.lock
> >>>> -rw------- 1 root root 50 2009-01-06 13:04 clamavBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 cssBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 esetsBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 etrustBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 f-prot-6Busy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 f-protBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 f-secureBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 genericBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 inoculanBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 kasperskyBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 mcafeeBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 nod32Busy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 normanBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 pandaBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 ravBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 sophosBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 symscanengineBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 trendBusy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 vba32Busy.lock
> >>>> -rw------- 1 root root  0 2009-01-06 10:55 vexiraBusy.lock
> >>>>
> >>>>
> >>>> But MS.bayes.rebuild.lock is missing?
> >>>>
> >>>>
> >>>>
> >>>> BTJ
> >>>>
> >>>> On Tue, 06 Jan 2009 11:56:27 +0000
> >>>> Julian Field<MailScanner at ecs.soton.ac.uk>   wrote:
> >>>>
> >>>>          
> >>>>> On 6/1/09 11:44, Bjørn T Johansen wrote:
> >>>>>            
> >>>>>> I just ran the install.sh script like I always do...
> >>>>>> I am running on Linux, Ubuntu Server and use the tar.gz
> >>>>>> distribution of MailScanner.. (Version 4.74.13-2 for Solaris / BSD
> >>>>>> / Other Linux / Other
> >>>>>> Unix )
> >>>>>>
> >>>>>>
> >>>>>> Do I need to do more? I had version 4.70 before I upgraded....
> >>>>>>
> >>>>>>              
> >>>>> There's a new script in the bin directory called
> >>>>> mailscanner_create_locks, you need to make sure MailScanner can run
> >>>>> that
> >>>>> from /opt/MailScanner/bin.
> >>>>>            
> >>>>>> BTJ
> >>>>>>
> >>>>>> On Tue, 06 Jan 2009 11:22:04 +0000
> >>>>>> Julian Field<MailScanner at ecs.soton.ac.uk>    wrote:
> >>>>>>
> >>>>>>
> >>>>>>              
> >>>>>>> What OS? What distribution of MailScanner? Did you install all the
> >>>>>>> parts
> >>>>>>> of MailScanner, including any new scripts I might have added to the
> >>>>>>> "bin" directory?
> >>>>>>> If you only install half of it, funnily enough it won't work :-)
> >>>>>>>
> >>>>>>> Jules.
> >>>>>>>
> >>>>>>> On 6/1/09 10:35, Bjørn T Johansen wrote:
> >>>>>>>
> >>>>>>>                
> >>>>>>>> I upgraded to version 4.74 and I now get a lot of these in the
> >>>>>>>> log..:
> >>>>>>>>
> >>>>>>>> Jan  6 11:17:50 pat MailScanner[11207]: New Batch: Scanning 1
> >>>>>>>> messages, 7216 bytes
> >>>>>>>> Jan  6 11:17:51 pat MailScanner[11207]: Could not open Bayes
> >>>>>>>> rebuild lock file
> >>>>>>>> /var/spool/MailScanner/incoming/Locks/MS.bayes.rebuild.lock, No
> >>>>>>>> such file or directory
> >>>>>>>> Jan  6 11:17:51 pat MailScanner[11207]: At start of SA checks
> >>>>>>>> could not open
> >>>>>>>> /var/spool/MailScanner/incoming/Locks/MS.bayes.rebuild.lock,
> >>>>>>>> Jan  6 11:17:58 pat MailScanner[11207]: Virus and Content
> >>>>>>>> Scanning: Starting
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Why? And what can I do to fix this?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Regards,
> >>>>>>>>
> >>>>>>>> BTJ
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>                  
> >>>>>>> Jules
> >>>>>>>
> >>>>>>>
> >>>>>>>                
> >>>>> Jules
> >>>>>
> >>>>>            
> >>>> =
> >>>>          
> >>> Jules
> >>>
> >>>        
> >> Jules
> >>
> >>      
> >
> >    
> 
> Jules
> 


More information about the MailScanner mailing list