Skip to content

ERROR: [082]: WAL segment 0000000100008FEB0000000C was not archived before the 60000ms timeout #1753

Description

@gideonisele

Please provide the following information when submitting an issue (feature requests or general comments can skip this):

  1. pgBackRest version:
    pgBackRest 2.38

  2. PostgreSQL version:
    psql (13.6 (Ubuntu 13.6-1.pgdg20.04+1+b1))

  3. Operating system/version - if you have more than one server (for example, a database server, a repository host server, one or more standbys), please specify each:
    NAME="Ubuntu"
    VERSION="20.04.4 LTS (Focal Fossa)"

  4. Did you install pgBackRest from source or from a package?

I installed packages and dependencies: sudo apt-get install -y pgbackrest

  1. Please attach the following as applicable:
    • pgbackrest.conf file(s)

cat /etc/pgbackrest.conf
[global]
backup-host=mothership
backup-user=postgres
repo-path=/var/lib/pgbackrest

[ops4]
pg1-path=/var/lib/pgsql/13/data

- `postgresql.conf` settings applicable to pgBackRest (`archive_command`, `archive_mode`, `listen_addresses`, `max_wal_senders`, `wal_level`, `port`)
- archive_command = 'pgbackrest --stanza=ops4 archive-push %p' 
- archive_mode = on 
- listen_addresses = '*'
- max_wal_senders = 3
- wal_level = replica

- errors in the postgresql log file before or during the time you experienced the issue,

log file

2022-05-16 10:08:49.278 EDT [191045] DETAIL: The failed archive command was: pgbackrest --stanza=ops4 archive-push pg_wal/0000000100008FE9000000FE
2022-05-16 10:08:49.279 EDT [191045] WARNING: archiving write-ahead log file "0000000100008FE9000000FE" failed too many times, will try again later

- log file in `/var/log/pgbackrest` for the commands run (e.g. `/var/log/pgbackrest/mystanza_backup.log`)
  1. Describe the issue:

trying to backup to a remote server, but keep getting timeout error with WAL segment 0000000100008FEB0000000C was not archived before the 60000ms timeout.
I configured SSH connection without password on both machine, connection are successful.

pgbackrest --stanza=ops4 --config-path=/etc/pgbackrest --log-level-console=info check
2022-05-16 09:14:49.534 P00 INFO: check command begin 2.38: --compress-level-network=6 --config-path=/etc/pgbackrest --exec-id=18794-f85c57c6 --log-level-console=info --pg1-host=moddbops4 --pg1-host-user=postgres --pg1-path=/var/lib/pgsql/13/data/ --repo1-path=/var/lib/pgbackrest --stanza=ops4
2022-05-16 09:14:51.555 P00 INFO: check repo1 configuration (primary)
2022-05-16 09:14:51.763 P00 INFO: check repo1 archive for WAL (primary)
ERROR: [082]: WAL segment 0000000100008FEB0000000C was not archived before the 60000ms timeout
HINT: check the archive_command to ensure that all options are correct (especially --stanza).
HINT: check the PostgreSQL server log for errors.
HINT: run the 'start' command if the stanza was previously stopped.
2022-05-16 09:15:51.887 P00 INFO: check command end: aborted with exception [082]

I would appreciate a quick help on this issue.

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions