Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting the above error on a new and local TinyOWS installation on Centos 6. Postgresql 9.2, PostGIS 2.0. I can connect to PostGreSQL locally and from my LAN using several other methods (psql, QGIS, PgAdmin). I've fiddled around with pg_hba.conf so it currently looks like this:

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all               md5
host    all             all            md5
# IPv6 local connections:
host    all             all             ::1/128                 ident
# Allow replication connections from localhost, by a user with the

and /etc/tinyows.xml is like this:

<tinyows online_resource=""

<pg host="localhost" user="postgres" password="*****" dbname="tinyows_demo" port="5432"/>

<metadata name="TinyOWS Server"
    title="TinyOWS Server - Demo Service" />

<layer retrievable="1"
     title="World Administrative Boundaries" />

<layer retrievable="1"
     title="French Administrative Sub Boundaries (IGN - GeoFLA Departements)" />


bit puzzled as to why it's using ident

Can anyone help?

share|improve this question
up vote 1 down vote accepted

Edit /var/lib/pgsql/data/postgresql.conf file to listen on all IP addresses. Like this:

listen_addresses = '*'
port = 5432

And restart your db, of course:

sudo /etc/init.d/postgresql restart
share|improve this answer
Thanks mtn.biker - will try – minisaurus Aug 17 '13 at 7:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.