補丁包為:p6810189_10204_Linux-x86.iso
掛載解壓後,運行./runInstaller -debug
報錯如下:
-------------------------------------------------------
Initializing Java Virtual Machine from /tmp/OraInstall2011-08-25_06-52-17AM/jre/1.4.2/bin/java. Please wait...
[Oracle@dg01 updb10.02.40]$ Oracle Universal Installer, Version 10.2.0.4.0 Production
Copyright (C) 1999, 2008, Oracle. All rights reserved.
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
Exception java.lang.ExceptionInInitializerError occurred..
java.lang.ExceptionInInitializerError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:259)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:194)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:203)
at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:463)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:959)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:899)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.<init>(Unknown Source)
at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.<clinit>(OiifmSplashScreen.java:103)
... 6 more
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:259)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:194)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:203)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:1017)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:899)
到這個介面後,就不向下進行了。不能正常調出OUI升級安裝介面,以下包也都已經正常安裝:
rpm -ivh libXp-1.0.0-8.i386.rpm
rpm -ivh openmotif-2.3.0-0.3.el5.i386.rpm
rpm -ivh compat-db-4.2.52-5.1.i386.rpm
rpm -ivh compat-gcc-34-3.4.6-4.i386.rpm
rpm -ivh compat-libf2c-34-3.4.6-4.i386.rpm
rpm -ivh compat-gcc-34-g77-3.4.6-4.i386.rpm
rpm -ivh compat-gcc-34-c++-3.4.6-4.i386.rpm
rpm -ivh compat-libstdc++-296-2.96-138.i386.rpm
rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
大家看看是怎麼回事,問題出在哪裡?
---------------------------------------
10g 的10.2.0.1.0版本升級至10.2.0.4.0報錯處理
[oracle@dg01 bk]$ cd database
[oracle@dg01 database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be RedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-08-25_10-19-47AM. Please wait ...
[oracle@dg01 database]$ Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
跟字型沒有關係吧,上面的只是一個warnning提示警告,原來的database10GR2.tar.gz解壓後,還是可以調出OUI的安裝介面的。而補丁包p6810189_10204_Linux-x86.iso,解壓縮後,卻不能調出OUI安裝升級介面,很是奇怪啊!!!!
---------------------------------------
問題已經解決了。
我初步考慮:第一,我把安裝oracle所需要的rpm包仔細地檢查了一遍,發現並不缺少什麼包,由此,排除缺少rpm包的可能;第二,會不會是我本身拷貝的這個補丁包的問題呢?於是從oracle官網重新下載了同一版本的補丁,經過比對發現:
我的這個鏡象檔案iso大小為:
# ll -thr /bk/p6810189_10204_Linux-x86.iso
-rw-r--r-- 1 oracle oinstall 1.1G Jul 15 04:34 /bk/p6810189_10204_Linux-x86.iso
而oracle官方supp提供的補丁包大小為:
# ll -thr /bk/p6810189_10204_Linux-x86.zip
-rw-r--r-- 1 oracle oinstall 0.98G Jul 15 04:54 /bk/p6810189_10204_Linux-x86.zip
有可能是原來從其他機器拷貝過來的時候,p6810189_10204_Linux-x86.iso檔案就有問題,導致不能正常安裝。於是,換用從oracle官方下載的這個版本的zip包,進行解壓安裝,測試結果如下:
$ $ ./runInstaller -debug
-------------------------------------------------------
Initializing Java Virtual Machine from /tmp/OraInstall2011-08-26_06-28-27PM/jre/1.4.2/bin/java. Please wait...
[oracle@rhel5 Disk1]$ Oracle Universal Installer, Version 10.2.0.4.0 Production
Copyright (C) 1999, 2010, Oracle. All rights reserved.
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
雖然這裡還是會出現這個warning警告,但是,並無大礙。可以正常通過,出現OUI的安裝介面如下:
後來,又下載了一個10.2.0.4.0補丁包,也是可以正常安裝出現OUI安裝介面的。
沒有想到,問題居然出在這裡。真讓人無語,嘿嘿!所以,以後建議大家,進行補丁安裝包什麼的,還是去官網上下載為妙。