Skip to content

Oracle Oracle Troubleshooting

When Test connection or an operation fails on an Oracle datastore, the Oracle error code (ORA-xxxxx) points to the layer that failed: the credentials, the privileges, or the connection to the listener.

Problems every connector shares

A server that cannot be reached, a red status dot, a credential changed at the source, Secrets Management errors, an empty schema list, missing tables, and a blocked deletion are covered on Source Datastore Troubleshooting. This page covers the errors specific to Oracle.

Common Errors

Error Likely Cause Fix
ORA-01017: invalid username/password Incorrect username or password Verify the credentials and ensure the user exists with SELECT username FROM dba_users
ORA-01045: user lacks CREATE SESSION privilege The user cannot establish a session Run GRANT CREATE SESSION TO <user>
ORA-00942: table or view does not exist The user lacks SELECT on the target table, or the table does not exist Grant SELECT on the specific table or use SELECT ANY TABLE
ORA-12505: TNS:listener does not currently know of SID The SID provided in the connection form does not match the database instance Verify the SID or switch to using a Service Name instead
ORA-12514: TNS:listener does not currently know of service The Service Name is incorrect or the service is not registered with the listener Verify the service name with lsnrctl status on the Oracle server

Detailed Notes

Authentication Errors

The error ORA-01017: invalid username/password indicates that the credentials are incorrect.

Common causes:

  • Incorrect password: the password does not match. Oracle passwords are case-sensitive by default.
  • Account locked: the account has been locked due to too many failed login attempts. Unlock with ALTER USER <user> ACCOUNT UNLOCK.
  • Password expired: the password has expired per the user's profile settings.

Note

Oracle passwords are case-sensitive by default (since Oracle 11g). Ensure the password is entered with the correct case in the connection form.

Permission Errors

The error ORA-00942: table or view does not exist can mean either the object truly does not exist or the user lacks SELECT access to it.

Common causes:

  • Missing SELECT grant: the user does not have SELECT on the target table. Oracle does not distinguish between "table not found" and "no permission" for security reasons.
  • Schema not specified: the table exists in a different schema and the user is querying without the schema prefix.
  • Synonym not created: the user expects to access the table without the schema prefix, but no synonym exists.

Connection Errors

The error ORA-12505: TNS:listener does not currently know of SID or ORA-12514: TNS:listener does not currently know of service means the connection identifier is incorrect.

Common causes:

  • Wrong SID or Service Name: the value does not match the database instance configuration.
  • Listener not running: the Oracle listener process is not started on the server.
  • Wrong host or port: the host or port (default 1521) does not match the Oracle server configuration.