postgresql error PANIC: could not locate a valid checkpoint record

前端 未结 5 1593
感情败类
感情败类 2020-12-07 18:23

When I load up the postgres server (v9.0.1) i get a panic that prevents it from starting:

PANIC: could not locate a valid checkpoint record

5条回答
  •  生来不讨喜
    2020-12-07 18:58

    I'm running 9.1.7 and i find ran the following successfully:

    /usr/lib/postgresql/9.1/bin/pg_resetxlog -f /var/lib/postgresql/9.1/main
    

    Your final argument to the pg_resetxlog command should be the location on disk where postgres stores your database data.

提交回复
热议问题