pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
JRV    problem with pg_upgrade
2+ messages / 2 participants
[nested] [flat]

* JRV    problem with pg_upgrade
@ 2013-03-25 15:19  RAVALET Jacques <jacques.ravalet@prestataire.finances.gouv.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: RAVALET Jacques @ 2013-03-25 15:19 UTC (permalink / raw)
  To: pgsql-bugs; +Cc: jacques.ravalet@steria.com

 

Hello,

I'am a database administrateur and I get trouble to upgrade database postgres
from 8.4.6 to 9.2.3.

 

During pg_upgrade,  I can't start the old cluster with  parameter -c
listen_addresses=''

 

This syntax work to start the old cluster and to access to the database

"/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l
"pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data"
-o "-p 50432 -c autovacuum=off 

-c autovacuum_freeze_max_age=2000000000 -c listen_addresses='*' -c
unix_socket_permissions=0700" start

 

This syntax doesn't work to start the old cluster

"/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l
"pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data"
-o "-p 50432 -c autovacuum=off 

-c autovacuum_freeze_max_age=2000000000 -c listen_addresses='' -c
unix_socket_permissions=0700" start

 

But pg_upgrade use this "bad" syntax even I try to force -c
listen_addresses='*'

 

pg_upgrade -c -d /distrib/postgresql/data/chorus_formulaires/data -D
/distrib/postgresql/data/chorus_formulaires/data/9.2.3 -b
/distrib/postgresql/app/chfdba/produit/8.4.6/bin -B
/distrib/postgresql/app/chfdba/produit/9.2.3/bin -o "-c listen_addresses='*'"

 

more pg_upgrade_server.log

could not connect to old postmaster started with the command:

"/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l
"pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data"
-o "-p 50432 -c autovacuum=off -c autovacuum_freeze_max_age=2000000000 

-c listen_addresses='*' -c listen_addresses='' -c
unix_socket_permissions=0700" start

Failure, exiting

 

I don't know how to workaround this problem ?

 

Best regards,

 

Jacques ravalet

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

* Re: JRV    problem with pg_upgrade
@ 2013-03-26 17:20  Bruce Momjian <bruce@momjian.us>
  parent: RAVALET Jacques <jacques.ravalet@prestataire.finances.gouv.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2013-03-26 17:20 UTC (permalink / raw)
  To: RAVALET Jacques <jacques.ravalet@prestataire.finances.gouv.fr>; +Cc: pgsql-bugs; jacques.ravalet@steria.com


Please run pg_ctl manually on the failed cluster and get the error
message reported, or find out how to make it work successfully.

---------------------------------------------------------------------------

On Mon, Mar 25, 2013 at 04:19:48PM +0100, RAVALET Jacques wrote:
>  
> 
> Hello,
> 
> I'am a database administrateur and I get trouble to upgrade database postgres
> from 8.4.6 to 9.2.3.
> 
>  
> 
> During pg_upgrade,  I can't start the old cluster with  parameter -c
> listen_addresses=''
> 
>  
> 
> This syntax work to start the old cluster and to access to the database
> 
> "/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l
> "pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data"
> -o "-p 50432 -c autovacuum=off
> 
> -c autovacuum_freeze_max_age=2000000000 -c listen_addresses='*' -c
> unix_socket_permissions=0700" start
> 
>  
> 
> This syntax doesn't work to start the old cluster
> 
> "/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l
> "pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data"
> -o "-p 50432 -c autovacuum=off
> 
> -c autovacuum_freeze_max_age=2000000000 -c listen_addresses='' -c
> unix_socket_permissions=0700" start
> 
>  
> 
> But pg_upgrade use this "bad" syntax even I try to force -c listen_addresses=
> '*'
> 
>  
> 
> pg_upgrade -c -d /distrib/postgresql/data/chorus_formulaires/data -D /distrib/
> postgresql/data/chorus_formulaires/data/9.2.3 -b /distrib/postgresql/app/chfdba
> /produit/8.4.6/bin -B /distrib/postgresql/app/chfdba/produit/9.2.3/bin -o "-c
> listen_addresses='*'"
> 
>  
> 
> more pg_upgrade_server.log
> 
> could not connect to old postmaster started with the command:
> 
> "/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l
> "pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data"
> -o "-p 50432 -c autovacuum=off -c autovacuum_freeze_max_age=2000000000
> 
> -c listen_addresses='*' -c listen_addresses='' -c unix_socket_permissions=0700"
> start
> 
> Failure, exiting
> 
>  
> 
> I don't know how to workaround this problem ?
> 
>  
> 
> Best regards,
> 
>  
> 
> Jacques ravalet
> 

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



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


end of thread, other threads:[~2013-03-26 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 15:19 JRV    problem with pg_upgrade RAVALET Jacques <jacques.ravalet@prestataire.finances.gouv.fr>
2013-03-26 17:20 ` Bruce Momjian <bruce@momjian.us>

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