pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Need to fix one more glitch in upgrade to -10.2
Date: Sat, 17 Feb 2018 17:24:59 -0800
Message-ID: <4341ec30-4834-c31d-7cea-24a67497726d@aklaver.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1802171640070.19982@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.1802171424460.19982@salmo.appl-ecosys.com>
	<b9a2398b-9d62-97fb-2c4e-9b899bba5cd6@aklaver.com>
	<alpine.LNX.2.20.1802171551100.19982@salmo.appl-ecosys.com>
	<ac08305f-d664-4353-23f6-9e71be6babae@aklaver.com>
	<alpine.LNX.2.20.1802171640070.19982@salmo.appl-ecosys.com>

On 02/17/2018 04:44 PM, Rich Shepard wrote:
> On Sat, 17 Feb 2018, Adrian Klaver wrote:
> 
>> From a previous post:
>>
>> POSTGRES=/usr/lib${LIBDIRSUFFIX}/@PRGNAM@/$PG_VERSION/bin/postgres
>>
>> From here:
>>
>> http://slackbuilds.org/slackbuilds/14.1/system/postgresql/postgresql.SlackBuild 
>>
> 
>    The desktop runs 32-bit 14.2.
> 
>> You could also try using pg_ctl to start the server directly:
> 
>    postgres@salmo:~$ pg_ctl start -D /var/lib/pgsql/10.2/data/ waiting 
> for server to start....2018-02-17 16:43:18.344 PST [6761] LOG:  
> listening on IPv4 address "127.0.0.1", port 5432
> 2018-02-17 16:43:18.368 PST [6761] LOG:  listening on Unix socket 
> "/tmp/.s.PGSQL.5432"
> 2018-02-17 16:43:18.454 PST [6762] LOG:  database system was shut down 
> at 2018-02-17 15:53:32 PST
> 2018-02-17 16:43:18.487 PST [6761] LOG:  database system is ready to 
> accept connections
>   done
> server started
> postgres@salmo:~$ 2018-02-17 16:43:29.899 PST [6774] FATAL:  role 
> "rshepard" does not exist
> 2018-02-17 16:43:31.669 PST [6776] FATAL:  role "rshepard" does not exist
> 
>    So I guess I need to re-learn how to set roles and set one for me for 
> all
> databases I own. That's tomorrow morning. Will report results after doing
> that.

Got to thinking that given the issues with the upgrade I would be leery 
about the state of the new cluster as a whole. Might want to consider 
doing it over again or just use the pg_dumpall output to recreate the 
database(s).


> 
> Thanks, Adrian,
> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (22+ messages)  latest in thread

Message-ID: <4341ec30-4834-c31d-7cea-24a67497726d@aklaver.com>
Permalink:  ../4341ec30-4834-c31d-7cea-24a67497726d@aklaver.com/
Also on:    postgresql.org/message-id/4341ec30-4834-c31d-7cea-24a67497726d@aklaver.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: adrian.klaver@aklaver.com, rshepard@appl-ecosys.com
  Subject: Re: Need to fix one more glitch in upgrade to -10.2
  In-Reply-To: <4341ec30-4834-c31d-7cea-24a67497726d@aklaver.com>
  References: <alpine.LNX.2.20.1802171424460.19982@salmo.appl-ecosys.com> <b9a2398b-9d62-97fb-2c4e-9b899bba5cd6@aklaver.com> <alpine.LNX.2.20.1802171551100.19982@salmo.appl-ecosys.com> <ac08305f-d664-4353-23f6-9e71be6babae@aklaver.com> <alpine.LNX.2.20.1802171640070.19982@salmo.appl-ecosys.com> <4341ec30-4834-c31d-7cea-24a67497726d@aklaver.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