Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4EAE2A684DD for ; Mon, 21 May 2012 07:46:06 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SWQ7p-0003hj-2E for pgsql-bugs@postgresql.org; Mon, 21 May 2012 10:46:05 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SWQ7b-0004Pp-DS for pgsql-bugs@postgresql.org; Mon, 21 May 2012 10:45:52 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SWQ7a-0002Hj-Ex for pgsql-bugs@postgresql.org; Mon, 21 May 2012 10:45:50 +0000 Date: Mon, 21 May 2012 10:45:50 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6653: Service does not start in standby-mode To: pgsql-bugs@postgresql.org From: axw-sk@ipa.fhg.de X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/122 X-Sequence-Number: 33093 The following bug has been logged on the website: Bug reference: 6653 Logged by: Sebastian K. Email address: axw-sk@ipa.fhg.de PostgreSQL version: 9.0.7 Operating system: Windows 7 i386 Description: = I want to set up a standby server for backup. The server has a new installation of postgresql. recovery.conf: restore_command =3D 'copy "c:\\Users\\Administrator\\Desktop\\%f" "%p"' standby_mode =3D 'on' The files of the base backup are placed on the Desktop of the standby server. Additionally, the files are already copied to the pg_xlog directory. Problem: Placing the recovery.conf file in the data directory prevents the postgres service to start. Windows-Error-Log: Starting service timeout. PG-Log: 2012-05-21 12:38:38 CEST LOG: Datenbanksystem wurde w=C3=A4hrend der Wiederherstellung am 2012-05-21 12:34:21 CEST heruntergefahren 2012-05-21 12:38:38 CEST LOG: Standby-Modus eingeschaltet 2012-05-21 12:38:38 CEST FATAL: das Datenbanksystem startet 2012-05-21 12:38:38 CEST WARNUNG: WAL wurde mit wal_level=3Dminimal erzeug= t, eventuell fehlen Daten 2012-05-21 12:38:38 CEST TIPP: Das passiert, wenn vor=C3=BCbergehend wal_level=3Dminimal gesetzt wurde, ohne ein neues Base-Backup zu erzeugen. 2012-05-21 12:38:38 CEST LOG: konsistenter Wiederherstellungszustand erreicht bei 0/15FBB78 2012-05-21 12:38:38 CEST LOG: Datensatz mit L=C3=A4nge null bei 0/15FBB78 2012-05-21 12:38:39 CEST FATAL: das Datenbanksystem startet 2012-05-21 12:38:40 CEST FATAL: das Datenbanksystem startet 2012-05-21 12:38:41 CEST FATAL: das Datenbanksystem startet 2012-05-21 12:38:42 CEST FATAL: das Datenbanksystem startet 2012-05-21 12:38:43 CEST FATAL: das Datenbanksystem startet 2012-05-21 12:38:44 CEST FATAL: das Datenbanksystem startet The base backup was created with following settings in postgresql.conf: wal_level =3D archive archive_mode =3D on archive_command =3D 'copy....