From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 05:46:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B5516A417 for ; Fri, 19 Oct 2007 05:46:08 +0000 (UTC) (envelope-from rem@bsd.remdog.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.200.83]) by mx1.freebsd.org (Postfix) with ESMTP id 5A19113C448 for ; Fri, 19 Oct 2007 05:46:07 +0000 (UTC) (envelope-from rem@bsd.remdog.net) Received: from remdog.net (c-67-188-231-54.hsd1.ca.comcast.net[67.188.231.54]) by comcast.net (sccrmhc13) with ESMTP id <200710190546060130092dhie>; Fri, 19 Oct 2007 05:46:06 +0000 Received: by bsd.remdog.net (Postfix, from userid 1001) id 887261D0C6; Thu, 18 Oct 2007 22:46:51 -0700 (PDT) Date: Thu, 18 Oct 2007 22:46:51 -0700 To: freebsd-questions@freebsd.org Message-ID: <20071019054651.GA1256@remdog.net> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i From: rem@bsd.remdog.net (Rem P Roberti) Subject: Postfix woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 05:46:08 -0000 I did what you all requested and submitted my Postfix problem to the Postfix list. The resident guru went over my maillog and sent back his analysis which, in short, states that the problem has nothing to do with Postfix, and that I should seek help here to get to the bottom of it all. That reply is listed below. This is a rather strange business. Rem From: Rem P Roberti To: freebsd-questions@freebsd.org Cc: Bcc: Subject: [Victor.Duchovni@MorganStanley.com: Re: Boot-up weirdness] Reply-To: ----- Forwarded message from Victor Duchovni ----- Date: Thu, 18 Oct 2007 21:44:36 -0400 From: Victor Duchovni To: postfix-users@postfix.org Subject: Re: Boot-up weirdness On Thu, Oct 18, 2007 at 06:11:42PM -0700, Rem P Roberti wrote: > Oct 18 16:39:20 bsd postfix/postfix-script[3805]: starting the Postfix > mail system > Oct 18 16:39:20 bsd postfix/master[3806]: daemon started -- version > 2.4.5, configuration /usr/local/etc/postfix > Oct 18 16:39:25 bsd postfix/postfix-script[3811]: refreshing the Postfix > mail system > Oct 18 16:39:25 bsd postfix/master[3806]: reload configuration > /usr/local/etc/postfix Something runs "postfix reload" five seconds after Postfix starts. It is not Postfix doing that, so find the start script or cron job responsible. > Oct 18 16:40:40 bsd postfix/postfix-script[3937]: stopping the Postfix > mail system > Oct 18 16:40:40 bsd postfix/master[3806]: terminating on signal 15 Something runs "postfix stop" 85 seconds after that, it is not Postfix doing that, so find the start script or cron job responsible. > Oct 18 16:40:40 bsd postfix/postfix-script[3958]: fatal: the Postfix > mail system is not running The code in question wants to make doubly sure that Postfix is down, which it is. > Oct 18 16:42:26 bsd postfix/postfix-script[894]: starting the Postfix > mail system > Oct 18 16:42:26 bsd postfix/master[895]: daemon started -- version > 2.4.5, configuration /usr/local/etc/postfix Postfix is restarted by something on your system 106 seconds later. > from=, size=701, nrcpt=1 (queue active) > Oct 18 16:42:28 bsd postfix/postfix-script[943]: fatal: the Postfix mail > system is already running > Oct 18 16:42:29 bsd postfix/postfix-script[983]: fatal: the Postfix mail > system is already running Something is trying to start Postfix again. I am guessing you have two Postfix start scripts fighting each other... > Oct 18 17:38:44 bsd postfix/postmap[1555]: fatal: open transport.db: > Permission denied An hour or so later, something is trying to run "postmap" or "postmap -q", it is not Postfix doing that. Find the cron job or start script in question. > Oct 18 17:39:15 bsd postfix/postfix-script[1559]: stopping the Postfix > mail system > Oct 18 17:39:15 bsd postfix/master[895]: terminating on signal 15 > Oct 18 17:39:21 bsd postfix/postfix-script[1609]: starting the Postfix > mail system > Oct 18 17:39:21 bsd postfix/master[1610]: daemon started -- version > 2.4.5, configuration /usr/local/etc/postfix Postfix is restarted. > Oct 18 17:39:27 bsd postfix/postfix-script[1615]: refreshing the Postfix > mail system And reloaded for good measure. > /usr/local/etc/postfix > Oct 18 17:41:23 bsd postfix/postfix-script[1768]: stopping the Postfix > mail system > Oct 18 17:41:23 bsd postfix/master[1610]: terminating on signal 15 > Oct 18 17:41:23 bsd postfix/postfix-script[1789]: fatal: the Postfix > mail system is not running > Oct 18 17:42:52 bsd postfix/postfix-script[894]: starting the Postfix > mail system > Oct 18 17:42:52 bsd postfix/master[895]: daemon started -- version > 2.4.5, configuration /usr/local/etc/postfix This insanity has nothing to do with Postfix, if you can't find the cron jobs, start scripts, management agents, ... that are doing this, go back the FreeBSD list and ask for help to find them. -- Viktor.