pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ascot.moss@gmail.com <ascot.moss@gmail.com>
To: Haribabu kommi <haribabu.kommi@huawei.com>
Cc: ascot.moss@gmail.com <ascot.moss@gmail.com>
Cc: PostgreSQL general <pgsql-general@postgresql.org>
Subject: Re: psql: FATAL:  the database system is starting up
Date: Tue, 6 Aug 2013 19:16:51 +0800
Message-ID: <E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com> (raw)
In-Reply-To: <8977CB36860C5843884E0A18D8747B036B98993E@szxeml558-mbs.china.huawei.com>
References: <CANkGpBt8agjCS+__CceCKBHBNTEfFsmg5jnFd8MianQh0c0MMA@mail.gmail.com>
	<CABUevEzPFi4TnaA0QyaBxbPgKUio5+cjeFzARY05+AOOd+7-0Q@mail.gmail.com>
	<CANkGpBv4c8neu4Uk3=j1aHD4xn+NFK0XNREfi3D-mj46vwEUGg@mail.gmail.com>
	<CANkGpBuHoUj0cuJ-dO8A7vweP41X28g-WqXVgyhrp72X2VjVAg@mail.gmail.com>
	<CA+HiwqFhukXr-GyNZiUgPJP=5Fobsa2UTgeC=p4=sA8r4hW+eA@mail.gmail.com>
	<CANkGpBuWaVQ5hMtod087VsgLsvbiCXOm9T1RDOiPdSsZH1Mfvw@mail.gmail.com>
	<CAMkU=1xG2zL2w-rjKceP8yM24A_jNtW-9LobHPKS-mrpdxfBDQ@mail.gmail.com>
	<8810.1375247630@sss.pgh.pa.us>
	<2EB17B60-33A2-4855-A176-0E8DD16ED7E1@gmail.com>
	<10906.1375273486@sss.pgh.pa.us>
	<CANkGpBvMd9pzJE_nPFAyH9M_SfC3XFaE6ukprwhvCxQ52iT3_Q@mail.gmail.com>
	<A33DFF2A-FFA8-47AF-9487-872C6F842776@gmail.com>
	<57DC0F7E-C959-462D-874F-3EEA49702EC8@gmail.com>
	<11FDD81A-072D-49DC-9B31-6023E5593023@gmail.com>
	<3F584181-EF85-4040-886E-0B1EB3257794@gmail.com>
	<8977CB36860C5843884E0A18D8747B036B98993E@szxeml558-mbs.china.huawei.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
> 



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (40+ messages)  latest in thread

Message-ID: <E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com>
Permalink:  ../E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com/
Also on:    postgresql.org/message-id/E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ascot.moss@gmail.com, haribabu.kommi@huawei.com
  Subject: Re: psql: FATAL:  the database system is starting up
  In-Reply-To: <E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com>
  References: <CANkGpBt8agjCS+__CceCKBHBNTEfFsmg5jnFd8MianQh0c0MMA@mail.gmail.com> <CABUevEzPFi4TnaA0QyaBxbPgKUio5+cjeFzARY05+AOOd+7-0Q@mail.gmail.com> <CANkGpBv4c8neu4Uk3=j1aHD4xn+NFK0XNREfi3D-mj46vwEUGg@mail.gmail.com> <CANkGpBuHoUj0cuJ-dO8A7vweP41X28g-WqXVgyhrp72X2VjVAg@mail.gmail.com> <CA+HiwqFhukXr-GyNZiUgPJP=5Fobsa2UTgeC=p4=sA8r4hW+eA@mail.gmail.com> <CANkGpBuWaVQ5hMtod087VsgLsvbiCXOm9T1RDOiPdSsZH1Mfvw@mail.gmail.com> <CAMkU=1xG2zL2w-rjKceP8yM24A_jNtW-9LobHPKS-mrpdxfBDQ@mail.gmail.com> <8810.1375247630@sss.pgh.pa.us> <2EB17B60-33A2-4855-A176-0E8DD16ED7E1@gmail.com> <10906.1375273486@sss.pgh.pa.us> <CANkGpBvMd9pzJE_nPFAyH9M_SfC3XFaE6ukprwhvCxQ52iT3_Q@mail.gmail.com> <A33DFF2A-FFA8-47AF-9487-872C6F842776@gmail.com> <57DC0F7E-C959-462D-874F-3EEA49702EC8@gmail.com> <11FDD81A-072D-49DC-9B31-6023E5593023@gmail.com> <3F584181-EF85-4040-886E-0B1EB3257794@gmail.com> <8977CB36860C5843884E0A18D8747B036B98993E@szxeml558-mbs.china.huawei.com> <E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox