IBM Support

Apply 报告 ASN1053E 错误当执行 ASNLOAD 的时候

Troubleshooting


Problem

当使用 asnload 做刷新目标表的时候, Apply 程序会失败并报告以下两种错误之一: 1. Apply 报告如下类似信息当执行 ASNLOAD 的时候: ASN1053E APPLY "APP1" : "WorkerThread". The execution of the ASNLOAD exit routine failed. The return code is "110".  The return code can also be "11" or "-1073741819" or "-1073741571" 2. ASNLOAD 程序遇到SIGSEGV而异常中止 使用 DB2 V9.5 Fix Pack 10, DB2 V9.7 FP7 and FP8, DB2 V10.1 FP2 and FP4, 以及 DB2 V10.5 FP3-FP6 都会有这个问题

Cause


如果 ASNLOAD 刷新的预定成员含有COL_TYPE=C 或 COL_TYPE=F 的列时,一个没有初始化的指针导致这个错误。

Resolving The Problem


这个问题将在最新的 DB2 V9.5, V9.7, V10.1 和 V10.5 fix packs 中修正。

对于 DB2 V9.5, V9.7, V10.1 的变通方法:
从相同版本的没有这个故障的以前的 fix pack 中拷贝一个 ASNLOAD 过来。

具体的步骤是:

1. 停止Apply 如果Apply还在运行。
2. 根据平台的不同分别选择以下的步骤:
对于 Linux 和UNIX,从 sqllib/bnd 拷贝 ASNLOAD.bnd 文件
对于 Windows,从 sqllib\bnd 拷贝 ASNLOAD.bnd 文件
3. 根据平台的不同分别选择以下的步骤:
对于 Linux 和UNIX,从 sqllib/bin 拷贝 ASNLOAD 文件
对于 Windows,从 sqllib\bin 拷贝 ASNLOAD.exe 文件
4. 重新启动 Apply 程序

如果你不能找到没问题的 ASNLOAD, 请联系IBM技术支持。

对于 DB2 V10.5 版本, 安装 fix pack 7 可以解决这个问题

[{"Product":{"code":"SSTRGZ","label":"InfoSphere Data Replication"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"SQL Apply","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"}],"Version":"9.5.0;10.1.0;10.5;9.7","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSTRGZ","label":"InfoSphere Data Replication"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21995173