Hello:

I have osm2pgsql now running on my Ubuntu box, if my name looks familiar, but now I'm trying to also get it working on my Mac, running OS 10.7 (Lion), with both PostgreSQL 9.1 and osm2pgsql installed through Homebrew.

I have confirmed that /usr/local/bin/osm2pgsql and /usr/local/bin/psql are the versions being used by my system (with which psql, which osm2pgsql).
When I try to run osm2pgsql I get a strange connection error:

|osm2pgsql us-south.osm.pbf -r pbf
osm2pgsql SVN version 0.80.0(32bit id space)

Error:Connection todatabasefailed:could notconnect toserver:Permission denied
Isthe server running locally andaccepting
    connections onUnix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
|
Any suggestions? I can connect locally to my databases fine with Navicat and via psql. Is it possible that osm2pgsql is trying to access the wrong psql?

Thanks,

--
Michael Corey
News Applications Developer
Center for Investigative Reporting
510.809.3178

/2012 Recipient of the MacArthur Award for Creative and Effective Institutions/
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to