Select to view content in your preferred language

New DB server, Oracle 19c, Failed to connect to the specified DBMS instance

1905
3
Jump to solution
08-31-2023 06:56 AM
MagalyClément-Zaber
Regular Contributor

Hi,

Our actual configuration is :

  • Arcgis Enterprise 10.8.1
  • Oracle 12c

We want to test the connection with a new version of Oracle : Oracle 19c.

The server is installed and connexion with "sql manager" works fine.

On my local machine, i have installed Oracle Client 19.

I want to create a geodatabase.

I modified the tsname.ora to put the new config:

SIGIMGPROD19C =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = MYINSTANCE)
)
)

The connection test with tnsping works fine.

But when I use the tool "Create Enterprise Geodatabase", I've got an error :

Failed to connect to the specified DBMS instance (Échec d'accès au serveur DBMS)

I use a batch to execute arccatlog to use specific path :

Set PATH=C:\oracle\product\19c\cli19c32\client_1\bin;C:\Program Files (x86)\ArcGIS\Desktop10.8\bin

START ArcCatalog.exe

MagalyClmentZaber_2-1693490083930.png

 

 

MagalyClmentZaber_1-1693489846258.png

I there something I forgot to configure ?

 

Thanks for help

Tags (1)
1 Solution

Accepted Solutions
MarceloMarques
Esri Regular Contributor

First test the connection to the Oracle database using Oracle SQL Plus.

This will help determine if Oracle Instant Client is configured correctly.

Oracle Instant Client requires the Microsoft C++ Redistributable Library.

Look the Oracle Instant Client Installation documentation.

See my communuity.esri.com white paper.

How to Install the Oracle Database Client for ArcGIS?

I hope this helps.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |

View solution in original post

0 Kudos
3 Replies
MarceloMarques
Esri Regular Contributor

First test the connection to the Oracle database using Oracle SQL Plus.

This will help determine if Oracle Instant Client is configured correctly.

Oracle Instant Client requires the Microsoft C++ Redistributable Library.

Look the Oracle Instant Client Installation documentation.

See my communuity.esri.com white paper.

How to Install the Oracle Database Client for ArcGIS?

I hope this helps.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |
0 Kudos
MagalyClément-Zaber
Regular Contributor

Hi,

Thanks a lot ! This helps me. 

lsnrctl status  show me the error in tnsname.ora !

The service name was not complete, I have forgotten the complete DNS name.

🙏

 

 

0 Kudos
MarceloMarques
Esri Regular Contributor

Glad to assist.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |
0 Kudos