Re: strange issue with cron.daily

2010-11-20 Thread John Hardin
On Tue, 16 Nov 2010, Francesco Acchiappati wrote: run-parts: /etc/cron.daily/spamassassin exited with return code 25 here it is The only things that appear to be exposed and able to return a nonzero return code (apart from the simple stuff like sleep and chmod) are: test -f

Re: strange issue with cron.daily

2010-11-19 Thread Benny Pedersen
On tir 16 nov 2010 14:08:21 CET, Francesco Acchiappati wrote /var/lib/spamassassin/compiled ]; then this dir does imho not exists, its /var/lib/spamassassin/version/compiled unless debian have fixed it -- xpoint http://www.unicom.com/pw/reply-to-harmful.html

Re: strange issue with cron.daily

2010-11-19 Thread Francesco Acchiappati
Il 16/11/2010 15:11, John Hardin ha scritto: On Tue, 16 Nov 2010, Francesco Acchiappati wrote: run-parts: /etc/cron.daily/spamassassin exited with return code 25 here it is The only things that appear to be exposed and able to return a nonzero return code (apart from the simple stuff

strange issue with cron.daily

2010-11-16 Thread Francesco Acchiappati
Hello everyone, i'm experiencing a strange issue everytime the crondaily runs the spamassassin script for updating. the error returned to me by cron daily is the following: run-parts: /etc/cron.daily/spamassassin exited with return code 25 I've tried to search on this list archive and also

Re: strange issue with cron.daily

2010-11-16 Thread RW
On Tue, 16 Nov 2010 09:08:20 +0100 Francesco Acchiappati francesco.acchiapp...@secoges.com wrote: Hello everyone, i'm experiencing a strange issue everytime the crondaily runs the spamassassin script for updating. the error returned to me by cron daily is the following: run-parts:

Re: strange issue with cron.daily

2010-11-16 Thread Benny Pedersen
On tir 16 nov 2010 09:08:20 CET, Francesco Acchiappati wrote the error returned to me by cron daily is the following: run-parts: /etc/cron.daily/spamassassin exited with return code 25 try doing what writed in that cron from shell and add -D to args sa-update -D what are being in shell here

Re: strange issue with cron.daily

2010-11-16 Thread Benny Pedersen
On tir 16 nov 2010 12:48:48 CET, RW wrote I don't think that cron.daily/spamassassin is part of SA - it's probably specific to your OS or distribution. Perhaps you could post it. or delete it to get rid of the problem :) -- xpoint http://www.unicom.com/pw/reply-to-harmful.html

Re: strange issue with cron.daily

2010-11-16 Thread Francesco Acchiappati
Il 16/11/2010 12:48, RW ha scritto: On Tue, 16 Nov 2010 09:08:20 +0100 Francesco Acchiappatifrancesco.acchiapp...@secoges.com wrote: Hello everyone, i'm experiencing a strange issue everytime the crondaily runs the spamassassin script for updating. the error returned to me by cron daily

Re: strange issue with cron.daily

2010-11-16 Thread Karsten Bräckelmann
On Tue, 2010-11-16 at 14:54 +0100, Benny Pedersen wrote: /var/lib/spamassassin/compiled ]; then this dir does imho not exists, its /var/lib/spamassassin/version/compiled Nope, the path is correct. See man sa-compile for yourself. --updatedir=path Directory to place updates (default:

Re: strange issue with cron.daily

2010-11-16 Thread John Hardin
On Tue, 16 Nov 2010, Francesco Acchiappati wrote: Il 16/11/2010 15:11, John Hardin ha scritto: I'd suggest the most likely problem is sa-compile is failing for some reason. Try running it interactively. You could run this: bash -x /etc/cron.daily/spamassassin 21 | tee /tmp/log.txt As

Re: strange issue with cron.daily

2010-11-16 Thread Francesco Acchiappati
Il 16/11/2010 17:27, John Hardin ha scritto: On Tue, 16 Nov 2010, Francesco Acchiappati wrote: Il 16/11/2010 15:11, John Hardin ha scritto: I'd suggest the most likely problem is sa-compile is failing for some reason. Try running it interactively. You could run this: bash -x

Re: strange issue with cron.daily

2010-11-16 Thread Bob Proulx
Francesco Acchiappati wrote: John Hardin ha scritto: You also might want to run sa-compile manually and see what happens. /bin/sh: cc: command not found make: *** [body_0.o] Error 127 command failed: exit 2 heh... i think this may be the reason.. sa-compile returns this error.. now i

Re: strange issue with cron.daily

2010-11-16 Thread Benny Pedersen
On tir 16 nov 2010 17:00:50 CET, Karsten Bräckelmann wrote Nope, the path is correct. See man sa-compile for yourself. --updatedir=path Directory to place updates (default: /var/lib/spamassassin/compiled/perlversion/version) yep i lost it here, compiled is in that dir even on gentoo,

Re: strange issue with cron.daily

2010-11-16 Thread Benny Pedersen
On tir 16 nov 2010 17:51:21 CET, Francesco Acchiappati wrote heh... i think this may be the reason.. sa-compile returns this error.. now i have to figure out how a dependency like cc is missing on my system... mmm this will be a loong night.. thank you very much to everyone who helped

Re: strange issue with cron.daily

2010-11-16 Thread Bob Proulx
Benny Pedersen wrote: gcc is not default installed in debian bug it as a missing dependice for spamassassin It is only a Recommends: relationship because it isn't required. It is only required if you use the compiled rules. And that is optional. So gcc isn't required but only optional. Bob