Print Page | Close Window

SF crash when accessing read only White-

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6079
Printed Date: 03 November 2025 at 5:03am


Topic: SF crash when accessing read only White-
Posted By: kp4711
Subject: SF crash when accessing read only White-
Date Posted: 23 May 2007 at 5:37am

build 3.5.3.674

LOGFILE:
05.22.07 23:38:24:358 -- (2256) Exception occurred during TFilterObject.ReadFilterFromFile (4): Cannot create file " file://\\Accounting\w32spamsync\whitelist - \\Accounting\w32spamsync\whitelist ". Zugriff verweigert
05.22.07 23:38:24:436 -- (2256) Exception occurred during TFilterObject.ReadFilterFromFile (9): Cannot create file " file://\\Accounting\w32spamsync\blacklist - \\Accounting\w32spamsync\blacklist ". Zugriff verweigert

We use White- and Blacklistfiles exporting as txt-files from an database and save at read-only-files every 5 minutes. When this files are genereated and spamfilter will access this files at the same time, the files not exist, so SF will create them, but SF is unable to create this files, because the service does not have rights there. So SF crashes and the whole machine is frozen!

 

 




Replies:
Posted By: Desperado
Date Posted: 23 May 2007 at 10:39am

kp4711,

You are being bitten by the EXACT same issue that I actually created my own, sloppy workaround for.  We have our backup server receiving updates from a stored procedure writing files over a WAN.  When we did this every 5 minutes, we had locked files constantly.  When we changed the export schedule to 2 hours, the problem only surfaced once in a 2 week period or so.  However, often, 2 hours is too long to wait when we make an update so we wrote a script to allow us to force the updates.  The script first stops the remote service, waits 15 seconds, pushes the files up and then starts the service.

We are now, studying the ramifications of converting our backup to the SFE mode as it will grab all the domain and filter setting from the primary automatically.  There are a few "hitches" is this for us (like the forward to SMTP server settings are different) but still, it looks promising.


-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com



Posted By: LogSat
Date Posted: 23 May 2007 at 4:23pm
We're not able to replicate this problem, so far in all cases an error is logged as above, but SpamFilter continues to function properly. Do you see a crash *every* time this happens, or is the crash sporadic?

-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: Desperado
Date Posted: 23 May 2007 at 4:28pm
As an update to my post ... I never get a crash ... I just get a mangled list which windows seems to then lock and SF reads a dammaged list and then can not write to it.  However, I just checked my monitor logs (we actually detect this failure) and the las time this happened was Jan-05-07 so it is not a "real" issue for us.

-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com



Posted By: kp4711
Date Posted: 25 May 2007 at 3:47am

Originally posted by LogSat LogSat wrote:

We're not able to replicate this problem, so far in all cases an error is logged as above, but SpamFilter continues to function properly. Do you see a crash *every* time this happens, or is the crash sporadic?

@logsat: No not a crash at every time when this error is occured in SF Logfile, but when the system is crashes this ist the LAST entry in SF logfile so i think that is the reason for system crash.

some more information: the UNC-Path is a network share on a SAMBA-Share of a LINUX DEBIAN System

 




Print Page | Close Window