Re: pg_upgrade

From: Ian Harding <harding(dot)ian(at)gmail(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Ian Lawrence Barwick <barwick(at)gmail(dot)com>, General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade
Date: 2013-02-15 17:45:16
Message-ID: CAMR4UwFhYOrs=O5nVqdKjMXcigJKfEEy5CuD3aRXuO9zphmGbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-----------------------------------------------------------------
pg_upgrade run on Fri Feb 15 05:09:34 2013
-----------------------------------------------------------------

command: "/usr/lib/postgresql/8.4/bin/pg_ctl" -w -l "pg_upgrade_server.log"
-D "/var/lib/postgresql/8.4/main/" -o "-p 50432 -c autovacuum=off -c
autovacuum_freeze_max_age=2000000000 -c listen_addresses='' -c
unix_socket_permissions=0700" start >> "pg_upgrade_server.log" 2>&1
waiting for server to
start...............................................................could
not start server

The funny thing is, the server starts instantly.

On Fri, Feb 15, 2013 at 9:19 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:

> On Fri, Feb 15, 2013 at 4:54 AM, Ian Harding <harding(dot)ian(at)gmail(dot)com>
> wrote:
> > I don't think it would get any further... It fails and --retain says
> > "Retain sql and log files after success" I can look at that log file and
> > all it indicates is failure to start the server.
> >
> > Maybe I should rephrase the question: pg_ctl returns failure, even
> though
> > it starts the server, when run with the -w flag.
>
> How long does the server take to start?
>
> If it takes the server more than 1 minute to start, then what you
> describe is expected.
>
> Cheers,
>
> Jeff
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Denis Papathanasiou 2013-02-15 17:55:50
Previous Message Claire McLister 2013-02-15 17:25:08 could not link file "pg_xlog/xlogtemp.72606"