安裝CLUSTER碰到 Assertion failed offset fFileSize錯誤
每次安裝RAC環境總會碰到意外,這次又碰到一個以前沒有碰到過的錯誤。
在嘗試安裝CLUSTER軟體執行runInstaller時,出現了這個錯誤,詳細的錯誤資訊為:
bash-3.00$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 59095 MB Passed
Checking swap space: must be greater than 500 MB. Actual 59729 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-12_09-04-59PM. Please wait ...bash-3.00$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Assertion failed: offset < fFileSize, file ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp, line 418
開始以為是安裝程式在網路傳輸時出現了錯誤,檢查確認是二進位制傳輸過來的。嘗試重新ftp檔案,問題依舊。從另一臺伺服器上找到一個.gz壓縮檔案,ftp後解壓,cpio展開,嘗試安裝,問題仍然出現。
感覺問題應該不是出在安裝檔案上,難道是作業系統的字型檔案出了問題。
在metalink上查詢了一下,居然找到了對應的問題描述:Doc ID: 265428.1,看來確實是作業系統字型檔案損壞造成的。
利用Oracle給出的方法嘗試跟蹤錯誤:
bash-3.00$ export JAVA2D_DEBUGFONTS=1
bash-3.00$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 58766 MB Passed
Checking swap space: must be greater than 500 MB. Actual 59720 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-12_09-44-46PM. Please wait ...bash-3.00$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaTypewriterRegular.ttf fd=11
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaTypewriterRegular.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaTypewriterBold.ttf fd=12
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaTypewriterBold.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightRegular.ttf fd=13
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightRegular.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightDemiBold.ttf fd=14
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightDemiBold.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightItalic.ttf fd=15
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightItalic.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightDemiItalic.ttf fd=16
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaBrightDemiItalic.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaSansRegular.ttf fd=17
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaSansRegular.ttf - CMAP 3,1 found at offset 282.
opened font file /tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaSansDemiBold.ttf fd=18
/tmp/OraInstall2009-08-12_09-44-46PM/jre/1.4.2/lib/fonts/LucidaSansDemiBold.ttf - CMAP 3,1 found at offset 282.
opened font file /usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT/ming.ttf fd=48
/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT/ming.ttf - CMAP 3,1 found at offset 290.
/usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT/ming.ttf - CMAP 3,10 found at offset 8868.
opened font file /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/songti.ttf fd=49
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/songti.ttf - CMAP 3,1 found at offset 282.
opened font file /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/fangsongti.ttf fd=50
closing font descriptor 11
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/fangsongti.ttf - CMAP 3,1 found at offset 282.
opened font file /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/heiti.ttf fd=11
closing font descriptor 12
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/heiti.ttf - CMAP 3,1 found at offset 282.
opened font file /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/kaiti.ttf fd=12
closing font descriptor 13
Assertion failed: offset < fFileSize, file ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp, line 418
顯然檔案/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType/kaiti.ttf出現了問題。
進入對應的目錄,檢查這個檔案:
root@ser1 # pwd
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType
root@ser1 # ls -l kaiti.ttf
-rw-r--r-- 1 root other 11452416 Aug 10 12:00 kaiti.ttf
而其他伺服器上,這個檔案的資訊為:
root@ser2 # pwd
/usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType
root@ser2 # ls -l kaiti.ttf
-rw-r--r-- 1 root bin 19180084 Dec 9 2003 kaiti.ttf
二者大小都不一致,而且顯然這個檔案在安裝時被修改過。
利用ftp複製檔案後,問題解決:
bash-3.00$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 58660 MB Passed
Checking swap space: must be greater than 500 MB. Actual 59720 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-12_09-56-02PM. Please wait ...bash-3.00$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-612461/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC安裝時碰到的錯誤
- 11.2靜默安裝碰到的錯誤
- Assertion failure 錯誤AI
- MS-SQL 錯誤: The offset specified in a OFFSET clause may not be negativeSQL
- 啟動idea時, 碰到"failed to load jvm DLL ..."錯誤 解決方案IdeaAIJVM
- Oracle安裝錯誤Oracle
- pymssql安裝錯誤SQL
- jive安裝錯誤
- cocoapods安裝錯誤
- CentOS安裝pillow錯誤CentOS
- 透過vnc安裝oracle出現at least 256 colors Failed的錯誤處理VNCOracleASTAI
- 【RAC】RAC安裝錯誤手工解除安裝
- ASSERTION FAILED: TLS ALLOCATOR ALLOC_TEMP_THREAD...AITLSthread
- MySQL Cluster安裝MySql
- mysql安裝-clusterMySql
- 【故障】安裝完Pycharm,啟動時碰到"failed to load jvm dll"的解決方案PyCharmAIJVM
- MySQL 安裝常見錯誤MySql
- onethink安裝提示錯誤
- 安裝golang tour,提示錯誤Golang
- hadoop安裝中錯誤Hadoop
- 11gR2 grid安裝最後報錯[INS-20802] Oracle Cluster Verification Utility failedOracleAI
- 安裝出錯,說jiveHome驗證錯誤
- 10G RAC安裝時Failed to upgrade Oracle Cluster Registry configurationAIOracle
- WordPress 線上安裝或更新錯誤
- 安裝.NET Core遇到的錯誤
- PHP安裝後錯誤處理PHP
- Hadoop安裝錯誤總結Hadoop
- sendEmail安裝使用及錯誤排查AI
- 安裝RAC常見小錯誤
- drupal7安裝中文錯誤
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- Github錯誤之failed to push some refs toGithubAI
- VMware vmdk錯誤: Failed to lock the file.AI
- Installation failed with message INSTALL_FAILED_USER_RESTRICTED錯誤AIREST
- MacOs 安裝擴充套件錯誤列表Mac套件
- linux安裝thefuck報gcc錯誤LinuxGC
- ruby2.2安裝錯誤一則
- npm 安裝錯誤及處理方法NPM