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: [email protected] Subject: Re: [OSM-dev] [OSM-server setup] On Fri, Jun 11, 2010 at 5:12 PM, Mike N. <[email protected]> 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"
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

