欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

在RedHat 5上安装Oracle 10g

程序员文章站 2023-12-31 11:37:40
...

1.操作系统RedHat 5 [root@dbatest1 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5 (Tik

  1.操作系统RedHat 5

  [root@dbatest1 ~]# cat /etc/redhat-release

  Red Hat Enterprise Linux Server release 5 (Tikanga)

  [root@dbatest1 ~]# uname -a

  Linux dbatest1 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

  2. Oracle 版本

  Oracle Database 10g Enterprise Edition Release 10.2.0.3.0

  安装过程遇到的问题

  1.在redhat5中无法通过系统检查

  oracle@dbatest1:/u01/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
  Failed   Exiting Oracle Universal Installer, log for this session can be found at /u01/oracle/oraInventory/logs/installActions2008-08-14_12-18-01PM.log


  解决方法: 添加-ignoreSysPrereqs跳过系统检查


oracle@dbatest1:/u01/database#./runInstaller -ignoreSysPrereqs
  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
  Failed   >>> Ignoring required pre-requisite failures. Continuing...
  Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-08-14_10-45-36AM. Please wait...oracle@dbatest1:/u01/database#Oracle Universal Installer, Version 10.2.0.1.0 Production
  Copyright (C) 1999, 2005, Oracle. All rights reserved.
  Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-08-14_10-45-36AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
  java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-08-14_10-45-36AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(Unknown Source)
  at java.lang.ClassLoader.loadLibrary(Unknown Source)
  at java.lang.Runtime.loadLibrary0(Unknown Source)
  at java.lang.System.loadLibrary(Unknown Source)
  at sun.security.action.LoadLibraryAction.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
  at sun.awt.DebugHelper.(Unknown Source)
  at java.awt.Component.(Unknown Source)
  at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(OiifmGraphicInterfaceManager.java:222)
  at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
  at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
  at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
  at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
  at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
  Exception in thread "main" java.lang.NoClassDefFoundError
  at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(OiifmGraphicInterfaceManager.java:222)
  at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
  at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
  at oracle.sysman.oii.oiif.oiifm.OiifmAlert.(OiifmAlert.java:151)
  at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
  at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

在RedHat 5上安装Oracle 10g

上一篇:

下一篇: