I cannot connect to postgresql 9.0.5 with ArcSDE 10.1, using ArcCatalog 10.1 on Win 7 professional 64 bit.
I followed the steps described here, and installed the Pg-Agent from Stack builder. When I execute "Create Enterprise Geodatabase", I set "instance" to "localhost:5432", but I got this error:
Cannot connect to database because the database client software failed to load. Be sure the database client software is installed and configured correctly.
Failed to execute (CreateEnterpriseGeodatabase).
I've made sure that the service is running and restarted the whole machine after these installations, but it still gives me the error.
Any help, please?
-
The default port for postgresql is 5132. The port is defined in postgresql.conf (if i remember the file name correct).Nicklas Avén– Nicklas Avén2012年07月15日 15:51:26 +00:00Commented Jul 15, 2012 at 15:51
-
BTW, 10.1? Is it some beta version?Nicklas Avén– Nicklas Avén2012年07月15日 15:53:24 +00:00Commented Jul 15, 2012 at 15:53
-
1yeah the default port is 5432 , i'm using ArcSDE Windows 1.01 build 129054 final versiongeogeek– geogeek2012年07月15日 16:05:38 +00:00Commented Jul 15, 2012 at 16:05
-
Edit your pg_hba.conf file - you can verify this in pgAdminIII pgadmin.org/docs/dev/connect-error.htmlMapperz– Mapperz ♦2012年07月16日 13:17:19 +00:00Commented Jul 16, 2012 at 13:17
-
there's no errors in Pgadmin or Pg Agent level , but error pop up when i try to make a geodatabase from ArcCataloggeogeek– geogeek2012年07月16日 13:31:19 +00:00Commented Jul 16, 2012 at 13:31
1 Answer 1
I may be too late, but in case someone else comes across this forum for the same problem (as I did ;)). This is because you have to install the correct files for your client: http://resources.arcgis.com/en/help/main/10.1/index.html#/Setting_up_a_connection_to_PostgreSQL/002p0000003q000000/.
It took me a while to figure this out as the ESRI online documentation is a labyrinth.
-
1I just sat in on a presentation at the Esri conference and they said this the most common mistake that users make in trying to set up the connection to a postgres database with ArcSDE.RyanKDalton– RyanKDalton2012年07月27日 22:59:15 +00:00Commented Jul 27, 2012 at 22:59
-
Thank you for this post, I have just used this information to download the client from the 'ESRI Customer Care portal' to allow a connection to ArcSDE 9.3.1 from a 10.1 client. Although the versions don't appear to match (8.3 vs 9.0.5) the installation was successful. It can be a little difficult to find the right file, it's under DBMS Support files.Michael Stimson– Michael Stimson2013年09月10日 05:37:29 +00:00Commented Sep 10, 2013 at 5:37
Explore related questions
See similar questions with these tags.