|
|||||||||||
|
Re: spamd is dying
From: brian ally <2audrey(at)sympatico.ca>
Date: Thu Aug 16 2007 - 21:37:36 EDT
>> postfix-2.3.3-1 >> cyrus-imapd-2.2.10-3 >> spamassassin-3.1.5-1 >> spamass-milter-0.3.0-1.1.fc2.rf >> perl-Mail-SpamAssassin-3.1.5-1 >> >> I'm seeing spamd processes dying consistently: >> > How are you starting spamd? I think you are starting spamd as a user > without permissions to /var/spool/spamassassin/bayes.
A script in /etc/init.d (SA was installed as a fedora RPM). The relevant
lines:
# Source networking configuration.
# Check that networking is up.
# Set default spamd configuration.
# Source spamd configuration.
. /etc/sysconfig/spamassassin
[ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0 PATH=$PATH:/usr/bin:/usr/local/bin
# By default it's all good
start)
# Start daemon.
echo -n $"Starting $prog: "
daemon $NICELEVEL spamd $SPAMDOPTIONS -r $SPAMD_PID
RETVAL=$?
echo
if [ $RETVAL = 0 ]; then
touch /var/lock/subsys/spamassassin
fi
;;
-- snip -- > Also, in my experience, that line in your config file should actually be Aarghh! Why is this so opaque in the docs? FWIW, google shows 660 pages for "bayes" vs. 7 for "bayes/bayes". I'm thinking that it doesn't really matter, as long as the daemons can find what's been created. What about the missing journal? Is that an issue here? > I start spamd like this: I'll try some of those params. Certainly, i should bump up the max-children from 5 and see if that helps. One thing that just jumped out at me is that this init script has -H, which expects a directory as an argument: -H [dir], --helper-home-dir[=dir] Specify a different HOME directory Maybe that has something to do with this. I'll drop it (or should i give it "/var/spool/spamassassin"?) and see if that works. Thanks! brian Received on Thu Aug 16 21:38:58 2007 This archive was generated by hypermail 2.1.8 : Wed Oct 24 2007 - 10:16:21 EDT |
||||||||||
|
|||||||||||