Hi,
My postgres 9.6 master database is trying to archive a WAL file that does not exist anymore. In the log I find lots of this error:
< 2018-09-27 22:25:23.027 CEST >WARNING: archiving transaction log file "0000000300005770000000EB" failed too many times, will try again later
< 2018-09-27 22:25:23.215 CEST >LOG: archive command failed with exit code 23
< 2018-09-27 22:25:23.215 CEST >DETAIL: The failed archive command was: rsync -a pg_xlog/0000000300005770000000EB
[email protected]:/mnt/nfs/barman/datavarehus/incoming/0000000300005770000000EB
(I am running streaming replication and also barman, this is happening on my master).
Archive parameters in postgresql.conf
[postgres@datavarehus: ~]$ grep ^arch 9.6/data/postgresql.conf
archive_mode = on
archive_command = 'rsync -a %p
[email protected]:/mnt/nfs/barman/datavarehus/incoming/%f'
[postgres@datavarehus: ~]$
How can I get out of this?
Kind regards, Alf
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)