On Sonntag, 13. November 2005 03:57 Theo Van Dinter wrote: > It's hard to give any suggestions without knowing what command you > ran.
I do this (just part of the script):
if test "$TYPE" == "nightly" ; then
# after -6 months = 15552000 seconds
MASS_PARAM="--progress --after=-15552000"
elif test "$TYPE" == "weekly" ; then
MASS_PARAM="--progress --after=-15552000 --net -j=10"
else
echo "wrong parameter $1 for script $0. Abort"
exit
fi
cd $sa_checkout
rsync -qrz --delete
rsync://rsync.spamassassin.org/tagged_builds/$TYPE_mass_check .
cd ${TYPE}_mass_check
echo "Building rules (perl Makefile.PL)..."
perl Makefile.PL < /dev/null &>/dev/null
make &>/dev/null
cd masses
# activate bayes ?
mkdir spamassassin
rm -f spamassassin/bayes*
#echo "use_bayes 0" > spamassassin/user_prefs
echo "running mass-check - $(date)"
./mass-check $MASS_PARAM --progress ham:mbox:$hamfile spam:mbox:
$spamfile
> I'm not sure why you're doing Bayes at all though, that's not
> necessary for nightly/weekly runs.
As you can see, the bayes stuff is commented out. As I "rsync --delete",
there should be no options set here that are not set at the source. I
could enable the "use_bayes 0" line, but I thought I shouldn't change
it, and left the original settings.
>> bayes: cannot open bayes
>>databases
>>/disks/system/_rsync/spamassassin.apache.org-checks/weekly_mass_check/masses/spamassassin/bayes_*
>>R/W: lock failed: File exists
>Couldn't lock so it skipped the write.
Could that be because of "-j=10" in the weekly run? If yes, then it's I
bug I guess, as the -j option is not usable.
mfg zmi
--
// Michael Monnerie, Ing.BSc --- it-management Michael Monnerie
// http://zmi.at Tel: 0660/4156531 Linux 2.6.11
// PGP Key: "lynx -source http://zmi.at/zmi2.asc | gpg --import"
// Fingerprint: EB93 ED8A 1DCD BB6C F952 F7F4 3911 B933 7054 5879
// Keyserver: www.keyserver.net Key-ID: 0x70545879
pgpQC9LLUmyN8.pgp
Description: PGP signature
