oracle runinstaller Oracle 故障 [3]10g runInstaller 安装报错

Oracle 故障:[3]10g runInstaller 安装报错――简介

oracle 用户在执行 ./runInstaller时候报错

系统:rhel 6.4

oracle软件版本:10.2.0.4

思路:

1:缺失rpm包,就安装

2:换rhel 5

第一步详细步骤如下,发现该方法不能解决10.2.0.4在rhel 6上安装报的错误,换成rhel 5后安装正常

注:在安装过程中,发现10.2.0.1可以再rhel 5上安装,但必须加./runInstaller -ignoresysprereqs

Oracle 故障:[3]10g runInstaller 安装报错――方法/步骤

Oracle 故障:[3]10g runInstaller 安装报错 1、

[oracle@oracle10g Disk1]$ ./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, SuSE-10, redhat-4, redhat-5, UnitedLinux-1.0, asianux-1, asianux-2 or asianux-3

Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-24_02-27-16AM. Please wait ...[oracle@oracle10g Disk1]$ Oracle Universal Installer, Version 10.2.0.4.0 Production

Copyright (C) 1999, 2008, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-24_02-27-16AM/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/OraInstall2014-10-24_02-27-16AM/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)

执行报错:oracle 10g在RedHat中只能在rhel4或者rhel 5中安装,具体原因是:缺失libXp的32位rpm包


Oracle 故障:[3]10g runInstaller 安装报错 2、

将系统镜像盘挂载到系统目录下,为安装缺失包做准备

将镜像盘挂载到/zxx_iso,然后将镜像盘中的内容复制到/mnt中,防止每次启动

时都需要挂载镜像盘

第一步:

[root@node1 /]# mkdir /zxx_software

[root@node1 /]# cd zxx_software/

[root@node1 zxx_software]# ls

rhel-server-6.4-x86_64-dvd.iso

[root@node1 zxx_software]# mkdir /zxx_iso

[root@node1 zxx_software]# mount -o loop rhel-server-6.4-x86_64-dvd.iso /zxx_iso/ 挂载镜像

[root@node1 zxx_software]# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/sda2 15G 8.8G 5.0G 64% /

tmpfs 939M 224K 939M 1% /dev/shm

/dev/sda1 194M 32M 153M 18% /boot

/dev/sda5 14G 164M 13G 2% /u01

/zxx_software/rhel-server-6.4-x86_64-dvd.iso

3.5G 3.5G 0 100% /zxx_iso

[root@node1 zxx_software]# cd /zxx_iso/

[root@node1 zxx_iso]# du -sh ./ 检查当前目录大小

3.5G ./

[root@node1 zxx_iso]# cp -R * /mnt 复制

[root@node1 zxx_iso]# cd /mnt

[root@node1 mnt]# du -sh ./

3.5G ./

[root@node1 mnt]# umount /zxx_iso/ 卸载镜像盘

[root@node1 mnt]# rm -rf /zxx_iso/

[root@node1 mnt]# find . -name '*.rpm' 找出软件包所在目录

./Packages/libcroco-devel-0.6.2-5.el6.i686.rpm

./Packages/libXau-devel-1.0.6-4.el6.i686.rpm

./Packages/sabayon-apply-2.29.92-3.el6.x86_64.rpm

./Packages/k3b-libs-1.0.5-13.el6.x86_64.rpm

./Packages/python-pycurl-7.19.0-8.el6.x86_64.rpm

./Packages/smc-fonts-common-04.2-11.el6.noarch.rpm

检查rpm包在哪个目录下,发现在/mnt/Packages目录下

oracle runinstaller Oracle 故障 [3]10g runInstaller 安装报错

Oracle 故障:[3]10g runInstaller 安装报错 3、

安装缺失包

[root@oracle10g Packages]# ll | grep libXp

-r--r--r--. 116 root root 22792 Aug 17 2010 libXp-1.0.0-15.1.el6.i686.rpm

-r--r--r--. 81 root root 23452 Aug 17 2010 libXp-1.0.0-15.1.el6.x86_64.rpm

-r--r--r--. 95 root root 17196 Aug 17 2010 libXp-devel-1.0.0-15.1.el6.i686.rpm

