[原創] 在Radhat 5 上安裝Oracle 10g
第一次在Redhat 5上安裝 oracle 10g ,遇到了幾個小問題,記錄一下.同時也分享一下
環境:
1.作業系統
[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.
at java.awt.Component.
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.
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.
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.
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
2.出現如下錯誤
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
解決方法:安裝以下兩個包
[root@dbatest1 tmp]# rpm -ivh xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm
warning: xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4
Preparing... ########################################### [100%]
1:xorg-x11-deprecated-lib########################################### [100%]
[root@dbatest1 tmp]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libXp ########################################### [100%]
3.當安裝84%在link database時,出現如下錯誤
Error in invoking target 'all_no_orcl ihsodbc' of makefile '/u01/oracle/product/10.2.0.3/rdbms/lib/ins_rdbms.mk'.
See '/u01/oracle/oraInventory/logs/installActions2008-08-14_12-07-44PM.log' for details.
解決方法:安裝以下包可解決
[root@dbatest1 tmp]# rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:compat-libstdc++-33 ########################################### [100%]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7364032/viewspace-426913/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在Radhat 5 上安裝Oracle 10g(轉)Oracle 10g
- 在RedHat LInux5上安裝Oracle 10g dbRedhatLinuxOracle 10g
- Oracle 10G在fedora core4上的安裝Oracle 10G在fedora core4上的安裝Oracle 10g
- 在 RHEL3上安裝 Oracle 10gOracle 10g
- 遊俠原創:在CentOS上安裝Nessus薦CentOS
- RHEL5 上安裝Oracle 10g的文件Oracle 10g
- RHEL5上Oracle 10g安裝筆記Oracle 10g筆記
- 在FC5上安裝oracle 9204Oracle
- 在solaris 10上安裝oracle 10g資料庫Oracle 10g資料庫
- CentOS 5.8上安裝Oracle 10gCentOSOracle 10g
- BBED在Oracle 10g/11g上安裝筆記Oracle 10g筆記
- Oracle 10G在fedora core4上的安裝(轉)Oracle 10g
- 在 Linux x86 上安裝 Oracle RAC 10gLinuxOracle
- 在rhel5上安裝oracle10gOracle
- 【原創】Oracle RAC原理和安裝Oracle
- 在WINDOWS 2000SERVER上安裝10G ASM實驗(原創,轉請註明出處)WindowsServerASM
- 使用 VMware 在 Oracle Enterprise Linux 上安裝 Oracle RAC 10gOracleLinux
- oracle 10g clusterware 在redhat as 5上的bugOracle 10gRedhat
- oracle 10g clusterware 在redhat as 5上的bugOracle 10gRedhat
- 資料庫Oracle10.2.0.1.0版本在Linux RadHat Enterprise5安裝的文件(txt文字)資料庫OracleLinux
- 使用 VMware 在 Oracle Enterprise Linux 上安裝 Oracle RAC 10g (2)OracleLinux
- 在linux上安裝oracle 10g用到的幾個小命令LinuxOracle 10g
- 在ubuntu 6.06上安裝oracle 10g的幾點註記UbuntuOracle 10g
- 在 SLES-10-x86 上安裝 Oracle 資料庫 10gOracle資料庫
- 在Linux x86上安裝Oracle 資料庫10gLinuxOracle資料庫
- VMware RHEL5安裝Oracle 10g RACOracle 10g
- 在redhat5.6上安裝oracle 10g(簡單基礎步驟)RedhatOracle 10g
- 在vmware上基於紅旗linux 5.0安裝oracle 10g racLinuxOracle 10g
- Oracle在Linux上的安裝OracleLinux
- redhat as5 安裝 oracle 10g注意事項RedhatOracle 10g
- RedHat 5.1上安裝Oracle 10g 注意事項RedhatOracle 10g
- 在Windows上安裝Elasticsearch 5.xWindowsElasticsearch
- Oracle 10G Beta版在Win2000上安裝的Bug (轉)Oracle 10g
- 在Linux下安裝Oracle 10g的方法LinuxOracle 10g
- oracle 11g 在IBM AIX 5L上的安裝OracleIBMAI
- Linux RHEL 5 安裝ORACLE 10g資料庫LinuxOracle 10g資料庫
- 在Oracle Linux 7.1上安裝DockerOracleLinuxDocker
- 在Solaris 11上安裝Oracle 11.2.0.3Oracle