Re: Having trouble with gm-restore_database in Mint 17.3 ... Ubuntu 14.04

Karsten Hilbert <[email protected]> Thu, 7 Apr 2016 11:26:17 +0200
Newsgroups gmane.comp.gnu.medical.devel
Message-ID <[email protected]>
On Wed, Apr 06, 2016 at 10:18:03PM -0300, Rogerio Luz wrote:

> So I finally got to restoring my old v19 database in Mint 17.3, which has
> gnumed-server 19.6-1  and gnumed-client  1.4.6+dfsg-1 by Ubuntu.
> 
> The restore script seems to work ok without erros, but when I try to
> connect I get :
> 
> Unable to connect to database:
> 
> PostgreSQL: FATAL:  Peer authentication failed for user "rogluz"
> DSN: dbname=gnumed_v19 port=5432 user=rogluz password=� sslmode=prefer

This seems to point at pg_hba.conf.

Can you (as rogluz, on the console) do:

	$> psql -d gnumed_v19 -U rogluz

What does your pg_hba.conf look like ?

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

_______________________________________________
Gnumed-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnumed-devel