Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enDj4-0000qL-PV for pgsql-general@arkaria.postgresql.org; Sun, 18 Feb 2018 01:25:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enDj3-0006pO-1x for pgsql-general@arkaria.postgresql.org; Sun, 18 Feb 2018 01:25:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1enDj2-0006pC-QX for pgsql-general@lists.postgresql.org; Sun, 18 Feb 2018 01:25:08 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enDiw-0003Xb-73 for pgsql-general@postgresql.org; Sun, 18 Feb 2018 01:25:08 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0A42720BA4; Sat, 17 Feb 2018 20:25:01 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sat, 17 Feb 2018 20:25:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=M+wWKXliHo3uY8OAKJeLC9bQN2IFc IKuRuVkI71p+ro=; b=S9lm5ZrmN4Wz9gbw6vWsa5/gtQjrvHna7IqTbp9sDNbkX alZo7UILRUeEKqrFztMV5W7Cm3ix7acLnIqyaCC5zV1QTwuqYpv1irTal2HB9rj8 Gq3w5tg0HzRovSO+zEUy1LOunz/uBfzxiNPyu+0YaPOE3a8F22q63YegfA9uFuim 4b/6927UzfW36NmfN9HQg5rJ9hvkd5Miq0oRDkYJsqfBXwg3PApzhzoGS8M6BQ5L cZMOxrhPi3nsehQrAZmll0P8zQKpY/gpXDQSHI+SXt/BkZ0gJ11g3iZZpgJFzRvd 4x/O5VFYTiRqfer3Iumq19Tsf5+e1/ESnhT6z7MqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=M+wWKX liHo3uY8OAKJeLC9bQN2IFcIKuRuVkI71p+ro=; b=g0svYmaaNXsDtI7PVbPqdU ltCGb4i31YiosidN0vapz4WUBcaoWFd+KAPyVMdnph2AvyTnnPG+fG+K2uN17+O6 pllC3LLSdRy8xRm2/XGsJVMq+JZiZfhf0G8ga1yW9LnMO9z1U+7PGXKlOCv8dvYu M56nfRRMWdWlHEwRC0T2GSePovRJsANP9XxMOPPu7wof2ZzERc7Ik6Tqwc3RDGl3 bElh6BjFEr/wXHjC+oqyPJB0H1PzPtfyPqF0zqBG2TfcL6fvd+1oNR4Gsr6zdSk5 Wtqfdd4fAwih+ABRKGlPTsw3JjN5In5uvM5b2l9M4/UX6LQcuDdWSc4AAIh5eyow == X-ME-Sender: Received: from [192.168.1.3] (71-212-36-41.tukw.qwest.net [71.212.36.41]) by mail.messagingengine.com (Postfix) with ESMTPA id 7C57F24547; Sat, 17 Feb 2018 20:25:00 -0500 (EST) Subject: Re: Need to fix one more glitch in upgrade to -10.2 To: Rich Shepard , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <4341ec30-4834-c31d-7cea-24a67497726d@aklaver.com> Date: Sat, 17 Feb 2018 17:24:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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