Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPZ08-0006G4-R9 for pgsql-admin@arkaria.postgresql.org; Mon, 05 Oct 2020 22:30:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPZ07-0007PN-OJ for pgsql-admin@arkaria.postgresql.org; Mon, 05 Oct 2020 22:30:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPZ07-0007PF-H2 for pgsql-admin@lists.postgresql.org; Mon, 05 Oct 2020 22:30:35 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPZ04-0008JT-6c for pgsql-admin@lists.postgresql.org; Mon, 05 Oct 2020 22:30:34 +0000 Received: from Davids-MacBook-Pro.local (c-73-39-102-148.hsd1.md.comcast.net [73.39.102.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 0DE1C54667; Mon, 5 Oct 2020 22:30:29 +0000 (UTC) Subject: Re: archive_active file. To: "Anthony, Craig Talmadge" , "pgsql-admin@lists.postgresql.org" References: From: David Steele Message-ID: <2226e1d4-979f-3e2a-7225-cd2efa5ae5e7@pgmasters.net> Date: Mon, 5 Oct 2020 18:30:29 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Anthony, On 9/29/20 1:40 PM, Anthony, Craig Talmadge wrote: >    I recently built a postgresql 12 server and forgot to turn on WAL > archiving. I modified my postgresql.conf file and stopped/started the > server.  After a day and many WAL files being generated archiving did > not start until I found a suggestion to create and empty archive_active > file in my archived WAL segments directory. When I did this archiving > began. Does anyone know  why archiving didn't start after the stop and > restart and can anyone tell me that the archive_active file is a > specific postgresql file or is it just that the archived WAL segments > location has to have a file in it before archiving begins? More detail here would be good. What archive_command did you configure? An archive_active file is not expected by core postgres so I suspect you are either using an alternate distribution or an archive command that requires this file. Regards, -- -David david@pgmasters.net