Re: pgbackrest archive-push exit code 25

Stephen Frost <[email protected]>
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <[email protected]>
Greetings,

* Stephen Froehlich ([email protected]) wrote:
> I am in the process of getting pgbackrest up and running on my analysis server, and I keep on getting the following but can't find a reference for "exit code 25" in for pgbackrest.  My next step will be to restart the server when a current process is done, but beyond that I'm kind of stuck and have a large backlog of WAL at this point, but where do I find a reference for this error code?
> 
> 2018-05-18 08:54:22.528 MDT [28589] LOG:  archive command failed with exit code 25
> 2018-05-18 08:54:22.528 MDT [28589] DETAIL:  The failed archive command was: pgbackrest --stanza=tsbackup archive-push pg_wal/000000010000A7E0000000F5
> 2018-05-18 08:54:22.529 MDT [28589] WARNING:  archiving write-ahead log file "000000010000A7E0000000F5" failed too many times, will try again later

Exit code 25 is an assertion failure in pgbackrest, which should
generally be very rare.  Even so though, the next thing to do is enable
increased logging in pgbackrest to see what's going on.  Have you looked
for any existing logs (eg: /var/log/pgbackrest)..?  What does your
pgbackrest.conf look like?

Thanks!

Stephen
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJa/3gEAAoJEO1sijiDR2RVQUoQALSdXG7rBKHDRYWj0rh0n3Fb
1/7/vO/dGK6ql3pH2VsusjOG6+SX0ZjPZZpwHbqJaTYFXWHD34MnGjfDJrtkEJKU
RkVZP64babqiylsMbI9Vht04BHhmx1kRTzz5gx/YLsNgy0Mt7RnqY0fQjLoIV6o2
tqhIYx8Sv2fQNAiGvWZ0GhOmRb8mtySr3wCKqdFtY9GYpy9J5vLUPyiYDaYxD9ry
28WibO6cbd5OZb9QlUu28vhzsYMVRgqnHHtrgTva0786F5OA2X8h4vGY7u7WNr7e
o+lrEpYYl2VTkuiYhRcq6GT5vUJE2xlmTr9ru4XRv6FPUvLOr93BauFU7bzrFWex
h2cgRi6GCDUEN6bPNzetdRLYJJJBIreYe0WPVbK+UO5sMB511vVNwZ5xA+7jPQBy
rRDK8ySDQ9F9ucm77d+QlMtAZ3G1z5e1v1D6yhb/buI97+TfC/oM4m6zP+xsie1Z
8igROfyROuV3Qni5j3SHTnpNzfAwzZleyIhGowLu5zcJDfNn+vd8WMVubpgoydgI
bMpaBC85T1iqgAWfTSZJhIvHnS0U8QCEyi4paKSxK/A4ohQRnx/pNxHTzi8RbXrs
j1NkqsBZUKt0Np9do641FJh4XEUPmiZUX9xM3Fz+VRHIFZUGhCcVxAfBSRmd6gmK
JQYi4GmhkgtBCOSvREhG
=0d6r
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.