今天在安装oracle database 12c时,出现如下错误,

 

Installation

日志:

INFO: Number of threads for fast copy :1
INFO: invalid entry size (expected 29259198 but got 29259030 bytes)
SEVERE: oracle.sysman.oii.oiif.oiifb.OiifbEndIterateException: invalid entry size (expected 29259198 but got 29259030 bytes)
        at oracle.sysman.oii.oiic.OiicInstallAPISession.doOperation(OiicInstallAPISession.java:490)
        at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(OiicAPIInstaller.java:1009)
        at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(OiicAPIInstaller.java:970)
        at oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:358)
        at oracle.install.driver.oui.SetupJob.call(SetupJob.java:315)
        at oracle.install.driver.oui.SetupJob.call(SetupJob.java:49)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

INFO: Update the state machine to STATE_READY
INFO: isSuccessfullInstallation: false
INFO: isSuccessfullRemoteInstallation: true
INFO: Adding ExitStatus FAILURE to the exit status set
INFO: Shutting down OUISetupDriver.JobExecutorThread
SEVERE: [FATAL] invalid entry size (expected 29259198 but got 29259030 bytes)
   CAUSE: No additional information available.
   ACTION: Refer to the logs or contact Oracle Support Services
   SUMMARY:
       - invalid entry size (expected 29259198 but got 29259030 bytes).
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:5867
INFO: Advice is ABORT

官方解释:

1. Once the Oracle installation kit has been downloaded from either OTN or Oracle Software Delivery Cloud confirm the filesizes and checksums match the values from the download site per:


2. If you are moving the software installation from one server to another then transfer the source using ftp/scp in binary mode and check the above values before starting the installation.

 

结果检查cksum 值,果然不一样。所以安装之前还是要检查一下介质。。

Oracle Database 12c Release 1 Grid Infrastructure (12.1.0.1.0) for Linux x86-64 
   linuxamd64_12c_grid_1of2.zip (1,750,478,910 bytes) (cksum – 3177055641
   linuxamd64_12c_grid_2of2.zip (201,673,595 bytes) (cksum – 2753782116) 

 

[oracle@oradbca soft]$ cksum linuxamd64_12c_grid_1of2.zip
2663914591 1750478910 linuxamd64_12c_grid_1of2.zip
[oracle@oradbca soft]$ cksum linuxamd64_12c_grid_2of2.zip 
2753782116 201673595 linuxamd64_12c_grid_2of2.zip