Back to Geneos FAQ

How to solve Oracle connection issues in SQL-Toolkit plugin

Please check that the Oracle Client is installed properly on the Netprobe machine. This article also lists solutions for common Oracle database error messages.

Oracle Client installation Users should check that the Oracle Client is installed properly on the Netprobe machine. Please review the separate article: How to solve database client installation issues in SQL-Toolkit plugin

ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist

ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit

ORA-12154: TNS:could not resolve the connect identifier specified This error means that the value input in the Database Name parameter cannot be resolved.

  1. If you are using the tnsnames.ora file to resolve the database name, check the said file if the correct database name is used. 2. If you are not using the tnsnames.ora file, input the following value/format in the Database Name parameter:

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<database server host/IP>)(PORT=))(CONNECT_DATA=(SERVICE_NAME=database name/database global name)))

e.g.

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.100.180)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=geneos_db)))

ORA-12170: TNS:Connect timeout occurred

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

ORA-12541: TNS:no listener

ORA-12545: Connect failed because target host or object does not exist The plug-in either cannot connect or cannot resolve the hostname of the database server. To troubleshoot this:

  1. Extract the database server’s hostname being used by the SQL-Toolkit plug-in

    1. It can be extracted either via tnsnames.ora or listener.ora depending on which file is being used.
  2. It can be in the connection string defined in the SQL-Toolkit sampler itself. 2. Execute a ping command that targets the said server’s hostname from the Netprobe server.

    1. If ping is unsuccessful, report the results to the database and network/firewall administrators.
  3. If ping is successful, check the dataview if the error persists. If the error persists, validate the correct Oracle network file then extract the hostname being referred to.

ORA-06413: Connection not open

Further Reading Please kindly check the following guides:

["Geneos"] ["Geneos > Netprobe"] ["FAQ"]

Was this topic helpful?