-r--r--r--. 67 root root 17172 Aug 17 2010 libXp-devel-1.0.0-15.1.el6.x86_64.rpm

-r--r--r--. 64 root root 51540 Dec 21 2012 libXpm-3.5.10-2.el6.i686.rpm

-r--r--r--. 40 root root 51912 Dec 21 2012 libXpm-3.5.10-2.el6.x86_64.rpm

-r--r--r--. 52 root root 33336 Dec 21 2012 libXpm-devel-3.5.10-2.el6.i686.rpm

-r--r--r--. 32 root root 34252 Dec 21 2012 libXpm-devel-3.5.10-2.el6.x86_64.rpm

[root@oracle10g Packages]# rpm -Uvh libXp-1.0.0-15.1.el6.i686.rpm

warning: libXp-1.0.0-15.1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

error: Failed dependencies:

libX11.so.6 is needed by libXp-1.0.0-15.1.el6.i686

libXau.so.6 is needed by libXp-1.0.0-15.1.el6.i686

libXext.so.6 is needed by libXp-1.0.0-15.1.el6.i686

安装libXp之前 需要安装上面这三个关联包


Oracle 故障:[3]10g runInstaller 安装报错 4、

[root@oracle10g Packages]# rpm -Uvh libXau-1.0.6-4.el6.i686.rpm

warning: libXau-1.0.6-4.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libXau ########################################### [100%]

[root@oracle10g Packages]# rpm -Uvh libX11-1.5.0-4.el6.i686.rpm

warning: libX11-1.5.0-4.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

error: Failed dependencies:

libxcb.so.1 is needed by libX11-1.5.0-4.el6.i686

安装libX11包之前需要安装libxcb关联包

[root@oracle10g Packages]# rpm -Uvh libxcb-1.8.1-1.el6.i686.rpm

warning: libxcb-1.8.1-1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libxcb ########################################### [100%]

[root@oracle10g Packages]# rpm -Uvh libX11-1.5.0-4.el6.i686.rpm

warning: libX11-1.5.0-4.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libX11 ########################################### [100%]

安装完关联包之后,才能安装libX11

[root@oracle10g Packages]# rpm -Uvh libXext-1.3.1-2.el6.i686.rpm

warning: libXext-1.3.1-2.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libXext ########################################### [100%]

[root@oracle10g Packages]# rpm -Uvh libXp-1.0.0-15.1.el6.i686.rpm

warning: libXp-1.0.0-15.1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libXp ########################################### [100%]

安装完三个关联包之后才能安装libXp


Oracle 故障:[3]10g runInstaller 安装报错 5、

再次执行./runInstaller之后又缺少包

[oracle@oracle10g Disk1]$ ./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, SuSE-10, redhat-4, redhat-5, redhat-6, UnitedLinux-1.0, asianux-1, asianux-2 or asianux-3

Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-24_03-02-54AM. Please wait ...[oracle@oracle10g Disk1]$ Oracle Universal Installer, Version 10.2.0.4.0 Production

Copyright (C) 1999, 2008, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-24_03-02-54AM/jre/1.4.2/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory occurred..

java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-24_03-02-54AM/jre/1.4.2/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory


Oracle 故障:[3]10g runInstaller 安装报错 6、

[root@oracle10g Packages]# rpm -Uvh libXt-1.1.3-1.el6.i686.rpm

warning: libXt-1.1.3-1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

error: Failed dependencies:

libICE.so.6 is needed by libXt-1.1.3-1.el6.i686

libSM.so.6 is needed by libXt-1.1.3-1.el6.i686

安装缺失包libXt之前又需要安装两个关联包

[root@oracle10g Packages]# ll | grep libICE

-r--r--r--. 144 root root 53596 Aug 17 2010 libICE-1.0.6-1.el6.i686.rpm

-r--r--r--. 109 root root 53912 Aug 17 2010 libICE-1.0.6-1.el6.x86_64.rpm

-r--r--r--. 95 root root 15604 Aug 17 2010 libICE-devel-1.0.6-1.el6.i686.rpm

-r--r--r--. 67 root root 15584 Aug 17 2010 libICE-devel-1.0.6-1.el6.x86_64.rpm

[root@oracle10g Packages]# rpm -Uvh libICE-1.0.6-1.el6.i686.rpm

