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

1126
3
Jump to solution
08-31-2023 06:56 AM
MagalyClément-Zaber
Occasional 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 | Principal Product Engineer | Esri |
| Cloud & Database Administrator | OCP - Oracle Certified Professional |
I work with Enterprise Geodatabases since 1997.
“ 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 | Principal Product Engineer | Esri |
| Cloud & Database Administrator | OCP - Oracle Certified Professional |
I work with Enterprise Geodatabases since 1997.
“ I do not fear computers. I fear the lack of them." Isaac Isimov
0 Kudos
MagalyClément-Zaber
Occasional 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 | Principal Product Engineer | Esri |
| Cloud & Database Administrator | OCP - Oracle Certified Professional |
I work with Enterprise Geodatabases since 1997.
“ I do not fear computers. I fear the lack of them." Isaac Isimov
0 Kudos