Executing: CreateEnterpriseGeodatabase PostgreSQL star-ags icm DATABASE_AUTH postgres ***** SDE_SCHEMA sde ***** # "C:\Program Files\ESRI\License10.1\sysgen\keycodes" Start Time: Mon Aug 06 15:13:53 2012 User has privileges required to create database objects. Geodatabase admin user already exists. Database already exists. Validated authorization file. User has required privileges for geodatabase setup. XML support is enabled for the database instance. You must copy the latest ST_GEOMETRY and dependent libraries to the PostgreSQL software location. Refer to the ArcGIS help topics for more details. Connected RDBMS instance is not setup for Esri spatial type configuration. Failed to execute (CreateEnterpriseGeodatabase). Failed at Mon Aug 06 15:13:54 2012 (Elapsed Time: 1.00 seconds)
Solved! Go to Solution.
Solved this issue after some searching... Perhaps the error should reference the help topic that contains the solution?
http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Getting_started_with_geodatabases...
SOLUTION:
Place the ST_Geometry libraries in the PostgreSQL lib directory
Geodatabase creation in PostgreSQL relies on the presence of the ST_Geometry library. You must place the appropriate library in the lib directory where PostgreSQL is installed before you can create a geodatabase. ST_Geometry libraries can be found in the DatabaseSupport folder of your ArcGIS client installation.
Since this tutorial assumes your PostgreSQL installation is on a Windows server, you will use the ST_Geometry library found in the Windows64 folder.
Steps:
In Windows Explorer, navigate to the location of the Windows ST_Geometry library in your ArcGIS client installation directory.
The default location for ArcGIS for Desktop on 64-bit Windows operating systems is C:\Program Files (x86)\ArcGIS\Desktop<release#>\DatabaseSupport\PostgreSQL\Windows64; on 32-bit Windows operating systems, it is C:\Program Files\ArcGIS\Desktop<release#>\DatabaseSupport\PostgreSQL\Windows64.
Copy st_geometry.dll from this location.
Navigate to the PostgreSQL lib directory on the database server and paste the library to that location.
On Windows, the default location is C:\Program Files\PostgreSQL\9.0\lib.
Hi,
Place the ST_GEOMETRY libraries in the PostgreSQL lib directory from:
1. For PostgreSQL 9.0.x with directory c:\Program Files (x86)\ArcGIS\Desktop10.1\DatabaseSupport\PostgreSQL\Windows64\
2. For PostgreSQL 9.1.x with directory c:\Program Files (x86)\ArcGIS\Desktop10.1\DatabaseSupport\PostgreSQL\9.1\Windows64\
Regards
Artur
I'm having the same problem as others ... Yes I put the st_geometry.dll file in the PostgreSQL\9.1\lib directory on my server and still get the "must copy the latest ST_GEOMETRY" error using the create enterprise geodatabase tool. Now what?