IBM Support

db2prereqcheck on DB2 V11.1 errors out.

Technote (troubleshooting)


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.


C:\Program Files\IBM\SQLLIB\BIN>D:
\v11\SERVER_WSE_C\image\db2prereqcheck -v -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:

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

C:\Program Files\IBM\SQLLIB\BIN>D:\work\SERVER_T\db2prereqcheck -v -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.

Related information

db2prereqcheck - Check installation prerequisites

Document information

More support for: DB2 for Linux, UNIX and Windows
Install/Migrate/Upgrade - Licensing

Software version: 11.1

Operating system(s): Windows

Reference #: 1991176

Modified date: 23 September 2016