Re: Archive command failed - WAL SEGMENT

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: "drum(dot)lucas(at)gmail(dot)com" <drum(dot)lucas(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Archive command failed - WAL SEGMENT
Date: 2016-01-04 20:31:17
Message-ID: 20160104203117.GH3685@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Drum,

* drum(dot)lucas(at)gmail(dot)com (drum(dot)lucas(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message drum.lucas@gmail.com 2016-01-04 21:21:15 Re: Archive command failed - WAL SEGMENT
Previous Message drum.lucas@gmail.com 2016-01-04 20:09:32 Archive command failed - WAL SEGMENT