安裝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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 啟動idea時, 碰到"failed to load jvm DLL ..."錯誤 解決方案IdeaAIJVM
- cocoapods安裝錯誤
- flutter install安裝app時,出現INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCH錯誤的原因FlutterAPPAI
- 安裝易優EyouCms時提示“Array and string offset access syntax with curly braces is deprecated”錯誤怎麼辦?
- onethink安裝提示錯誤
- 【故障】安裝完Pycharm,啟動時碰到"failed to load jvm dll"的解決方案PyCharmAIJVM
- Installation failed with message INSTALL_FAILED_USER_RESTRICTED錯誤AIREST
- MySQL 安裝常見錯誤MySql
- 安裝golang tour,提示錯誤Golang
- Hadoop安裝錯誤總結Hadoop
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- Github錯誤之failed to push some refs toGithubAI
- PostgreSQL cache lookup failed for type XXXX 錯誤SQLAI
- PHP安裝後錯誤處理PHP
- linux安裝thefuck報gcc錯誤LinuxGC
- 安裝.NET Core遇到的錯誤
- NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load xxxx錯誤解決方法ErrorAIXMLHTTP
- Python錯誤:PyCharm 安裝出錯 Internal error,please。。。PythonPyCharmError
- windows 2019 net 3.5 安裝錯誤提示Windows
- MacOs 安裝擴充套件錯誤列表Mac套件
- WordPress 線上安裝或更新錯誤
- 啟動idea時, 碰到 "failed to load JVM DLLIdeaAIJVM
- 安裝失敗(Installing failed)AI
- win10安裝程式installer錯誤怎麼辦_win10安裝程式installer錯誤解決方法Win10
- 11.2.0.4單例項ASM安裝報錯ohasd failed to ... line 73.單例ASMAI
- tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [0] [Op:Assert] namePythonFrameworkErrorAI
- centos 重啟掛載錯誤 failed to mount /backupCentOSAI
- Spring Boot配置錯誤:Failed to determine a suitable driver classSpring BootAIUI
- centos8安裝docker錯誤解決CentOSDocker
- Python2.7安裝Scrapy錯誤處理Python
- Laravel 安裝後報 500 和 404 錯誤Laravel
- wget下載安裝時出現錯誤doesn‘t match requested host name錯誤wget
- 安裝MySQL5.7報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.MySqlServerAI
- 真機除錯出現 application installation failed 錯誤 解決方案除錯APPAI
- Brew 升級更新錯誤"Failed to install vendor Ruby."AI
- 啟動IDEA 報 failed to load jvm dll XXX 錯誤IdeaAIJVM
- myeclipse中提示Hot Code Replace Failed提示窗錯誤EclipseAI
- PostgreSQL提示:‘psql: FATAL: ”Peer authentication failed for user ”postgres“’錯誤SQLAI
- XAMRAIN的INSTALL_FAILED_NO_MATCHING_ABIS錯誤處理AI