Oracle 10201 on RHEL 5.2 血一样的教训

[b]10201不支持红帽5(因为那个时候还没有红帽5吧)[/b]
网上有两种方法:
1. 改os
vi [color=blue]/etc/redhat-release [/color]
把5改成4
2. 改oracle安装介质的/database/install/oraparam.ini文件
[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5

建议用第一种
第二种只能躲过OUI启动前的检查,启动后的检查又会失败


[b]有几个文件权限不够[/b]
因为制作IOS文件,解压来解压去导致的


[b]启动OUI前报错,操作系统缺相应的包包[/b]
Preparing to launch Oracle Universal Installer
libXp.so.6: cannot open shared object file: No such file or directory

yum之,注意把32位也安装了,因为实际缺的就是32的
[color=blue]yum install libXp[/color]

[b]OUI检查:checking for gcc-3.2 Not found. Failed <<<<[/b]
yum之,注意安装成功后,需要重启OUI,光是retry是没有用的
[color=blue]yum install gcc[/color]

[b]安装过程中,又跳出错误[/b]
[img]http://dl.iteye.com/upload/attachment/0082/0373/74bb52c3-5d14-3945-9c85-bb9edfb02a12.png[/img]
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/opt/oracle/product/10.2.0/[color=red]ctx/lib/ins_ctx.mk[/color]'.
See '/opt/oracle/oraInventory/logs/installActions2013-03-22_12-25-03AM.log' for details.
Exception Severity: 1

也是因为缺32位的 [color=blue]yum list glibc-devel[/color]
http://www.linuxidc.com/Linux/2010-11/30068.htm

[b]继续跳错,没有上一个错那么幸运,查了半天,打了各种包都没用,血一样的教训[/b]
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'agent nmo nmb' of makefile '/opt/oracle/product/10.2.0/sysman/[color=red]lib/ins_sysman.mk[/color]'.

[color=darkblue]1. 先按照官方文档,把需要的包都打上,没用
2. 网上搜了各种版本的包列表,也没用
3. 后来用了蛋蛋的列表,有用了[/color]

中间各种曲折的路呀,折腾到凌晨4点才睡呀。。。
1. 事后想去试试到底是哪个包的问题,但是发现打一个包,retry一次,到最后也没用。然后cancel掉重新安装,就可以了。[color=red]不要尝试用retry的方式debug,retry不靠谱。[/color]
2. 用centos的yum源,安装好gcc后,再安装gcc-c++总是有问题。 [color=red]还是老老实实用本地源吧。[/color]
3. Oracle的文档只是针对红帽4的,Oracle官方不支持的事情,还是少做为妙。。。

[img]http://dl.iteye.com/upload/attachment/0082/0498/9d33740f-e393-34ce-ae51-6a46e19a09cc.png[/img]
初学者的级别、熟悉的画面、呵呵
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值