Hot standby won't start

Поиск
Список
Период
Сортировка
От Brandon Phelps
Тема Hot standby won't start
Дата
Msg-id 4E931D94.60809@gls.com
обсуждение исходный текст
Ответы Re: Hot standby won't start
Список pgsql-general
Hello all,

I have written a script which stops postgres on my standby server, executes pg_start_backup on the master, rsync's the
datadirectory and tablespaces over to the standby, executes pg_stop_backup on the master, and attempts to then start
postgresqlon the standby.  My problem is the following error when I try to start postgresql on the standby: 

  * Starting PostgreSQL 9.1 database server
  * The PostgreSQL server failed to start. Please check the log output:
2011-10-10 12:25:21 EDT LOG:  database system was shut down at 2011-10-10 12:25:18 EDT
2011-10-10 12:25:21 EDT LOG:  entering standby mode
2011-10-10 12:25:21 EDT LOG:  streaming replication successfully connected to primary
2011-10-10 12:25:21 EDT LOG:  incomplete startup packet
2011-10-10 12:25:21 EDT WARNING:  WAL was generated with wal_level=minimal, data may be missing
2011-10-10 12:25:21 EDT HINT:  This happens if you temporarily set wal_level=minimal without taking a new base backup.
2011-10-10 12:25:21 EDT FATAL:  hot standby is not possible because wal_level was not set to "hot_standby" on the
masterserver 
2011-10-10 12:25:21 EDT HINT:  Either set wal_level to "hot_standby" on the master, or turn off hot_standby here.
2011-10-10 12:25:21 EDT LOG:  startup process (PID 20370) exited with exit code 1
2011-10-10 12:25:21 EDT LOG:  aborting startup due to startup process failure

I have tried running pg_resetxlog on both servers, and have verified that pg_hba.conf contains my replication user.  I
havealso verified that the password I am supplying in my recovery.conf is correct. 

Any ideas why I would get this message?  I know that wal_level = hot_standby on the master and the slave.

Thanks,
Brandon

В списке pgsql-general по дате отправления:

Предыдущее
От: Bosco Rama
Дата:
Сообщение: Re: select vs cursor/fetch speed disparity
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Hot standby won't start