Skip to main content
Delphix

KBA1137 Errors "db2: not found" and "db2licm: not found" Reported While Trying to Discover/Linking a DB2 dSource

 

 

 

Applicable Delphix Versions

Major Release

All Sub Releases

5.2 5.2.2.0, 5.2.2.1, 5.2.3.0

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1 ,5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

Issue

Errors "dlpx_db_exec[22]: db2: not found" and "dlpx_db_exec[22]: db2licm: not found" are returned while trying to discover/link a DB2 dSource 

Troubleshooting

Delphix runs commands in a non interactive shell using ssh, for example:

ssh [delphix_os_user]@[delphix_Hostname_or_IP] db2licm -l

This command can be executed manually from any host to test the resulting output.  If this command doesn't return any output, it may indicate that db2licm is not in the Delphix OS user environment PATH.

Resolution

For Linux systems, source db2profile in .bashrc of the defined Delphix OS user.

In AIX, source db2profile in /etc/environment.