IBM Support

db2prereqcheck on DB2 V11.1 errors out.

Troubleshooting


Problem

When preparing for upgrade if you run db2prereqcheck on V11.1, it may error out with "The specified module could not be found." error message.

Symptom

C:\Program Files\IBM\SQLLIB\BIN>D:
\v11\SERVER_WSE_C\image\db2prereqcheck -v  11.1.0.0 -s
Could not load the resource library C:
\Users\user1\AppData\Local\Temp\3\\db2istring_v111.dll The specified
module could not be found.

You may see that the file does exist in C:
\Users\user1\AppData\Local\Temp\3\db2istring_v111.dll

When you V10.5 version of db2prereqcheck and it will run successfully.

C:\Program Files\IBM\SQLLIB\BIN>D:\work\SERVER_T\db2prereqcheck -v
10.5.0.0 -s
DBT3533I  The db2prereqcheck utility has confirmed that all
installation prerequisites were met.


This problem usually happens when running db2prereqcheck.bat from within the install path on V11.1.

Resolving The Problem

As a work around try the below steps.

1) Open a command prompt as admin
2) cd %TEMP%
3) Check if the db2prereqcheck.exe and db2prereqs.xml exists here. If not, check in the subfolder 2/
4) If existing in the subfolder, copy the 2 files into the parent %TEMP% directory
5) Run the db2prereqcheck.exe and it should be successful.

Alternatively, you can just run setup.exe and it should work without failing the db2prereqcheck.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Licensing","Platform":[{"code":"PF033","label":"Windows"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21991176