Обсуждение: pg_verifybackup fails
Hello,
we are running postgres V16 on Linux and when I try to run pg_verifybackup I get the following error.
Does it mean that we have an incomplete installation ?
I would be grateful for any pointers on how to resolve this issue.
LG
Ram
[postgres]$ pg_verifybackup /var/lib/pgsql/base_backup_dir/XXX/2026-02-16T11-52-27
pg_verifybackup: error: program "pg_waldump" is needed by pg_verifybackup but was not found in the same directory as "/usr/bin/pg_verifybackup"
[postgres]$ type pg_verifybackup
pg_verifybackup is hashed (/bin/pg_verifybackup)
[postgres]$ type pg_waldump
-bash: type: pg_waldump: not found
Freundliche Grüße
i. A. Ramachandran Subramanian
Zentralbereich Informationstechnologie
Alte Leipziger Lebensversicherung a. G.
Hallesche Krankenversicherung a. G.
______________________ ALH Gruppe Alte Leipziger Lebensversicherung a. G., Alte Leipziger-Platz 1, 61440 Oberursel Sitz Oberursel (Taunus) · Rechtsform VVaG · Amtsgericht Bad Homburg v. d. H. HRB 1583 · USt.-IdNr. DE 114106814 Hallesche Krankenversicherung a. G., Löffelstraße 34-38, 70597 Stuttgart Vors. des Aufsichtsrats: Dr. Walter Botermann · Vorstand: Christoph Bohn (Vors.), Dr. Jürgen Bierbaum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexander Mayer, Christian Pape, Wiltrud Pekarek, Udo Wilcsek Sitz Stuttgart · Rechtsform VVaG · Amtsgericht Stuttgart HRB 2686 · USt.-IdNr. DE 147802285 Beiträge zu privaten Kranken- und Pflegekrankenversicherungen unterliegen nicht der Versicherungsteuer (§ 4 (1) Nr. 5 b VersStG) · Versicherungsleistungen sowie Umsätze aus Versicherungsvertreter-/Maklertätigkeiten sind umsatzsteuerfrei
Alte Leipziger-Platz 1, 61440 Oberursel
Tel: +49 (6171) 66-4882
Fax: +49 (6171) 66-800-4882
E-Mail: ramachandran.subramanian@alte-leipziger.de
www.alte-leipziger.de
www.hallesche.de
Pflichtangaben der ALH Gruppe gemäß § 35a GmbHG bzw. § 80 AktG
On Mon, Feb 16, 2026 at 4:40 PM Subramanian,Ramachandran <ramachandran.subramanian@alte-leipziger.de> wrote: > > Hello, > > > > we are running postgres V16 on Linux and when I try to run pg_verifybackup I get the following error. > > > > Does it mean that we have an incomplete installation ? > > > > I would be grateful for any pointers on how to resolve this issue. > > > > LG > > > Ram > > > > [postgres]$ pg_verifybackup /var/lib/pgsql/base_backup_dir/XXX/2026-02-16T11-52-27 > > pg_verifybackup: error: program "pg_waldump" is needed by pg_verifybackup but was not found in the same directory as "/usr/bin/pg_verifybackup" > > > > [postgres]$ type pg_verifybackup > > pg_verifybackup is hashed (/bin/pg_verifybackup) > > [postgres]$ type pg_waldump > > -bash: type: pg_waldump: not found > Yes, pg_waldump is missing, which suggests an incomplete installation. For the time being, you can bypass this error by using the --no-parse-wal option in pg_verifybackup to skip WAL verification, but it’s better to install pg_waldump for the complete verification. Regards, Amul