每次安装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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/4227/viewspace-612461/