Oracle Universal Installer (OUI) fails while extracting files…

Several times I have faced problems like this. I know it’s a simple problem to solve, but I’ll leave this tip.

Recently installing Oracle 11.2.0.3 on an AIX environment I faced a problem during installation.

The error was: – Invalid distance code. What’s that????????????? Bug on 11.2.0.3? Maybe!!!

Neither at moon you can find the solution for this error.

So, I wasted no time trying debugging OUI, I realized that the error was raised during the extraction of binary installation, so I took a shortcut.

Cause:

In UNIX/Linux unzip utility extract files even if they are corrupted.
So, the installation files are corrupted and I did not heed it.

unzip -t p10404530_112030_AIX64-5L_1of7.zip |grep -v OK
Archive:  p10404530_112030_AIX64-5L_1of7.zip
    testing: database/stage/Components/oracle.nlsrtl.rsf/11.2.0.3.0/1/DataFiles/filegroup1.jar   bad CRC 0e90be4a  (should be d9efb175)
 bad CRC 0e90be4a  (should be d9efb175)
 bad CRC 6c68df26  (should be 8a9ea9bb)
    testing: database/stage/Components/oracle.sysman.oms.core/10.2.0.4.4/1/DataFiles/filegroup7.jar   bad CRC 6c68df26  (should be 8a9ea9bb)
At least one error was detected in p10404530_112030_AIX64-5L_1of7.zip.


 unzip -t p10404530_112030_AIX64-5L_2of7.zip |grep -v OK
Archive:  p10404530_112030_AIX64-5L_2of7.zip

  error:  invalid compressed data to inflate
    testing: database/stage/Components/oracle.rdbms.install.seeddb/11.2.0.3.0/1/DataFiles/Expanded/filegroup1/Seed_Database.dfb
  error:  invalid compressed data to inflate
At least one error was detected in p10404530_112030_AIX64-5L_2of7.zip.

Solution:

Always test your installation zip files, before extract it.

 unzip -t p10404530_112030_AIX64-5L_1of7.zip |grep -v OK
Archive:  p10404530_112030_AIX64-5L_1of7.zip
No errors detected in compressed data of p10404530_112030_AIX64-5L_1of7.zip.

unzip -t p10404530_112030_AIX64-5L_2of7.zip |grep -v OK
Archive:  p10404530_112030_AIX64-5L_2of7.zip
No errors detected in compressed data of p10404530_112030_AIX64-5L_2of7.zip.

I hope this helps.
Enjoy…

Advertisements

One Comment on “Oracle Universal Installer (OUI) fails while extracting files…”

  1. […] Oracle Universal Installer (OUI) fails while extracting files … – unzip -t p10404530_112030_AIX64-5L_1of7.zip |grep -v OK Archive: p10404530_112030_AIX64-5L_1of7.zip testing: … database/stage/Components/oracle.sysman.oms.core/10.2..4.4/1/DataFiles/filegroup7.jar bad CRC 6c68df26 (should be 8a9ea9bb) … […]

    Like


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s