pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: drum.lucas@gmail.com <drum.lucas@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Archive command failed - WAL SEGMENT
Date: Mon, 4 Jan 2016 15:31:17 -0500
Message-ID: <20160104203117.GH3685@tamriel.snowman.net> (raw)
In-Reply-To: <CAE_gQfWPJPmg5gYUKeGXrX2WQrNLxywo2zJWPn4aGxDcH0OOxw@mail.gmail.com>
References: <CAE_gQfWPJPmg5gYUKeGXrX2WQrNLxywo2zJWPn4aGxDcH0OOxw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Drum,

* drum.lucas@gmail.com (drum.lucas@gmail.com) wrote:
> I've configured a new SLAVE Hot Standby server to my production.
> 
> The problem is that, I've got some errors on Master:
> 
> archive command failed with exit code 4
> Failed to archive WAL segment `pg_xlog/0000000100000C2100000029` on host
> `db-02`
> 
> Do you guys know what I may be doing wrong?

Whatever you have set as your archive_command in postgresql.conf is
returning exit code 4.  It's either broken, and you need to fix it, or,
if it's working, you need to change it to return error code 0
(indicating success).

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (3+ messages)  latest in thread

Message-ID: <20160104203117.GH3685@tamriel.snowman.net>
Permalink:  ../20160104203117.GH3685@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20160104203117.GH3685@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sfrost@snowman.net, drum.lucas@gmail.com
  Subject: Re: Archive command failed - WAL SEGMENT
  In-Reply-To: <20160104203117.GH3685@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox