Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error *** SOLVED ***

2014-03-31 Thread Wietse Venema
Deeztek Support: > It looks like running out of space causes that too. I found this entry > in the logs from the day before: > > fatal: /var/lib/postfix/smtpd_scache.db: flush dictionary: No space left > on device > > One of the first things I checked but space was fine when i looked. It > loo

Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error *** SOLVED ***

2014-03-31 Thread Deeztek Support
On 3/31/2014 1:25 PM, Viktor Dukhovni wrote: On Mon, Mar 31, 2014 at 05:14:49PM +, Viktor Dukhovni wrote: However the particular fatal log message you report "open database: ..." only occurs in one place in Postfix: dict_sdbm.c:msg_fatal("open database %s: %m", dbm_path); You mus

Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error

2014-03-31 Thread Viktor Dukhovni
On Mon, Mar 31, 2014 at 05:14:49PM +, Viktor Dukhovni wrote: > However the particular > fatal log message you report "open database: ..." only occurs > in one place in Postfix: > > dict_sdbm.c:msg_fatal("open database %s: %m", dbm_path); > > You must be one of the folks who never got

Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error

2014-03-31 Thread Viktor Dukhovni
On Mon, Mar 31, 2014 at 12:45:57PM -0400, Deeztek Support wrote: > >What Postfix service (daemon) logged this message? Was it after > >a Postfix reload, restart, or some other time? > > No it happens seemingly at random. You need to examine your logs more carefully. The tlsmgr(8) process only

Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error

2014-03-31 Thread Wietse Venema
Deeztek Support: > > The database in question is not safe for multiple writers. Beyond > > that you might have a buggy Berkeley DB, or SELinux blocking access. > > SELinux is not installed. How would I determine if Berkeley DB is buggy? Well, Postfix uses the Berkeley DB API. If that causes Berk

Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error

2014-03-31 Thread Deeztek Support
On 3/31/2014 11:50 AM, Viktor Dukhovni wrote: Why on earth do people routinely truncate log entries to leave out the name of the daemon that is logging the message??? Cause sometimes they forget. By the way the daemon in question is postfix/tlsmgr but you already knew that. What Postfix

Re: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error

2014-03-31 Thread Viktor Dukhovni
On Mon, Mar 31, 2014 at 11:37:42AM -0400, Deeztek Support wrote: > I got the following error in one of our postfix servers this morning: > > fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument Why on earth do people routinely truncate log entries to leave out the name of the

fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument error

2014-03-31 Thread Deeztek Support
I got the following error in one of our postfix servers this morning: fatal: open database /var/lib/postfix/smtpd_scache.db: Invalid argument This was preventing sending and receiving email. I ended up deleting the /var/lib/postfix/smtpd_scache.db file, restarted postfix and it started working