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 1enAXN-0007b9-Gw for pgsql-general@arkaria.postgresql.org; Sat, 17 Feb 2018 22:00:53 +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 1enAXM-000539-69 for pgsql-general@arkaria.postgresql.org; Sat, 17 Feb 2018 22:00:52 +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 1enAXL-00052y-UL for pgsql-general@lists.postgresql.org; Sat, 17 Feb 2018 22:00:51 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enAXH-0007jw-9G for pgsql-general@postgresql.org; Sat, 17 Feb 2018 22:00:51 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id A52449926A for ; Sat, 17 Feb 2018 14:00:43 -0800 (PST) Date: Sat, 17 Feb 2018 14:00:43 -0800 (PST) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@postgresql.org Subject: Need to fix one more glitch in upgrade to -10.2 Message-ID: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi folks, Today I upgraded from -9.6.6 to -10.2 on my Slackware-14.2 desktop. The user and group IDs changed from before, but I have that all fixed now. Starting postgres (as user postgres) succeeded, but the role for me (as a use and owner of most databases) seems to have become lost during the transition. I try to open a database and see this: $ psql jerr2018-02-17 13:45:35.852 PST [5839] FATAL: password authentication failed for user "rshepard" 2018-02-17 13:45:35.852 PST [5839] DETAIL: Role "rshepard" does not exist. Connection matched pg_hba.conf line 80: "local all all md5" 2018-02-17 13:45:35.853 PST [5839] LOG: could not send data to client: Broken pipe So I edited pg_hba.conf to change the method to 'trust' as I'm the only user on this system. Ran /etc/rc.d/rc.postfix reload and see: # /etc/rc.postgresql reload Could not find 'postgres' binary. Maybe PostgreSQL is not installed properly? $ ps ax | grep postgres 5826 pts/0 S 0:00 postgres -D /var/lib/pgsql/10.2/data 5828 ? Ss 0:00 postgres: checkpointer process 5829 ? Ss 0:00 postgres: writer process 5830 ? Ss 0:00 postgres: wal writer process 5831 ? Ss 0:00 postgres: autovacuum launcher process 5832 ? Ss 0:00 postgres: stats collector process 5833 ? Ss 0:00 postgres: bgworker: logical replication launcher I would appreciate a pointer on what to check to determine why I cannot reload postgres to see the changed pg_hba.conf and let me access my databases. Regards, Rich