On Sat, 24 May 2003, Ross Vandegrift said: > On Sat, May 24, 2003 at 11:18:51AM -0400, Chris Woodfield wrote: >> Just got this error from sa-learn... >> >> [EMAIL PROTECTED]:~$ sa-learn --spam --mbox ~/mail/spam-caught >> Cannot open bayes_path /home/rekoil/.spamassassin/bayes R/O: Inappropriate >> ioctl for device >> Cannot open bayes_path /home/rekoil/.spamassassin/bayes R/W: File exists >> Cannot open bayes_path /home/rekoil/.spamassassin/bayes R/W: File exists > > You've got a Bayes database that was created with some version of perl > and db libraries. Then perl and/or the db stuff was upgraded. Now, the > new libraries can't read the old format.
db_upgrade(1). I've seen the same symptoms when I had two versions of libdb on my system, and two Perl modules had been linked against distinct major versions. libdb doesn't use symbol versioning, private symbols or any other such tricks, so in that situation it can easily end up with one major version calling code from another... (`File exists' is merely a harmless errno value spat out by very confused error-handling code that's running when it shouldn't.) -- `It is an unfortunate coincidence that the date locarchive.h was written (in hex) matches Ritchie's birthday (in octal).' -- Roland McGrath on the libc-alpha list ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk