DB2 probe on AIX is not able to connect to the database

Document ID : KB000076276
Last Modified Date : 03/04/2018
Show Technical Document Details
Issue:
The DB2 probe was successfully installed on the AIX Operating System but it fails to connect to the local database.
The following message is displayed: Probe has to be started for connection test.

Probe has to be started for connection test
Environment:
AIX with local DB2
Cause:
Based on the db2_monitor log, the DB2INSTANCE variable was not set on the Controller:
db2: (scan_db2dir) - Get default instance name failed, DB2INSTANCE not filled. 
 
Resolution:
You MUST set the DB2INSTANCE on the controller as below.

<environment>
LD_LIBRARY_PATH = /IBM/DB2/sqllib/lib64/
DB2INSTANCE = <DEFAULTISNTANCE>
</environment>