PDA

View Full Version : etch: Segmentation fault /usr/sbin/amavisd-new-cronjob sa-sync


mindrail
15th August 2007, 14:42
Hello,
(
spamassassin 3.1.7-2
amavisd-new 2.4.2-6.1
clamav 0.90.3-0volatile1
)

About 3-4 times a day I get

/bin/sh: line 1: 29866 Segmentation fault /usr/sbin/amavisd-new-cronjob sa-sync

mailed to me.

The '29866' value changes every time.

/usr/sbin/amavisd-new-cronjob effcetively su's to amavis to run the command

/usr/bin/sa-learn --sync

which has no problem when run on the cmd line.

Has anyone seen this?
Thanks
m

falko
16th August 2007, 15:16
Not sure why this happens, but you could try and change /bin/sh to /bin/bash in the first line of /usr/sbin/amavisd-new-cronjob.

bschultz
6th December 2007, 05:38
I'm getting the same error, and I've tried changing the first line to /bin/bash, but the email still says /bin/sh. I've tried rebooting, and it still doesn't reload the cronjob to use the /bin/bash.

Any ideas on how to make this reload this cronjob?