Problem


Multiple DB2 error DBI1087E are reported in smit.log during the Blueworx Voice Response 6.1 for AIX installation. The installp may have reported SUCCESS on all the filesets but the following database setup (DTdatabase -r) may fail.


Symptom



DBI1087 errors are logged in smit.log file for DB2 links in /usr/include and /usr/lib directories. The error messages are like:


DBI1087E  An attempt to create the link /usr/include/asn.h failed.
...
DBI1087E  An attempt to create the link /usr/lib/libdb2.a failed.



Cause


The install program failed to create links for DB2 version 9.5.


Environment


System previously had Blueworx Voice Response 4.2 installed.


Diagnosing the problem


Both /usr/include and /usr/lib directories still have the DB2 links connecting to files from DB2 V8.1. For example, the problem system will have the command output like:

cd /usr/include
ls -l asn.h
lrwxrwxrwx    1 root     system    <date>  asn.h -> /usr/opt/db2_08_01/include64/asn.h



Resolving the problem

  1. Login as root to the system
  2. Remove the links for DB2 V8.1 with command
    /usr/opt/db2_08_01/cfg/db2rmln
  3. Create the links for DB2 V9.5 with command
    /opt/IBM/db2/V9.5/cfg/db2ln
  4. Check the links
    # ls -l /usr/lib/libdb2.a
    It should now link to /opt/IBM/db2/V9.5/lib64/libdb2.a.
    # ls -l /usr/include/asn.h
    It should now link to /opt/IBM/V9.5/include/asn.h.
  5. Reboot the system then continue the installation.


Related information


BVR 6.1 for AIX Software installation