Hi,
I had no recovery.conf on this server because I launch my replication every night I need a H-24 copy database. This is my recovery.conf root@p2prddnmdbc:/var/lib/postgresql# cat recovery.conf standby_mode = 'off' primary_conninfo = 'host=10.10.11.1 port=5432 user=replicator password=XXXXXX' trigger_file = '/var/lib/postgresql/9.1/main/trigger' restore_command = 'cp /mnt/p2prddnmdbm_pg_xlog/%f %p' root@p2prddnmdbc:/var/lib/postgresql# But with or without a recovery.conf file I can't start the database service : root@p2prddnmdbc:/var/lib/postgresql# /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-14 08:02:59 CEST LOG: database system was interrupted; last known up at 2015-07-13 23:33:46 CEST 2015-07-14 08:02:59 CEST LOG: invalid checkpoint record 2015-07-14 08:02:59 CEST FATAL: could not locate required checkpoint record 2015-07-14 08:02:59 CEST HINT: If you are not restoring from a backup, try removing the file "/var/lib/postgresql/9.3/main/backup_label". 2015-07-14 08:02:59 CEST LOG: startup process (PID 24617) exited with exit co[FAIL2015-07-14 08:02:59 CEST LOG: aborting startup due to startup process failure ... failed! failed! Thanks Matthieu Le 12/07/15 13:46, Guillaume Lelarge a écrit :
|