Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V6fGA-0001wJ-Gl for pgsql-general@arkaria.postgresql.org; Tue, 06 Aug 2013 11:17:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V6fG9-0000aq-MP for pgsql-general@arkaria.postgresql.org; Tue, 06 Aug 2013 11:17:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V6fG8-0000ah-4L for pgsql-general@postgresql.org; Tue, 06 Aug 2013 11:17:00 +0000 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V6fG5-0007HA-1v for pgsql-general@postgresql.org; Tue, 06 Aug 2013 11:16:59 +0000 Received: by mail-pd0-f178.google.com with SMTP id w10so218438pde.37 for ; Tue, 06 Aug 2013 04:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wCr/8N4CXc4nzZdj2p5sT/Sbfh13O8HQT0dUkjmKJmo=; b=y9dtWYrytfUO3YULCtioEdkcGiN0EYsDo+bLN+Tnq4mlVcNuxE23Kr5n+uGJre+usH 89yFqpBB2/fzQavqJSqgVWgsD031duyQa3ayIi+90Gj+c87+5xTDKEH9YaYIUJHMnuWI yh4c2Vbt8fA3hDMFU+433sYyC1DWNlh2MULJk7LUpmqaa1kcBoPrJHfT6cfDeumfts8N yTta7AVm6YkRpSg8jJ5g+I3O7fHK+aCUSsb2IGx4oavd+lFIHZcLL+KFf7AFuJGzSnm1 1OjI4WQz/BtSGNRTYg3ZfRaqldhCne85FawtVAm4YxvLmS0ZJ5pd6+F1lJ+cDOPMrrdO Tznw== X-Received: by 10.66.171.77 with SMTP id as13mr2555604pac.170.1375787815341; Tue, 06 Aug 2013 04:16:55 -0700 (PDT) Received: from [192.168.0.102] (014136185055.ctinets.com. [14.136.185.55]) by mx.google.com with ESMTPSA id jf4sm1406241pbb.19.2013.08.06.04.16.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 04:16:54 -0700 (PDT) Subject: Re: psql: FATAL: the database system is starting up Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: "ascot.moss@gmail.com" In-Reply-To: <8977CB36860C5843884E0A18D8747B036B98993E@szxeml558-mbs.china.huawei.com> Date: Tue, 6 Aug 2013 19:16:51 +0800 Cc: "ascot.moss@gmail.com" , PostgreSQL general Content-Transfer-Encoding: quoted-printable Message-Id: References: <8810.1375247630@sss.pgh.pa.us> <2EB17B60-33A2-4855-A176-0E8DD16ED7E1@gmail.com> <10906.1375273486@sss.pgh.pa.us> <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> To: Haribabu kommi X-Mailer: Apple Mail (2.1085) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Thanks, there was a typo of the line "hot_standby", it works now, thanks ag= ain. On 6 Aug 2013, at 6:52 PM, Haribabu kommi wrote: >=20 > On 06 August 2013 16:13 ascot.moss wrote >> Hi, >=20 >> 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 databa= se system is starting up" from it. >=20 >> PG: 9.2.4 >=20 >> Below is the log from the the slave:=20 >> 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 >=20 >> I am new to PG replication, please help. >=20 > There is a configuration parameter "hot_standby" is set as on or not? > This allows the queries during recovery. >=20 > Regards, > Hari babu. >=20 --=20 Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general