PANIC: could not locate a valid checkpoint record (postgresql log)

Did su - postgress then /usr/pgsql-9.2/bin/pg_resetxlog -f /var/lib/pgsql/9.2/data/

https://bahmni.atlassian.net/wiki/spaces/BAH/pages/33128505/Install+Bahmni+on+CentOS needs update that not all log files are in /var/log postgresql log files are in /var/lib/pgsql/9.2/data/pg_log/

But still could not start pgsql now the log file shows INFO: archive-get command end: aborted with exception [119] WARNING: WAL was generated with wal_level=minimal, data may be missing HINT: This happens if you temporarily set wal_level=minimal without taking a new base backup. FATAL: hot standby is not possible because wal_level was not set to “hot_standby” on the master server HINT: Either set wal_level to “hot_standby” on the master, or turn off hot_standby here. LOG: startup process (PID 5889) exited with exit code 1 LOG: aborting startup due to startup process failure