Hi thank for your reply
My target is to give a database for buisness testing query and they are modify the database during the buisness day. Now I got this error if I keep the file backup_label : root@p2prddnmdbc:/var/lib/postgresql/9.3/main# /etc/init.d/postgresql start [....] Starting PostgreSQL 9.3 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2015-07-12 10:12:45 CEST LOG: database system was shut down at 2015-07-12 10:07:10 CEST 2015-07-12 10:12:45 CEST LOG: invalid checkpoint record 2015-07-12 10:12:45 CEST FATAL: could not locate required checkpoint record 2015-07-12 10:12:45 CEST HINT: If you are not restoring from a backup, try removing the file "/var/lib/postgresql/9.3/main/backup_label". 2015-07-12 10:12:45 CEST LOG: startup process (PID 28492) exited with exit code 1 2015-07-12 10:12:45 CEST LOG: abo[FAIL startup due to startup process failure ... failed! failed! If I put the recovery.conf the database is waiting for the wal to relaunch the replication. postgres 27817 0.7 0.9 631212 39892 ? S 09:55 0:00 /usr/lib/postgresql/9.3/bin/postgres -D /var/lib/postgresql/9.3/main postgres 27818 0.0 0.0 631472 2076 ? Ss 09:55 0:00 \_ postgres: startup process waiting for 0000000100000178000000B9 root@p2prddnmdbc:/var/lib/postgresql/9.3/main# su - postgres postgres@p2prddnmdbc:~$ psql energycomm psql: FATAL: the database system is starting up Have you got an idea to stop the replication process and start the database ? Kind regards Matthieu Le 10/07/15 16:46, Keith a écrit :
|