Re: psql: FATAL: the database system is starting up

From: "ascot(dot)moss(at)gmail(dot)com" <ascot(dot)moss(at)gmail(dot)com>
To: Haribabu kommi <haribabu(dot)kommi(at)huawei(dot)com>
Cc: "ascot(dot)moss(at)gmail(dot)com" <ascot(dot)moss(at)gmail(dot)com>, PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql: FATAL: the database system is starting up
Date: 2013-08-06 11:16:51
Message-ID: E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 but got "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.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Florian Weimer 2013-08-06 11:19:55 Re: Bottlenecks with large number of relation segment files
Previous Message KONDO Mitsumasa 2013-08-06 11:10:14 Re: [HACKERS] Bottlenecks with large number of relation segment files