【GC】Grid Control 11gR1安裝過程中遭遇ERROR: invalid entry CRC

不一樣的天空w發表於2017-03-16
Oracle Enterprise Grid Control 11gR1安裝過程中遭遇“ERROR: invalid entry CRC”錯誤。
大量的時間因這個錯誤白白的流逝,問題的原因又是讓我那樣的痛徹心扉。

1.GC 11gR1安裝過程中的報錯資訊
在前期的配置和準備過程均順利妥當,但是當真正進入到最後的安裝過程時,在進度條達到7%的時候,圖形化安裝介面突然被關掉。問題來得是那麼突然和毫無準備,有一種不敢相信自己雙眼的錯覺。
【GC】Grid Control 11gR1安裝過程中遭遇ERROR: invalid entry CRC

安裝的圖形化介面關閉後擷取到命令列如下安裝步驟資訊。
[oracle@secdb2 oemgc11g]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 150 MB.   Actual 69113 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 5023 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 6 5536    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-04-02_03 -18-14PM. Please wait ...[oracle@secdb2 oemgc11g]$
-----------------------------------------------------------------------------
Summary
Global Settings
    Source: /software/oemgc11g//stage/../oms/Disk1/stage/products.xml
    Oracle Home: /u01/app/oracle/Middleware/oms11g (oms11g1)
    Installation Type: Complete
Product Languages
   English
Space Requirements
   / Required 3.73GB (includes 545MB temporary) : Available 67.30GB
New Installations (88 products)
   Oracle Enterprise Manager Grid Console 11.1.0.1.0
   Virtualization component for OMS 11.1.0.1.0
   Enterprise Manager Repository 11.1.0.1.0
   Enterprise Manager Application Server Plugin -- Repository Support 11.1.0.1.0
   Enterprise Manager Repository Core Files 11.1.0.1.0
   Enterprise Manager Database Plugin -- Repository Support 11.1.0.1.0
   Oracle SOA Suite 11g 11.1.1.2.0
   Oracle Fusion Middleware Upgrade Assistant 11.1.1.2.0
   Installation Common Files 11.1.0.7.0
   Oracle Configuration Manager 10.3.2.1.0
   Oracle XML Development Kit 11.1.0.7.0
   XML Parser for Java 11.1.0.7.0
   Oracle JDBC/THIN Interfaces 11.1.0.7.0
   Oracle JDBC/OCI Instant Client 11.1.0.7.0
   Required Support Files 11.1.0.7.0
   Oracle Globalization Support 11.1.0.7.0
   Oracle Net Required Support Files 11.1.0.7.0
   LDAP Required Support Instant Client Files 11.1.1.2.0
   LDAP Required Support Files 11.1.1.2.0
   Oracle Globalization Support 11.1.0.7.0
   Oracle HTTP Server 2.0 11.1.1.2.0
   Oracle Process Management Node (oracle.opmn) 11.1.1.2.0
   Perl Interpreter 5.10.0.0.1
   Oracle Core Required Support Files 11.1.0.7.0
   Platform. Required Support Files 11.1.0.7.0a
   Precompiler Required Support Files 11.1.0.7.0
   Parser Generator Required Support Files 11.1.0.7.0
   Agent Required Support Files 10.2.0.5.0
   RDBMS Required Support Files 11.1.0.7.0
   RDBMS Required Support Files for Instant Client 11.1.0.7.0
   XDK Required Support Files 11.1.0.7.0
   SQL*Plus Required Support Files 11.1.0.7.0
   Oracle RAC Required Support Files-HAS 11.1.0.7.0
   Oracle XML Query 11.1.0.7.0
   Oracle Java Client 11.1.0.7.0
   Oracle Application Server Non J2EE Management Files 11.1.1.2.0
   Oracle Webcenter Portlet Server JPDK 11.1.1.2.0
   Oracle Webcenter Portlet Server WSRP 11.1.1.2.0
   Enterprise Manager Application Server Integrator Plugin -- Management Service  Support 11.1.0.2.0
   Enterprise Manager Common Files 11.1.0.1.0
   Enterprise Manager Application Server Plugin -- Management Service Support 11 .1.0.1.0
   Enterprise Manager Application Server Plugin -- Common Support 11.1.0.1.0
   Oracle Enterprise Manager Application Server WLS Support 11.1.0.0.0
   Enterprise Manager Grid Control Core Files 11.1.0.1.0
   Enterprise Manager Database Plugin -- Management Service Support 11.1.0.1.0
   Repository Creation Utility 11.1.0.2.0
   Perl Modules 5.10.0.0.1
   Expat libraries 2.0.1.0.1
   Oracle DMSC (oracle.dmsc) 11.1.1.2.0
   LDAP Audit Framework 11.1.1.2.0
   Oracle SOA Management 11.1.1.2.0
   JDEVADF 11.1.1.2.0
   Enterprise Manager Common Core Files 11.1.0.1.0
   Enterprise Manager Application Server Integrator Plugin -- Agent Support 11.1 .0.2.0
   Enterprise Manager Application Server Integrator Plugin -- SOA 11.1.0.2.0
   Enterprise Manager Application Server Plugin -- Repository Support 10.2.0.1.0
   Common component for  Virtualization 11.1.0.1.0
   Virtualization component for repository 11.1.0.1.0
   Enterprise Manager Siebel Plugin -- Management Service Support 11.1.0.1.0
   Enterprise Manager Siebel Plugin -- Repository Support 11.1.0.1.0
   Enterprise Manager Collaboration Suite Plugin -- Management Service Support 1 1.1.0.1.0
   Enterprise Manager Collaboration Suite Plugin -- Repository Support 11.1.0.1. 0
   Microsoft Operations Manager Connector 11.1.0.1.0
   Remedy HelpDesk Connector 11.1.0.1.0
   Oracle Web Services Manager 11.1.1.2.0
   Enterprise Manager Application Server -- Oracle Composite Application Monitor  and Modeler 11.1.0.1.0
   My Oracle Support 11.1.0.1.0
   My Oracle Support Common Files 3.3.0.0.0
   Enterprise Manager Downloadable Agent 11.1.0.1.0
   OracleAgent Deployment 11.1.0.1.0
   Provisioning Advisor Framework 11.1.0.1.0
   GC Core Helpsets 11.1.0.1.0
   DB Grid Control Helpsets 11.1.0.1.0
   DB Common Helpsets 11.1.0.1.0
   AS Grid Control Helpsets 11.1.0.1.0
   AS Common Helpsets 11.1.0.1.0
   AI Grid Control Helpsets 11.1.0.1.0
   AI Common Helpsets 11.1.0.1.0
   PP Grid Control Helpsets 11.1.0.1.0
   PA Grid Control Helpsets 11.1.0.1.0
   CS Grid Control Helpsets 11.1.0.1.0
   Oracle Support Hub 10.3.2.1.0
   Enterprise Manager  - AD4J 11.1.0.1.0
   Oracle Configuration Manager Client 10.3.2.1.0
   Oracle Universal Installer 11.1.0.8.0
   Oracle One-Off Patch Installer 11.1.0.8.0
   Installer SDK Component 11.1.0.8.0
   Sun JDK 1.6.0.14.08
