Hi all,
I have two AWS machines set up and running:
EC2 with Windows 2012 - running ArcGIS for Server Enterprise Standard and ArcGIS for Desktop Standard 10.4.
RDS with PostgreSQL 9.4.5.
I have followed all the instructions shown here:
But I got stuck in stage 7:
"Run the Enable Enterprise Geodatabase geoprocessing tool or a Python script to create a geodatabase in the database.".
Whenever I try to run the Enable Enterprise Geodatabase tool, it crashes. Even when I create it as a standalone python script, it crashes python.exe. I tried both Python 64 bit installed by the ArcGIS Server and the Python 32 bit installed by the Desktop. Both of them do not work and crash.
I've manage to take a screen shot in ArcCatalog just before it crashes while running the tool:
I've looked everywhere for a solution and couldn't find any documentation or anyone else who've came across the same issue.
Does anyone has any idea?
Thanks in advance.
Solved! Go to Solution.
I actually solved it.
Don't use Create Enterprise Geodatabase - that won't work for Amazon RDS (because you never get true super user permissions, only the customized one that amazon create for you when you launch the RDS instance).
The problem was, I tried to create the role and schema and run the tool on the postgres database, instead of the RDS-name database. The problem was that there was no PostGIS configured for the the postgres database, only for the RDS-name one. When I ran the script on this one, it worked without any problem.
Solved.
I also have the same problem, but I'm only using the Create Enterprise Geodatabase processing GUI tool:
I haven't tried running Python scripts to solve this, but it seems like (based on the original post) it wouldn't help. I tried the exact same process on my local machine and everything worked perfectly. I haven't tried another physical machine or another VM in my own network yet.
Any thoughts?
I actually solved it.
Don't use Create Enterprise Geodatabase - that won't work for Amazon RDS (because you never get true super user permissions, only the customized one that amazon create for you when you launch the RDS instance).
The problem was, I tried to create the role and schema and run the tool on the postgres database, instead of the RDS-name database. The problem was that there was no PostGIS configured for the the postgres database, only for the RDS-name one. When I ran the script on this one, it worked without any problem.
Solved.
Any more details that you can provide on this? Rene, were you ever successful? I am able to create the database connection to the RDS postgres fine but I cannot enable the database in ArcCatalog because the superuser role is locked down by Amazon RDS. I did manually create the schema and sde login inside of PgAdmin but of course I cannot apply the superuser status. I have tried running the Create and Enable enterprise geodatabase tools just to see what kind of error I would get but it all just comes back to issues with not having the superuser status assigned to the sde login. I was hoping for some more clarification from Airobotics as to more detailed steps as to how they got this to work.
Thanks, Jason
I got this to work with AWS RDS for PostgreSQL.
Good luck.
Ming
HI All,
I am trying to connect RDS oracle 19c from ArcCatalog , but not able to connect
i have installed the oracle client 32 bit and was able to connect RDS using SQL Developer and Sqlplus
from Arcatalog i am not able to connect to RDS oracle database in private VPC
any help please
if you need more info ,, i am ready to provide
thanks in advance for the help
Has anyone been able to enable a geodatabase on an AWS RDS PostgreSQL without using ArcGIS Cloud Builder?
Scott
The workflow to create an enterprise geodatabase in PostgreSQL/RDS is bit different compared it with going through the same workflow in a PostgreSQL deployed on premises. We basically need to manually do some of the steps the tool Create Enterprise Geodatabase does and then complete the process using the tool Enable Enterprise Geodatabase.
The steps are:
Note: make sure you have installed the PostgreSQL database drivers in ArcGIS Desktop (the 32 bits version) and/or Pro/ArcGIS Server (64 bits version). To avoid complications, download the drivers from My Esri.
The good practice in terms of loading data into an enterprise geodatabase is to use a user specifically created for that end. This user is normally a headless database user, in other words, a connection that can be shared with all the users of your team that will load data into the geodatabase.