pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michal <sitkey.michal@scheidt-bachmann.sk>
To: pgsql-general@postgresql.org
Subject: Upgrading from 9.2.15 to 9.4.20
Date: Fri, 18 Jan 2019 03:30:59 -0700 (MST)
Message-ID: <1547807459253-0.post@n3.nabble.com> (raw)

Im trying to upgrade PostgreSQL from 9.2.15 to 9.4.20
with this :
 /usr/pgsql-9.4/bin/pg_upgrade --old-bindir=/usr/bin
--new-bindir=/usr/pgsql-9.4/bin --old-datadir=/var/lib/pgsql/  data
--new-datadir=/var/lib/pgsql/9.4/data

Can anybody help me with this? I also try -p port parameter not helped. Both
databse instances are shut down.

that give me this output :

Performing Consistency Checks
-----------------------------
Checking cluster versions                                   ok

*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 "/run/postgresql/.s.PGSQL.50432"?


could not connect to old postmaster started with the command:
"/usr/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D "/var/lib/pgsql/data" -o
"-p 50432 -b  -c listen_addresses='' -c unix_so  cket_permissions=0700 -c
unix_socket_directory='/run/postgresql'" start
Failure, exiting




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html




view thread (4+ messages)  latest in thread

Message-ID: <1547807459253-0.post@n3.nabble.com>
Permalink:  ../1547807459253-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1547807459253-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: sitkey.michal@scheidt-bachmann.sk
  Subject: Re: Upgrading from 9.2.15 to 9.4.20
  In-Reply-To: <1547807459253-0.post@n3.nabble.com>
  References: <1547807459253-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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