"db2val -o” returns DBI1334E RC = 2 on validating an installation image after the install is completed
Priyanka Joshi 270003HTNX Visits (3443)
In a couple of instances, we have noted that customers tried to run "db2val -o" on install images after actual install and the db2val failed with DBI1334E RC = 2 in "Task 2” (can be seen in db2val output)
Installation file validation for the DB2 copy installed at "/op
2> There will be a .savedImageChksums file (/op
The expected files in install path are only the ones listed below:
drwxr-xr-x 6 bin bin 4096 Jul 11 09:23 db2
-r-xr-xr-x 1 bin bin 5306 Jul 11 09:23 db2ckupgrade
-r-xr-xr-x 1 bin bin 5259 Jul 11 09:22 db2_deinstall
-r-xr-xr-x 1 bin bin 5129 Jul 11 09:23 db2_install
-r-xr-xr-x 1 bin bin 5093 Jul 11 09:22 db2ls
-r-xr-xr-x 1 bin bin 5111 Jul 11 09:22 db2prereqcheck
-r-xr-xr-x 1 bin bin 5111 Jul 11 09:22 db2setup
-r-xr-xr-x 1 bin bin 5147 Jul 11 09:23 installFixPack
3> But in our customer cases, we also had an extra file “db2setup.trc.jtrc” file in there which was the last one checked before the error was reported (we found it out from db2val traces).
4> So it seems the customer had some sort of tracing enabled at some stage during the install and a trace file has been created because of this - db2s
The file db2setp.trc.jtrc, is not part of the install image so we can safely remove it and its references from the .sav
1> Go to /opt
2> Edit the file .savedImageChksum (open in edit mode).
3> Remove/delete the line/s which refer to db2setup.trc.jtrc file and save.
4> Also delete/remove the actual file - db2setup.trc.ctrc.
Retry the db2val command and the problem should be fixed now.
DBI1334E Installation file validation failed for the DB2 copy installed at inst