首頁 資料庫 mysql教程 Oracle 10g 的10.2.0.1.0版本升级至10.2.0.4.0报错处理

Oracle 10g 的10.2.0.1.0版本升级至10.2.0.4.0报错处理

Jun 07, 2016 pm 05:04 PM

Oracle 10g 的10.2.0.1.0版本升级至10.2.0.4.0报错处理

补丁包为: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.(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.(Unknown Source)
        at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.(OiifmSplashScreen.java:103)
        ... 6 more
Exception in thread "main" java.lang.NoClassDefFoundError
        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(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.(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安装界面的。

没有想到,问题居然出在这里。真让人无语,嘿嘿!所以,以后建议大家,进行补丁安装包什么的,,还是去官网上下载为妙。

linux

本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

減少在Docker中使用MySQL內存的使用 減少在Docker中使用MySQL內存的使用 Mar 04, 2025 pm 03:52 PM

減少在Docker中使用MySQL內存的使用

如何使用Alter Table語句在MySQL中更改表? 如何使用Alter Table語句在MySQL中更改表? Mar 19, 2025 pm 03:51 PM

如何使用Alter Table語句在MySQL中更改表?

mysql無法打開共享庫怎麼解決 mysql無法打開共享庫怎麼解決 Mar 04, 2025 pm 04:01 PM

mysql無法打開共享庫怎麼解決

在 Linux 中運行 MySQl(有/沒有帶有 phpmyadmin 的 podman 容器) 在 Linux 中運行 MySQl(有/沒有帶有 phpmyadmin 的 podman 容器) Mar 04, 2025 pm 03:54 PM

在 Linux 中運行 MySQl(有/沒有帶有 phpmyadmin 的 podman 容器)

什麼是 SQLite?全面概述 什麼是 SQLite?全面概述 Mar 04, 2025 pm 03:55 PM

什麼是 SQLite?全面概述

在MacOS上運行多個MySQL版本:逐步指南 在MacOS上運行多個MySQL版本:逐步指南 Mar 04, 2025 pm 03:49 PM

在MacOS上運行多個MySQL版本:逐步指南

哪些流行的MySQL GUI工具(例如MySQL Workbench,PhpMyAdmin)是什麼? 哪些流行的MySQL GUI工具(例如MySQL Workbench,PhpMyAdmin)是什麼? Mar 21, 2025 pm 06:28 PM

哪些流行的MySQL GUI工具(例如MySQL Workbench,PhpMyAdmin)是什麼?

如何為MySQL連接配置SSL/TLS加密? 如何為MySQL連接配置SSL/TLS加密? Mar 18, 2025 pm 12:01 PM

如何為MySQL連接配置SSL/TLS加密?

See all articles