warning: libICE-1.0.6-1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libICE ########################################### [100%]

[root@oracle10g Packages]# ll | grep libSM

-r--r--r--. 64 root root 37356 Dec 21 2012 libSM-1.2.1-2.el6.i686.rpm

-r--r--r--. 40 root root 37608 Dec 21 2012 libSM-1.2.1-2.el6.x86_64.rpm

-r--r--r--. 52 root root 12420 Dec 21 2012 libSM-devel-1.2.1-2.el6.i686.rpm

-r--r--r--. 32 root root 12400 Dec 21 2012 libSM-devel-1.2.1-2.el6.x86_64.rpm

[root@oracle10g Packages]# rpm -Uvh libSM-1.2.1-2.el6.i686.rpm

warning: libSM-1.2.1-2.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

error: Failed dependencies:

libuuid.so.1 is needed by libSM-1.2.1-2.el6.i686

libuuid.so.1(UUID_1.0) is needed by libSM-1.2.1-2.el6.i686

安装libSM又需要两个关联包

[root@oracle10g Packages]# ll | grep libuuid

-r--r--r--. 15 root root 68732 Jan 28 2013 libuuid-2.17.2-12.9.el6.i686.rpm

-r--r--r--. 9 root root 68192 Jan 28 2013 libuuid-2.17.2-12.9.el6.x86_64.rpm

-r--r--r--. 12 root root 84696 Jan 28 2013 libuuid-devel-2.17.2-12.9.el6.i686.rpm

-r--r--r--. 7 root root 85008 Jan 28 2013 libuuid-devel-2.17.2-12.9.el6.x86_64.rpm

[root@oracle10g Packages]# rpm -Uvh libuuid-2.17.2-12.9.el6.i686.rpm

warning: libuuid-2.17.2-12.9.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libuuid ########################################### [100%]

[root@oracle10g Packages]# rpm -Uvh libuuid-devel-2.17.2-12.9.el6.i686.rpm

warning: libuuid-devel-2.17.2-12.9.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libuuid-devel ########################################### [100%]

[root@oracle10g Packages]# rpm -Uvh libSM-1.2.1-2.el6.i686.rpm

warning: libSM-1.2.1-2.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libSM ########################################### [100%]

[root@oracle10g Packages]# rpm -Uvh libXt-1.1.3-1.el6.i686.rpm

warning: libXt-1.1.3-1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libXt ########################################### [100%]


Oracle 故障:[3]10g runInstaller 安装报错 7、

缺失包安装完成之后执行./runInstaller又缺少包,所以安装缺失包不是一种办法


Oracle 故障:[3]10g runInstaller 安装报错 8、

无效之后又尝试了

1:将/etc/redhat-release 中的6.4改成5.4 无效

2:将runInstaller脚本所在目录的install下的oraparam.ini文件添加redhat-6 无效

[oracle@oracle10g install]$ vi oraparam.ini

[oracle@oracle10g install]$ cat oraparam.ini

[Certified Versions]

Linux=redhat-3,SuSE-9,SuSE-10,redhat-4,redhat-5,redhat-6,UnitedLinux-1.0,asianux-1,asianux-2,asianux-3

建议:oracle 10g下 将系统换成rhel 5

  

爱华网本文地址 » http://www.413yy.cn/a/8104400103/261446.html

更多阅读

《魔兽世界》运行提示系统报错:"Error #132" html quot

《魔兽世界》运行提示系统报错:"Error #132"——简介好不容易下载的WOW客户端安装后,满心欢喜的打开却发现游戏报错不能运行。这种遭遇是多么的坑爹呀。。。求人不如求已下面请跟小编一起DIY解决一下吧!!!《魔兽

PL/SQL报错:“ORA-12154:TNS:无法解析指定的连接标识符”

在连接oracle的时候PL/SQL报错:“ORA-12154: TNS:无法解析指定的连接标识符”,在网上找了很多资料,然后问题解决。其中下面的文章分析的过程很值得学习,特地转载过来时刻告诫自己全局观的重要性!  下面是引用正文  接着上次的话题,在6

声明:《oracle runinstaller Oracle 故障 [3]10g runInstaller 安装报错》为网友七月份的尾巴分享!如侵犯到您的合法权益请联系我们删除