search
HomeDatabaseMysql TutorialOracle 10g 的10.2.0.1.0版本升级至10.2.0.4.0报错处理

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

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Reduce the use of MySQL memory in DockerReduce the use of MySQL memory in DockerMar 04, 2025 pm 03:52 PM

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

How to solve the problem of mysql cannot open shared libraryHow to solve the problem of mysql cannot open shared libraryMar 04, 2025 pm 04:01 PM

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

How do you alter a table in MySQL using the ALTER TABLE statement?How do you alter a table in MySQL using the ALTER TABLE statement?Mar 19, 2025 pm 03:51 PM

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Run MySQl in Linux (with/without podman container with phpmyadmin)Run MySQl in Linux (with/without podman container with phpmyadmin)Mar 04, 2025 pm 03:54 PM

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

What is SQLite? Comprehensive overviewWhat is SQLite? Comprehensive overviewMar 04, 2025 pm 03:55 PM

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

Running multiple MySQL versions on MacOS: A step-by-step guideRunning multiple MySQL versions on MacOS: A step-by-step guideMar 04, 2025 pm 03:49 PM

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

How do I configure SSL/TLS encryption for MySQL connections?How do I configure SSL/TLS encryption for MySQL connections?Mar 18, 2025 pm 12:01 PM

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?Mar 21, 2025 pm 06:28 PM

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software