(I wonder if this belongs here or to misc?)
I have been having some problems over the last year with starting
postfix after a regular shutdown at times:
It would not start when the system starts. This is the maillog of the
last fail:
Jul 11 11:56:19 claude authdaemond: modules="authuserdb authpwd authpgsql authld
ap authmysql authpipe", daemons=5
Jul 11 11:56:19 claude authdaemond: Installing libauthuserdb
Jul 11 11:56:19 claude authdaemond: File not found
Jul 11 11:56:19 claude authdaemond: Installing libauthpwd
Jul 11 11:56:19 claude authdaemond: Installation complete: authpwd
Jul 11 11:56:19 claude authdaemond: Installing libauthpgsql
Jul 11 11:56:19 claude authdaemond: File not found
Jul 11 11:56:19 claude authdaemond: Installing libauthldap
Jul 11 11:56:19 claude authdaemond: File not found
Jul 11 11:56:19 claude authdaemond: Installing libauthmysql
Jul 11 11:56:19 claude authdaemond: File not found
Jul 11 11:56:19 claude authdaemond: Installing libauthpipe
Jul 11 11:56:19 claude authdaemond: Installation complete: authpipe
Jul 11 11:56:20 claude postfix/postfix-script[17841]: fatal: Postfix integrity c
heck failed!
But a few minutes later, and me doing nothing whatsoever, 'postfix
check' will be okay (no output), and postfix status and postfix start
will result in:
Jul 11 12:28:59 claude postfix/postfix-script[25863]: the Postfix mail system is
not running
Jul 11 12:29:10 claude postfix/postfix-script[26985]: starting the Postfix mail
system
Jul 11 12:29:11 claude postfix/master[27825]: daemon started -- version 2.5.1, c
onfiguration /etc/postfix
Now I wonder if eventually some files or directories are not (yet)
available after boot when postfix starts?
% uname -vsrm
OpenBSD 4.3 GENERIC#698 i386
% pkg_info | grep postf
postfix-2.5.1p0 fast, secure sendmail replacement
cat /etc/rc.conf.local
ntpd_flags=""
accounting=YES
pf=YES
named_flags=""
httpd_flags=""
sendmail_flags="-bd"
syslogd_flags="-a /var/spool/postfix/dev/log"
Any idea how to debug the situation is welcome,
Uwe