From: | arnaud gaboury <arnaud(dot)gaboury(at)gmail(dot)com> |
---|---|
To: | |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Broken after upgrade |
Date: | 2016-07-07 08:01:41 |
Message-ID: | CAK1hC9tPJV=1DHbfM9=hVu3tHtOMdVCvf-CayeYvYqiccsYhdw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jul 7, 2016 at 1:00 AM, José María Terry Jiménez
<jtj(at)tssystems(dot)net> wrote:
> El 7/7/16 a las 0:14, Devrim Gündüz escribió:
>
>> Hi,
>>
>> Fedora packages have an executable (not sure about its name, but check a
>> package called postgresql-upgrade or so). That will help you to finish the
>> upgrade process.
>>
>> Regards, Devrim
>>
> Hello
>
> Yes, the package is called postgresql-upgrade, and you can read detailed
> instructions in /usr/share/doc/postgresql
>
> In Fedora 22 (the machine i can check now) the document is called
> README.rpm-dist in that directory
>
> Hope helps you
I effectively found the postgresql-update tool. But when running it, I
get an error:
# postgresql-setup --upgrade
* Upgrading database.
ERROR: pg_upgrade tool failed
ERROR: Upgrade failed.
* See /var/lib/pgsql/upgrade_postgresql.log for details.
# cat /var/lib/pgsql/upgrade_postgresql.log
-----------------------------------------------------------------
connection to database failed: could not connect to server: No such
file or directory
Is the server running locally and accepting
connections on Unix domain socket "/home/postgres/.s.PGSQL.5432"?
could not connect to old postmaster started with the command:
"/usr/lib64/pgsql/postgresql-9.4/bin/pg_ctl" -w -l
"pg_upgrade_server.log" -D "/db/pgsql/data-old" -o "-p 5432 -b -c
listen_addresses='' -c unix_socket_permissions=0700 -c
unix_socket_directories='/home/postgres'" start
Failure, exiting
--------------------------------------------------
My data dir is in fact /db/pgsql/data. I do not know why it is looking
for data-old.
I will investigate this way.
>
> Best
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
--
From | Date | Subject | |
---|---|---|---|
Next Message | Ivan Bianchi | 2016-07-07 09:16:59 | Re: Update statement results in Out of memory |
Previous Message | Silk Parrot | 2016-07-07 06:56:20 | Best way to insert a row with two columns having the value based on the same argument generated by another postgres function. |