Re: error when upgrading 9.4 to 9.5 manually

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error when upgrading 9.4 to 9.5 manually
Дата
Msg-id 23242.1468169547@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: error when upgrading 9.4 to 9.5 manually  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Список pgsql-general
arnaud gaboury <arnaud.gaboury@gmail.com> writes:
> Ok. With the data from my 9-4, i.e /db/pgsql/data, and with
> postgresql.service stopped.
>  # 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

> *failure*
> Consult the last few lines of "pg_upgrade_server.log" for
> the probable cause of the failure.

> 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

> As you can see, postgres can't find the socket

You're jumping to a conclusion not supported by this evidence;
we can't tell whether the postmaster started at all.  Did you
look into pg_upgrade_server.log as suggested?

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: arnaud gaboury
Дата:
Сообщение: Re: error when upgrading 9.4 to 9.5 manually
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: error when upgrading 9.4 to 9.5 manually