Bug Tracker item #2916563, was opened at 2009-12-17 23:55
Message generated for change (Comment added) made by sbajic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2916563&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: daemon
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aria Stewart (aredridel)
Assigned to: Stevan Bajic (sbajic)
Summary: "Exit status 251" with dspamc

Initial Comment:
I'm trying to track down this bug but haven't found any place in the source 
that dspam would exit with this status.

At 4am, each day, messages get rejected with <address here>: Command died with 
status 251: "/usr/bin/dspamc"

(this is using postfix)

Nothing in logs that I can find, nothing in the source, and suspiciously timed.

Any idea what could cause dspamc to exit with status like that?

----------------------------------------------------------------------

>Comment By: Stevan Bajic (sbajic)
Date: 2009-12-21 23:43

Message:
I see nothing that pops directly to my eyes. Why is dspamc barking? Where
are you using it?

I do daily purging and log rotating over here and never have I had that
issue.

How are you communicating form Postfix with DSPAM? Could you post that
part of the configuration as well?

----------------------------------------------------------------------

Comment By: Aria Stewart (aredridel)
Date: 2009-12-21 23:34

Message:

# Include config
if [ -s /etc/sysconfig/dspam ]; then
  . /etc/sysconfig/dspam
fi

RUN_AS="${RUN_AS:-dspam}"
[ -x /sbin/runuser ] && SU="/sbin/runuser" || SU="su"

${SU} - ${RUN_AS} -s /bin/sh -c "/usr/bin/dspam_clean" > /dev/null
${SU} - ${RUN_AS} -s /bin/sh -c "/usr/bin/dspam_logrotate -a 30 -d
/var/spool/dspam/"


----------------------------------------------------------------------

Comment By: Stevan Bajic (sbajic)
Date: 2009-12-21 23:30

Message:
I am not concerned about the dspam_clean thing but the dspam_logrotate. How
do you call it? Do you restart DSPAM after running dspam_logrotate?

Could you post the code part that you run at 4:02am?

----------------------------------------------------------------------

Comment By: Aria Stewart (aredridel)
Date: 2009-12-21 23:27

Message:
I can't, however, replicate the problem running dspam_clean manually and
processing messages.

----------------------------------------------------------------------

Comment By: Aria Stewart (aredridel)
Date: 2009-12-21 23:21

Message:
Ah, yes. It's runing dspam_clean and dspam_logrotate at 4:02am.



----------------------------------------------------------------------

Comment By: Stevan Bajic (sbajic)
Date: 2009-12-21 18:10

Message:
Hallo Aria,

is there any thing that you run at 4am? A script purging tokens? Anything
that fiddles around with your storage db?

-- 
Kind Regards from Switzerland,

Stevan Bajić

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2916563&group_id=250683

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to