IBM Support

A major error occurred - setting Db2 Library Path failed during install

Troubleshooting


Problem

During the install of Db2® you may receive "A major error occurred while installing "DB2 Server Edition " after Task "Setting Db2 Library Path".

Installing to a specific path failed but it can install in different paths. 

For example:
db2_install "/opt/IBM/db2" failed
db2_install "/opt/ibm/db2" succeed

Symptom

Following error message in db2_install.log:
 
Task #49 start
Description: Setting DB2 library path
Estimated time 180 second(s)
Task #49 end

 
A major error occurred while installing "DB2 Server Edition " on this
computer. The installation cannot continue. If the problem persists contact
your technical service representative.


Following trace points in db2_install.trc:
2020-11-04-13:48:10 3441018752  -DATA- 40 InstallProcess::executeLocal - , STRING = cd /opt/IBM/db2/V11.1.4.5/;
2020-11-04-13:48:10 3441018752  -DATA- 90 InstallProcess::executeLocal - , STRING = cd /opt/IBM/db2/V11.1.4.5/;/opt/IBM/db2/V11.1.4.5/install/db2chgpath -d 1> /tmp/db2ioEbMVZu 2>/tmp/db2iekAMCT5
2020-11-04-13:48:10 3441018752  -DATA- 100 InstallProcess::executeLocal - , INT = 32256
2020-11-04-13:48:10 3441018752  -DATA- 110 InstallProcess::executeLocal - , STRING = WEXITSTATUS
2020-11-04-13:48:10 3441018752  -DATA- 150 InstallProcess::executeLocal - , INT = 126

 

Document Location

Worldwide

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PknAAE","label":"Install\/Migrate\/Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
01 May 2025

UID

ibm16380416