IBM Support

[Db2] フィックスパックの適用で db2chgpath が ETXTBSY(26) で失敗する

Troubleshooting


Problem

フィックスパックや special build の適用で、ファイル・セットの更新が「エラー: Db2 ランタイム・パスを設定中にエラーが起きました。」で失敗します。 これはなぜでしょう?どうすれば正しく適用できますか?

Symptom

installFixPack コマンドでフィックスパックや special build を適用すると、以下のようなエラーで失敗することがあります。
エラー: Db2 ランタイム・パスを設定中にエラーが起きました。技術サービス担当者に連絡してください。

Db2 ファイル・セットの更新 :.......失敗
/tmp/installFixPack.log.* を参照すると、db2chgpath が失敗したことがわかります。
Updating Db2 file sets :......Failure
 
ERROR: There were errors during the run of the db2chgpath
program to change the embedded runtime path of the
related DB2 library and executable files
from
 /opt/IBM/db2/V11.5/
to
 /opt/IBM/db2/V11.5/
 
You may need to manually retun db2chgpath.
 
Check the log file /tmp/db2chgpath.log.nnn for details.
/tmp/db2chgpath.log.* を参照すると、いくつかのライブラリーの変更が ETXTBSY (26) で失敗していることがわかります。
Starting the update of runtime path ...
Wed Jul 25 03:47:41 JST 2020

Changing the embedded runtime path for DB2 deliverables installed
under /opt/ibm/db2/V10.5 from /opt/ibm/db2/V11.5/ to /opt/ibm/db2/V11.5/
---> Please wait

db2chglibpath: Unable to open file for write: '/opt/ibm/db2/V11.5/lib64/libDB2xalanMsg111.0.a': error: 26(Text file busy)
db2chglibpath: Unable to open file for write: '/opt/ibm/db2/V11.5/security64/plugin/IBM/group/IBMOSgroups.a': error: 26(Text file busy)

[{"Type":"MASTER","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":"a8m500000008Pm7AAE","label":"Install\/Migrate\/Upgrade-\u003EFixpak"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"All Versions"}]

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:
30 April 2025

UID

swg22011034