| From: | Haribabu kommi <haribabu(dot)kommi(at)huawei(dot)com> |
|---|---|
| To: | "ascot(dot)moss(at)gmail(dot)com" <ascot(dot)moss(at)gmail(dot)com> |
| Cc: | PostgreSQL general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: psql: FATAL: the database system is starting up |
| Date: | 2013-08-06 10:52:52 |
| Message-ID: | 8977CB36860C5843884E0A18D8747B036B98993E@szxeml558-mbs.china.huawei.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | KONDO Mitsumasa | 2013-08-06 11:10:14 | Re: [HACKERS] Bottlenecks with large number of relation segment files |
| Previous Message | ascot.moss@gmail.com | 2013-08-06 10:42:35 | psql: FATAL: the database system is starting up |