Steve skrev, on 01-01-2008 17:44:

Digging around in my dspam debug logs, I found these messages that
probably correspond:

12984: [12/31/2007 10:15:52] sedation level set to: 0
12984: [12/31/2007 10:15:52] _mysql_drv_getspamtotals: unable to
_mysql_drv_getpwnam((null))
12984: [12/31/2007 10:15:52] unable to load totals.  using zero values.
12984: [12/31/2007 10:15:52] _ds_getall_spamrecords: unable to
_mysql_drv_getpwnam((null))
12984: [12/31/2007 10:15:52] _ds_getall_spamrecords() failed

This error means that the CTX (DSPAM Classification Context) has no username or 
group associated with the context. Actually it is a NULL value associated with 
the context. I see that in the error:
_mysql_drv_getpwnam((null))

The error is initiated in _ds_getall_spamrecords wich is an abstraction level 
for and above all the storage drivers.

So probably you have a issue with the storage backend and in your case this is 
MySQL. Tonny from the DSPAM ML has the same error with CVS on his FC6 system. I 
could not replicate or reproduce the error on my CentOS 5.1 or Gentoo system. I 
however only used CVS on the CentOS 5.1 system. On the Gentoo system I am 
running 3.8.0 with the Gentoo patches and a bunch of my own patches. There I 
have rewritten a big part of the MySQL storage driver for DSPAM. Since I am 
fiddling around with the MySQL driver in DSPAM for so long I know that that 
part of the original code is not without problems. But that is another story.

Nope, this was something entirely different ans had nothing to do with the driver as such. I did write and tell you what the reason was.

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl

Reply via email to