You need to troubleshoot database connectivity issues between the Data Loss Prevention (DLP) Enforce server and Oracle.
There are 3 files to work with when troubleshooting, 1 for Oracle and 2 for DLP Enforce:
Next, use TNSPING to test your connection to the Oracle server and SQLPlus to log in to the Oracle server.
Start with a basic "tnsping" from the DLP Enforce server. This command runs completely outside of DLP, so this is a good way to test your connection to the Oracle Server while completely removing DLP from the equation. It is important to note that this command runs through the Oracle Client (which should be installed on the DLP Enforce server if the Oracle server is not on the same machine).
The "tnsping" command pulls its connection data from the "tnsnames.ora" file that is on the DLP Enforce server. If this command does not work for any reason then the first step should be to copy the "tnsnames.ora" file from the Oracle server and paste it into the path specified above for the tnsnames.ora file on the DLP Enforce server.
Syntax: tnsping <service_name>
The last line should say "OK (30 msec)", which indicates that the ping was successful and that it took 30 milliseconds.
Log in to the Oracle server through SQLPlus. SQLPlus is included with the Oracle server or client installation.
Syntax: conn user@connect_identifier
If unsuccessful, the issue is on the database side and is not related to DLP, which is on the local Oracle server.
Syntax: conn user@connect_identifier
Note: This is the exact same process as logging in to the Oracle database from the Oracle server; the only difference is that we are connecting from the DLP Enforce server instead of the Oracle server.
Syntax: conn user@connection_string
This process is very similar to the previous steps, but we have simply replaced the "connection_identifier" with the "connection_string" found in the jdbc.properties file on the DLP Enforce server.
Note: If you cannot connect with the connection string, then DLP Enforce will not be able to communicate with the database, and you would be unable to log in.