pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Warm standby Service doesn't startup
3+ messages / 2 participants
[nested] [flat]

* Warm standby Service doesn't startup
@ 2011-09-06 12:12  Al-Salami, Adel <saa@klinkhammer.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Al-Salami, Adel @ 2011-09-06 12:12 UTC (permalink / raw)
  To: pgsql-admin



Hello everybody,

am new to postgre, and I hope I finde som help in this mailing list.
I have created a warm standby successfully, everything work fine also the applying of the archive from primary, my problem is that the Service under windows 2008r2 doesn't start if the standby is running (I get a start service timeout).
If I use the pg_ctl start -D D:\<my data> it will succeed however the windows service wont start.
Using the net start to the start the service will hang and the log file keeps on writing;

2011-09-06 13:52:57 CEST FATAL:  the database system is starting up

Is it normal that the Warm Standby doesn't let the service to start under windows?
Am not sure to go live with this standby as I cannot start the service.

Any help will be highly appreciated.

Adel

________________________________
A. Klinkhammer F?rderanlagen Kreative Lager- und Produktionslogistik GmbH
Sitz der Gesellschaft: N?rnberg * Registergericht: Amtsgericht N?rnberg, HRB 15958
Gesch?ftsf?hrer: Frank Klinkhammer, Gerald Schulz
USt ID: DE 198 660 907 * Steuer Nr.: 241/115/83087

Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Warm standby Service doesn't startup
@ 2011-09-06 12:40  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: Al-Salami, Adel <saa@klinkhammer.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Devrim GÜNDÜZ @ 2011-09-06 12:40 UTC (permalink / raw)
  To: Al-Salami, Adel <saa@klinkhammer.com>; +Cc: pgsql-admin

On Tue, 2011-09-06 at 14:12 +0200, Al-Salami, Adel wrote:
> I have created a warm standby successfully, everything work fine also
> the applying of the archive from primary, my problem is that the
> Service under windows 2008r2 doesn't start if the standby is running
> (I get a start service timeout).
> If I use the pg_ctl start -D D:\<my data> it will succeed however the
> windows service wont start.
> Using the net start to the start the service will hang and the log
> file keeps on writing;
> 
> 2011-09-06 13:52:57 CEST FATAL:  the database system is starting up
> 
> Is it normal that the Warm Standby doesn't let the service to start
> under windows?
> Am not sure to go live with this standby as I cannot start the
> service. 

*Warm* standby servers don't accept connections / queries, so the
message above is quite ok. If you move to PostgreSQL 9.0+, there is "hot
standby" option, which lets you run read-only queries on standby server.

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Warm standby Service doesn't startup
@ 2011-09-06 13:25  Al-Salami, Adel <saa@klinkhammer.com>
  parent: Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Al-Salami, Adel @ 2011-09-06 13:25 UTC (permalink / raw)
  To: Devrim GÜNDÜZ <devrim@gunduz.org>; +Cc: pgsql-admin



Thanks alot.



-----Ursprüngliche Nachricht-----
Von: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] Im Auftrag von Devrim GÜNDÜZ
Gesendet: Dienstag, 6. September 2011 14:40
An: Al-Salami, Adel
Cc: pgsql-admin@postgresql.org
Betreff: Re: [ADMIN] Warm standby Service doesn't startup

On Tue, 2011-09-06 at 14:12 +0200, Al-Salami, Adel wrote:
> I have created a warm standby successfully, everything work fine also
> the applying of the archive from primary, my problem is that the
> Service under windows 2008r2 doesn't start if the standby is running
> (I get a start service timeout).
> If I use the pg_ctl start -D D:\<my data> it will succeed however the
> windows service wont start.
> Using the net start to the start the service will hang and the log
> file keeps on writing;
>
> 2011-09-06 13:52:57 CEST FATAL:  the database system is starting up
>
> Is it normal that the Warm Standby doesn't let the service to start
> under windows?
> Am not sure to go live with this standby as I cannot start the
> service.

*Warm* standby servers don't accept connections / queries, so the message above is quite ok. If you move to PostgreSQL 9.0+, there is "hot standby" option, which lets you run read-only queries on standby server.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

A. Klinkhammer Förderanlagen Kreative Lager- und Produktionslogistik GmbH
Sitz der Gesellschaft:  Nürnberg • Registergericht: Amtsgericht Nürnberg, HRB 15958
Geschäftsführer: Frank Klinkhammer, Gerald Schulz
USt ID: DE 198 660 907 • Steuer Nr.: 241/115/83087

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-09-06 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 12:12 Warm standby Service doesn't startup Al-Salami, Adel <saa@klinkhammer.com>
2011-09-06 12:40 ` Devrim GÜNDÜZ <devrim@gunduz.org>
2011-09-06 13:25   ` Al-Salami, Adel <saa@klinkhammer.com>

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