Unable to bootstrap standby server - Mailing list pgsql-novice

From Stuart Nadin
Subject Unable to bootstrap standby server
Date
Msg-id D4A0D931EFEC2A42B19ADBD8ADE714184872C9D9@CIS-LEA-EXC-P.cisilion.com
Whole thread Raw
List pgsql-novice

Hello.

 

I’m trying to setup an HA installation using PostgreSQL v9.3.  The operating system is Windows Server 2008 R2.  I’ve configured the primary server to archive the WAL files to a directory on the standby server.  I’ve made a Base Backup of the primary and copied it to the Standby server.  I’ve created a recovery.conf file as shown below:

 

standby_mode = 'on'

restore_command = 'copy c:\pg_archive\%f %p'

archive_cleanup_command = 'pg_archivecleanup c:\pg_archive %r'

 

 

The postgresql-x64-9.3 service will not start.  Pg_log contains the following:

 

2014-09-03 16:00:18 BST LOG:  database system was shut down in recovery at 2014-09-03 15:59:32 BST

2014-09-03 16:00:18 BST LOG:  entering standby mode

2014-09-03 16:00:18 BST FATAL:  the database system is starting up

2014-09-03 16:00:19 BST FATAL:  the database system is starting up

2014-09-03 16:00:19 BST FATAL:  the database system is starting up

2014-09-03 16:00:19 BST FATAL:  the database system is starting up

 

The Windows Event Log shows the following errors:

 

2014-09-03 15:56:29 BST WARNING:  could not create listen socket for "*"

2014-09-03 15:56:29 BST FATAL:  could not create any TCP/IP sockets

 

 

Has anyone managed to get this to work on Windows?

 

Regards,

 

Stuart Nadin

pgsql-novice by date:

Previous
From: mkohls
Date:
Subject: Re: C partition management
Next
From: "Luiz Matsumura"
Date:
Subject: Re: Join three tables and specify criteria... I know this should be easy!