Error: db_get_dbms_release:: Invalid Release ( cannot determine DBMS release using SDO_ADMIN.sdo_version function

Error Message

When running ArcSDE 10.2 command line tools on Oracle, the following error is returned:

"Error: Underlying DBMS error (-51)
Error: Could not create a connection
Extended DBMS error code: 0
Unknown error
No extended error"
In addition, the following error message is observed in the sdedc_oracle.log file:
"db_get_dbms_release:: Invalid Release ( Cannot determine DBMS release using SDO_ADMIN.sdo_version function.
Can’t open instance:sde:oracle11g.
Spatial Engine Connection Failed (-51). Cannot Get Access to Instance sde:oracle11g."


The error is encountered because Oracle version is not supported in ArcSDE version 10.2.

Solution or Workaround

Install ArcSDE version 10.2.1 or 10.2.2 command line tools for successful execution as the support for Oracle 12C begins at ArcGIS version 10.2.1.