postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Robert Lopez
wrt: mail_version = 2.10.0 I am trying to understand the cause/causes of these log lines: 1) postfix/postscreen[]: fatal: error [-30986] seeking /var/lib/postfix/postscreen_cache.db: Success 2) postfix/master[4070]: warning: process /usr/libexec/postfix/postscreen pid 4366 exit status 1 3)

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Wietse Venema
Robert Lopez: > I am trying to understand the cause/causes of these log lines: > > 1) postfix/postscreen[]: fatal: error [-30986] seeking > /var/lib/postfix/postscreen_cache.db: Success Your Berkeley DB is screwed up. Code fragment from src/util/dict_db.c: /* * Database lookup.

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Robert Lopez
On Fri, Jun 14, 2013 at 3:09 PM, Wietse Venema wrote: > Robert Lopez: >> I am trying to understand the cause/causes of these log lines: >> >> 1) postfix/postscreen[]: fatal: error [-30986] seeking >> /var/lib/postfix/postscreen_cache.db: Success > > Your Berkeley DB is screwed up. > > Code fra

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Wietse Venema
Robert Lopez: > 1) postfix/postscreen[]: fatal: error [-30986] seeking > /var/lib/postfix/postscreen_cache.db: Success Wietse: > Your Berkeley DB is screwed up. > > Code fragment from src/util/dict_db.c: > > status = > dict_db->cursor->c_get(dict_db->cursor, &db_key, &db_value, >

Re: postscreen log lines reporting warnings and fatal errors

2013-06-14 Thread Benny Pedersen
wie...@porcupine.org skrev den 2013-06-15 02:36: My advice is to avoid installing multiple Berkeley DB copies, and to use the Berkeley DB that comes with the operating system. locate postfix/postscreen ldd will show the problem why it fails under gentoo its "ldd /usr/libexec/postfix/postscr

Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-17 Thread Robert Lopez
It would not surprise me in the least to find out I did something wrong. :-} I know I did "yum install db4-devel" as part of packages I believed were prerequisites to installing Postfix. My recall is that I was missing a /usr/include file when test building a Postfix and I did a "yum provides" t

Re: Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-17 Thread Wietse Venema
Robert Lopez: > It would not surprise me in the least to find out I did something wrong. :-} > > I know I did "yum install db4-devel" as part of packages I believed > were prerequisites to installing Postfix. > My recall is that I was missing a /usr/include file when test building > a Postfix an

Re: Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-17 Thread Robert Lopez
On Mon, Jun 17, 2013 at 2:11 PM, Wietse Venema wrote: > I suggest that you install a compiled version of Postfix, and that > you use a simpler program to become familiar with the process of > building your own binaries. There existed a project goal to install a postfix with postscreen. The goal

Re: Fwd: postscreen log lines reporting warnings and fatal errors

2013-06-18 Thread Robert Lopez
After looking at past logs an seeing the errors only began after the email gateway had been running for a few weeks, I deleted the /var/lib/postfix/postscreen_cache.db. Restarting postfix now has a happy postscreen+bdb again. -- Robert Lopez Unix Systems Administrator Central New Mexico Community