News
Abstract
Db2 V11.5.4 へのアップグレード後に、SQL が SQL0901N エラーを返したり、Db2 インスタンスがクラッシュする場合があります。
Content
この問題ではいくつかのエラーが確認されています。
- SQL0901N データベース・システム・エラーのために SQL ステートメントまたはコマンドが失敗しました。 (Reason "Non-SYSTEM tenant for 3rd part name is not supported".) SQLSTATE=58004
- SQL0901N データベース・システム・エラーのために SQL ステートメントまたはコマンドが失敗しました。 (Reason "SYSSEQUENCES is missing row for identity column".)
- インスタンスがクラッシュして SQL1224N が返る。トラップ・ファイルが生成され、以下のスタックのトップに以下がある。_ZN12JitsServices17policyAllowsTableEjmm
この問題は、Db2 10.1 GA より前 (Db2 9.x またはそれ以前) のバージョンでは、表のパック記述子にある内部フィールドが適切に初期化されていなかったため発生します。
そのため、Db2 10.1 より前のバージョンで作成されたデータベースを Db2 11.5.4 にアップグレードした場合にのみ発生する可能性があります。
対象のデータベースが過去にどのバージョンで作成またアップグレードされたかは、下記の技術文書にあるように SYSIBM.SYSVERSIONS で確認可能です。
[Db2] db2updv* の実行履歴を確認する方法
[Db2] db2updv* の実行履歴を確認する方法
解決策
この問題は IT33515 として報告されており、Db2 11.5.5 以降で修正されています。
Db2 の修正は以下のページからダウンロード可能です。
緊急回避策 (現在は非推奨。11.5.5 以降の適用を推奨します)
すでに Db2 11.5.4 が適用済みで、データベースが上記の条件に一致する場合、かつすぐに 11.5.5 以降を適用できない場合に限り以下を実行してください。
- このページの下部にあるリンクから db2cat の修正バージョンをダウンロードします。
- オリジナルの db2cat/db2cat.exe および db2cat.bnd を別のディレクトリーへ移動しバックアップとして保管しておきます。
- Linux および UNIX プラットフォームでは、db2cat は通常 sqllib/bin 以下にあります。db2cat.bnd は sqllib/bnd 以下にあります。
- Windows プラットフォームでは、db2cat.exe は通常 DB2\SQLLIB\BIN 以下にあります。db2cat.bnd は DB2\SQLLIB\bnd 以下にあります。
- 既存の db2cat があった場所へダウンロードした新しいバージョンの db2cat/db2cat.exe で置き換えます。同様に db2cat.bnd も置き換えます。
- Db2 v11.5.4 の各データベースで "db2cat -d <データベース名> -Y" を実行します。
- パッケージは新しい実行可能なものおよび新しいバインド・ファイルとして自動バインドされます。
- "-Y" はマニュアルに記載されていない追加された新しいオプションです。
- db2cat の一般的な操作については以下を参照してください。
https://www.ibm.com/support/knowledgecenter/SSEPGG_11.5.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0024085.html
重要: このツールは Db2 v11.5.4.0 にアップグレード後に実行する必要があります。
オペレーション・システムごとの修正された db2cat のダウンロード・リンク:
Linux 64-bit,x86_64
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-linuxx64-db2cat-11.5.4.0-FP000%3A645117534850495616&includeSupersedes=0
Linux 32-bit,x86
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-linuxia32-db2cat-11.5.4.0-FP000%3A718656177591555072&includeSupersedes=0
Linux 64-bit,zSeries
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-linux390x64-db2cat-11.5.4.0-FP000%3A883336181379915392&includeSupersedes=0
AIX 64-bit, pSeries
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-aix64-db2cat-11.5.4.0-FP000%3A507544066329411648&includeSupersedes=0
Linux PPC64LE
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-linuxppc64le-db2cat-11.5.4.0-FP000%3A556077258096983936&includeSupersedes=0
Windows 64-bit, x86
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-ntx64-db2cat-11.5.4.0-FP000%3A446284370046492928&includeSupersedes=0
Windows 32-bit, x86
http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_2922_2922_DSClients-nt32-db2cat-11.5.4.0-FP000%3A209035782905001344&includeSupersedes=0
Related Information
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008Pm6AAE","label":"Install\/Migrate\/Upgrade-\u003EDatabase upgrade"}],"ARM Case Number":"TS003899188","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5.4","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
09 June 2022
UID
ibm16254708