-----------------------------------------------------------------------------






ERROR: invalid entry CRC (expected 0x1397a2c7 but got 0xdfdee68)



重點關注最後一行錯誤提示!

2.問題原因
當看到“CRC”這個關鍵字的時候,我的眼前模糊了!這裡的“CRC”便是大名鼎鼎的“環冗餘碼校驗”(Cyclic Redundancy Check)。
檢驗出現了問題?這意味著什麼?
大家可以在此停留三分鐘,自行思考一下…………


難道真是那個不太可能的原因:安裝介質本身存在問題???

分別驗證一下安裝介質的“校驗和”。結果如下。
[oracle@secdb2 oemgc11g]$ cksum GridControl_11.1.0.1.0_Linux_1of3.zip
2257605842 1346829079 GridControl_11.1.0.1.0_Linux_1of3.zip
[oracle@secdb2 oemgc11g]$ cksum GridControl_11.1.0.1.0_Linux_2of3.zip
3267233746 1504566656 GridControl_11.1.0.1.0_Linux_2of3.zip
[oracle@secdb2 oemgc11g]$ cksum GridControl_11.1.0.1.0_Linux_3of3.zip
2105615784 1336577721 GridControl_11.1.0.1.0_Linux_3of3.zip

OTN上給出的校驗和內容如下所示。
GridControl_11.1.0.1.0_Linux_1of3.zip (1,346,829,079 bytes) (cksum - 2257605842)
GridControl_11.1.0.1.0_Linux_2of3.zip (1,504,566,656 bytes) (cksum - 3790666759)
GridControl_11.1.0.1.0_Linux_3of3.zip (1,336,577,721 bytes) (cksum - 2105615784)

介質下載連結:http://www.oracle.com/technetwork/oem/grid-control/downloads/linuxsoft-099441.html

問題原因昭然於天下:安裝介質的第二個壓縮包存在問題,其校驗和與OTN上的校驗和不匹配,雖然檔案大小能夠真實匹配但亦是枉然!
回頭看一下解壓過程,其實其中已經體現出了這個資訊:
……省略其他資訊……
  inflating: oms/Disk1/stage/Components/oracle.sysman.ocamm/11.1.0.1.0/1/DataFiles/filegroup1.jar
  error:  invalid compressed data to inflate
 bad CRC cd30de97  (should be 1cf3babc)
   creating: oms/Disk1/stage/Components/oracle.sysman.paf/
   creating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/
   creating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/1/
   creating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/1/DataFiles/
  inflating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/1/DataFiles/filegroup11.jar
  inflating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/1/DataFiles/filegroup6.jar
  inflating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/1/DataFiles/filegroup4.jar
  error:  invalid compressed data to inflate
 bad CRC 56203440  (should be dbebdc15)
  inflating: oms/Disk1/stage/Components/oracle.sysman.paf/11.1.0.1.0/1/DataFiles/filegroup8.jar
……省略其他資訊……

3.處理方法
重新在OTN上下載安裝檔案的第二個壓縮包。
發現今天OTN的下載速度非常緩慢,而且幾近趨於0KB/s。這麼臃腫的安裝介質讓我情何以堪!

最後使用無誤的安裝介質對GC部署重新來過。

4.小結
謹以此文特別提醒各位朋友:建議使用單執行緒在OTN上下載安裝介質,下載完成後一定要通過cksum對安裝介質的校驗和進行確認(OTN上有正確的校驗和供比對)。前期的準備工作非常重要,這也是“慢啟動快結束”的精華之所在。

Good luck.

secooler
11.04.02

-- The End --

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-691601/,如需轉載,請註明出處,否則將追究法律責任。

相關文章