Re: PostgreSQL Service Unable to Start After Archive Log delete

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: loganathan P <plogandba(at)gmail(dot)com>, Justin <zzzzz(dot)graf(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Cc: Oli Sennhauser <oli(dot)sennhauser(at)fromdual(dot)com>
Subject: Re: PostgreSQL Service Unable to Start After Archive Log delete
Date: 2026-09-10 21:21:48
Message-ID: 646373198c53bc02e47ece9836494acf0b0caa04.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2026-09-11 at 01:59 +0530, loganathan P wrote:
> As per the provided link, the pg_resetwal command was executed successfully, and the services
> have been started. However, a rollback transaction error is appearing in the Tomcat catalina.out logs.

That's because pg_resetwal has the side effect of corrupting your database.
It is *not* a tool to fix database corruption.
It is a tool to get a corrupted server to somehow start so that you can
more easily salvage those data that can be salvaged.

Restore your backup.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2026-09-10 21:26:03 Re: PostgreSQL Service Unable to Start After Archive Log delete
Previous Message Justin 2026-09-10 20:56:21 Re: PostgreSQL Service Unable to Start After Archive Log delete