On 12/02/16 21:40, Kris Deugau wrote:
Sebastian Arcus wrote:
On 12/02/16 20:31, Antony Stone wrote:
On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote:
As per advice from this list, I have been re-using my bayes databases on
several different servers running SA. On one of the servers though, the
database is not accepted.
Are the servers all the same distro, release and version?
Are they all up to date (or at least, all equally up to date as each
other)?
No - there are definitely variations in kernel versions and other
software versions. So far I have only made sure the SA version is the
same. Any possible culprit comes to mind in terms of a certain library
or software that might cause this?
Standard on-disk Bayes files are (mostly) BerkeleyDB, but there are a
couple of other possible back ends that could be in use depending on OS
release and update level. If you have OS variations you may have
different BDB versions (or even a completely different type of hash
database file; look up AnyDBM_File), and you won't be able to share
your Bayes by copying files around.
Try running "file /path/to/bayes/files/*" on your source and problem
machines (the latter with locally-created Bayes files that don't show
the access problem) and see what comes up.
Thanks for that suggestion. I think we might be getting somewhere. On
original machine:
#file bayes_seen
bayes_seen: Berkeley DB (Hash, version 9, native byte-order)
# file bayes_toks
bayes_toks: Berkeley DB (Hash, version 9, native byte-order)
On the receiver machine, but with bayes files created locally:
#file bayes_seen
bayes_seen: Berkeley DB (Hash, version 8, native byte-order)
# file bayes_toks
bayes_toks: Berkeley DB (Hash, version 8, native byte-order)
Could the hash version account for the errors I am seeing? So far it
seems to be the only meaningful difference.