mhonarc-users

Re: Error...still a problem

1998-10-21 01:43:33
I'm still getting an error in my procmail.log:

ERROR: Unable to create =
/home/www/rcairplanes/archives/nsrca//.mhonarc.lck after 10 tries
procmail: Error while writing to "mhonarc"
procmail: Program failure (75) of "mhonarc"

There isn't a retained .lck file in that directory.  

The lockfile actually *is* the directory.  If you rmdir 

   /home/www/rcairplanes/archives/nsrca/.mhonarc.lck

then the problem should go away (for now).  Since you're using
procmail to invoke MHonArc, I suggest using procmail's locking
mechanism instead (a trailing ':' at the start of your recipe):
   
   FLAGS = "$FLAGS -nolock"

   :0: 
   | mhonarc $FLAGS 

(or something like that). 

Otherwise you can edit the definition for LOCKTRIES in mhinit.pl;
I have mine set to 100 (-nolock is a 2.3.0 thing, but I still run
2.1.0).

Chris

<Prev in Thread] Current Thread [Next in Thread>