Thanks, there was a typo of the line "hot_standby", it works now, thanks again.
On 6 Aug 2013, at 6:52 PM, Haribabu kommi wrote:
>
> On 06 August 2013 16:13 ascot.moss wrote
>> Hi,
>
>> I just setup the replication in the slave again, when trying to use psql, I could not get the psql command prompt
butgot "psql: FATAL: the database system is starting up" from it.
>
>> PG: 9.2.4
>
>> Below is the log from the the slave:
>> LOG: database system was shut down in recovery at 2013-08-06 18:34:44
>> LOG: entering standby mode
>> LOG: consistent recovery state reached at 1C/9A0F9CF0
>> LOG: record with zero length at 1C/9A0F9CF0
>> LOG: streaming replication successfully connected to primary
>> FATAL: the database system is starting up
>
>> I am new to PG replication, please help.
>
> There is a configuration parameter "hot_standby" is set as on or not?
> This allows the queries during recovery.
>
> Regards,
> Hari babu.
>