Re: Error while upgrading from 8.4 to 9.3

From: Leonardo M(dot) Ramé <l(dot)rame(at)griensu(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Claudio Biasatti <c(dot)biasatti(at)griensu(dot)com>, PostgreSql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error while upgrading from 8.4 to 9.3
Date: 2014-05-28 15:05:54
Message-ID: 20140528150554.GB4355@leonardo-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2014-05-28 07:39:33 -0700, Adrian Klaver wrote:
> On 05/28/2014 07:24 AM, Claudio Biasatti wrote:
> >with check
> >
> >/usr/lib/postgresql/9.3/bin/pg_upgrade --check -b
> >/usr/lib/postgresql/8.4/bin/ -B /usr/lib/postgresql/9.3/bin/ -d
> >/mnt/datos/ -D /mnt/datos/datos_9.3/main/ -o ' -c
> >config_file=/etc/postgresql/8.4/main/postgresql.conf' -O ' -c
> >config_file=/etc/postgresql/9.3/main/postgresql.conf'
> >
> >
> >without check
> >
> >/usr/lib/postgresql/9.3/bin/pg_upgrade -b /usr/lib/postgresql/8.4/bin/
> >-B /usr/lib/postgresql/9.3/bin/ -d /mnt/datos/ -D
> >/mnt/datos/datos_9.3/main/ -o ' -c
> >config_file=/etc/postgresql/8.4/main/postgresql.conf' -O ' -c
> >config_file=/etc/postgresql/9.3/main/postgresql.conf'
> >
> >
>
> So what are the port numbers in the conf files.
>
> I have not used that option, but is there a chance you are double
> starting the servers?
>
> Starting an instance for each using the port numbers from the conf
> files and then pg_upgrade is starting them on 50432.
>
>

Sorry guys, one of the in-site tech support guys started the postgresql
service while we were trying to do the upgrade. Looks like this was the
cause of the failure.

Regards,

--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 (011) 40871877

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2014-05-28 15:15:27 Re: Error while upgrading from 8.4 to 9.3
Previous Message Adrian Klaver 2014-05-28 14:39:33 Re: Error while upgrading from 8.4 to 9.3