Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9eeF-0007ql-8S for pgsql-admin@arkaria.postgresql.org; Fri, 09 Jan 2015 18:51:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9eeE-0001Te-Lf for pgsql-admin@arkaria.postgresql.org; Fri, 09 Jan 2015 18:51:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y9eeD-0001TX-Gb for pgsql-admin@postgresql.org; Fri, 09 Jan 2015 18:51:01 +0000 Received: from nm12.bullet.mail.ne1.yahoo.com ([98.138.90.75]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y9eeA-0006Fw-2n for pgsql-admin@postgresql.org; Fri, 09 Jan 2015 18:50:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1420829456; bh=+u/t1v5pJcg9uf009n1gCKlMfOnjX4cPdD/No7q4M38=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=nETj4t5dBGFD7RecJpzA4pPIpMihNFJYgbGD+Y23VyjVHIgyaWVr/JTeFb+Ui/Iq9/3s4aQvb3P7a2iiwljy6n/YAkFMbwRHfYrdYrfxy2cgpMazRXWKAuGsXCF5M/zLcdShtzJVb8nuiHA3r3VHvdzV1tnXMFEUUFaqGF8eGxqsGsaP4IymxxOBgo13bel1598l6BwOTnEoApQTDm/P0cCrKbTRWfNtvvn1QlD2gTz1PFvhlZg3ufERZpJZVmlZuNddG1KSkoxKy9dwQO3tuiQshQ6HcFuAGR073hOfgsVwSIYJ+MnF/1BhK5IX2fRoe8fBsNAzUIENg17DUonSzA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=ymail.com; b=rSEi0KVdmTHNNzFSfh8gJy94u/O66riKBJ2IHFuGUyMZe5ebUBrf0WmBd8MpSmZnx01nJp44+7reIsXq8NE4NAM4j9Yu18MEFGCft0iKeN9RgxCEPvs10LvGFY3lNPV7ZL+nzYfnTHk4ZuYJF4coNI8+g5HOxF6Jvl4AswMELOVEIsgPH+O1gNW1oBHQCbQY9APYZueAD60h07SnhpUT4/qoAZRTmynzA+SnTuAN5Qy3rxCFJOtI5E845IHDQfkb7BGwQBHdbErOae01PBzdQhbW2vHzfiOuGCFO55mCgAwBxbRyhdE5iTEoL6sDdxi7syWirD8vHagU27+am0t/MA==; Received: from [98.138.100.111] by nm12.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2015 18:50:56 -0000 Received: from [98.138.226.162] by tm100.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2015 18:50:56 -0000 Received: from [127.0.0.1] by omp1063.mail.ne1.yahoo.com with NNFMP; 09 Jan 2015 18:50:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 337208.38369.bm@omp1063.mail.ne1.yahoo.com X-YMail-OSG: oIhy5yUVM1mRojHWSHQK2lEkemSMyngStd4gEWONxunDQAjYxGKyjmgR7YsJfrZ TbyBHm0ItF5qNTlpo0uIC0vG0OR3oj6YunLwVbeLD..lc.6PkAxSvdN6Fzt2VVWGrFJUOnwKfGEn 9NjXvo582y3UbWOTiIuNWcxrn8Gedc9fi7GofcLjV7US2vzs9aPdKNCr4blXEeIIt4vYB8Tfb6ts wlxDlv7tL0tFRmkNiPT.bs8P25bzQzKXP3JxMpgBBo4.AkdG_5lPEPZZqyKcb34lwwPgJM3h56fE rq_CVhsI8MsOwTbYQPzLRs6_oNleLE6MVpegt0kKqEbcnjvteJgl3.sH6YI9znQ1WsChkp7UvCu8 nAiaLnro8xL38QUPnqexHCtlY0doirmyzGP_sk_2r2KoRwiw1oYA2yd0Y615MWrG77MlTbKBU6CO lDILiIY.54TkR2CwoK4GJXNnPAAhMRBR5dMonqHHdRwZZeNxjXEL4EFPS5n9Rtagqb25nsnq77YW _J1KcrX.vwOE9daGkVY.rjNsqTGMXIIVI7vUGLrkByQRVq8otY3xmtg-- Received: by 98.138.105.221; Fri, 09 Jan 2015 18:50:55 +0000 Date: Fri, 9 Jan 2015 18:50:55 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: "Mathis, Jason" Cc: "pgsql-admin@postgresql.org" Message-ID: <1212562520.4253282.1420829455349.JavaMail.yahoo@jws100200.mail.ne1.yahoo.com> In-Reply-To: References: Subject: Re: postgresql says archive is failing but its not MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1347 X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org "Mathis, Jason" wrote: > On Fri, Jan 9, 2015 at 11:58 AM, Kevin Grittner wrote: >> "Mathis, Jason" wrote: >> >>> I am getting some weird archiving failed messages in the logs >>> but nothing is failing. I *think* its just exiting with a non >>> zero code from the script. >> >> The archive command (script or not) must exit with 0 if >> successful. A nonzero exit code indicates failure. > > But if it was failing then I would be having a stack of *.ready > files right? In fact I should have a > "0000000100002ED0000000CB.ready" file but I don't. It weird man, > so weird. Well, you didn't show this script. Is it perhaps directly messing with the *.ready files instead of leaving them to PostgreSQL to manage? If it's doing one thing wrong (i.e., using a nonzero exit code after copying to the archive directory) perhaps it's doing something else wrong (like removing the copied WAL file or messing with the *.ready files). If you mess with internals that you shouldn't be touching, you can expect weird. Perhaps the script was initially only getting one of these things wrong and it was causing failures, so the author went further down the rabbit hole in an attempt to get it sorta working? -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin