Database issues
Database error when upgrading ze-filter
If you see the following error when upgrading ze-filter (as you surely take a look at your logs when you upgrade your filter…) :
Aug 22 15:15:44 paris-1 ze-filter[28914]: [ID 129486 local5.error] jdb_env_open : Error opening environnement : /var/ze-filter/wdb DB_VERSION_MISMATCH: Database environment version mismatch
This means that Berkeley DB DBMS distributed with was updated and some old environnement files aren't compatible with the new Berkeley DB environnement. Stop ze-filter, remove old environnement files and restart the filter.
# cd /var/ze-filter/wdb # ls __db.001 __db.004 __db.register ze-greyvalid.db log.0000000645 __db.002 __db.005 ze-greyblacklist.db ze-greywhitelist.db log.0000000646 __db.003 __db.006 ze-greypend.db ze-res-cache.db # /etc/init.d/ze-filter stop # rm -f __* # /etc/init.d/ze-filter start