求教:Enterprise linux 5上安装oracle 10g出现的问题
本人初学,在Red Hat Enterprise Linux 5上安装oracle10g(10201_database_linux32)时,执行
./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/OraInstall2012-02-15_04-27-02PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-02-15_04-27-02PM/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.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
----------------------------------------
在网上查过之后,好多人都说是缺少系统安装包,然后下载了libXp-1.0.0-8.1.el5.i386.rpm安装包,并且开始安装(rpm -ivh '/home/oracle/Desktop/libXp-1.0.0-8.i386.rpm' ),而后又出现了下面的问题:
-----------------------------------------------
warning: /home/oracle/Desktop/libXp-1.0.0-8.i386.rpm: Header V3 DSA signature: NOKEY, key ID 82fd17b2
error: can't create transaction lock on /var/lib/rpm/__db.000
----------------------------------------------------------------------
而后我又在网上查了查:
说:这是由于yum安装了旧版本的GPG keys造成的,解决办法就是
引用
rpm --import /etc/pki/rpm-gpg/RPM*
本人执行这命令之后,又出现了如下问题
----------------------------------------
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora: import failed.
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages database in /var/lib/rpm
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test: import failed.
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages database in /var/lib/rpm
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-auxiliary: import failed.
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages database in /var/lib/rpm
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta: import failed.
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages database in /var/lib/rpm
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-former: import failed.
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages database in /var/lib/rpm
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: import failed.
--------------------------------------------------------------------------
这些问题可能很基础,可是鉴于本人初学,恳请大家不吝赐教,不胜感激!
------解决方案--------------------