Hi Wasim,
Thank you for the details.
From the error message you shared, it looks like Barman is trying to delete a WAL segment it believes exists, but the corresponding file is missing from the filesystem:
EXCEPTION: [Errno 2] No such file or directory: '/data/empirx1/wals/0000000100001E3E'
This typically happens when Barman's WAL metadata cache (
SERVER_NAME-xlog.db) indicates that a WAL segment is present, but the file itself has been removed by any means from the expected location.
To help us troubleshoot further, could you please provide the output of:
- Barman diagnose -- Please redact any sensitive information such as passwords, if any in the output:
barman diagnose
- List of files under your WALs directory:
tree /data/empirx1/wals
- Contents of your xlogdb:
cat /data/empirx1/wals/empirx1-xlog.db
This will give us a clearer picture of the environment and configuration.
Best regards,
Israel.