This is complicated. Below you can see the basic pg_hba.conf settings on my own 
computer (not a production server). With these settings localhost connection 
works fine.

Our system manager tries to get things working, but I am not sure what changes 
he has tested. The only working solution was to replace md5 with trust in some 
of those lines. Then localhost connection started to work.

How would you change the file?


Oiva



local   all             postgres                                peer
local   all             all                                     peer
host    all             all             127.0.0.1/32            md5
host    all             all             ::1/128                 md5

________________________________
Lähettäjä: Kirk, Victor <victor.k...@cubic.com>
Lähetetty: 2. kesäkuuta 2015 12:13
Vastaanottaja: Hakala Oiva (Luke); geoserver-users@lists.sourceforge.net
Aihe: RE: Crazy error using Postgis database

Did you update the pg_hba.conf file to allow gsoserver to connect to the 
database for the required users?

From: Hakala Oiva (Luke) [mailto:oiva.hak...@luke.fi]
Sent: 02 June 2015 06:41
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Crazy error using Postgis database


NEW server: Centos 7, Geoserver 2.5.4, Postgres 9.2. Data moved from the old 
server.



I can connect to the NEW server's database from MY COMPUTER using PgAdmin III, 
and I CAN CREATE A STORE using the new server's database from my own computer's 
Geoserver and from the old production Geoserver. BUT, I CAN NOT create a store 
from the NEW server's Geoserver. I always get an "Ident authentication...." 
error. What is going on? See the log.


------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to