[OSM-dev] [OSM-server setup]

Mike N. niceman at att.net
Fri Jun 11 13:32:58 BST 2010


Try - sudo edit the file /etc/postgresql/8.4/main/pg_hba.conf for the following settings:

---------------------------------------
# Database administrative login by UNIX sockets
local   all         postgres                          ident

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               md5
-------------------------------------------

Save and close the file, then

# service postgresql restart



From: PARVEEN ARORA 
Sent: Friday, June 11, 2010 7:45 AM
To: Mike N. 
Cc: dev at openstreetmap.org 
Subject: Re: [OSM-dev] [OSM-server setup]





On Fri, Jun 11, 2010 at 5:12 PM, Mike N. <niceman at att.net> wrote:

  The follwing command is not working.
  cd ~/bin/osm2pgsql
  ./osm2pgsql -S default.style --slim -d gis -C 2048 ~/planet/planet-100217.osm.bz2

     What kind of error message comes from this command?

osm2pgsql SVN version 0.69-21640

Connection to database failed: FATAL:  Ident authentication failed for user "user_name"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100611/9f7006b7/attachment.html>


More information about the dev mailing list