前期准备:下载补丁包
需要购买Oracle后得到一个CSI才能下载补丁包: http://metalink.oracle.com/
或
补丁下载(迅雷下载方法):http://blog.oracle.com.cn/html/02/t-129102.html
补丁包对应编号:http://blog.chinaunix.net/space.php?uid=51077&do=blog&cuid=1664041
参考:(强烈建议参看oralce的官方升级文档)
从10.1.0.3升级到10.1.0.5(Linux,中英文,手工升级):http://blog.chinaunix.net/space.php?uid=779527&do=blog&cuid=445742
从10.2.0.1升级到10.2.0.3(Linux,手工升级): http://aixuexi.blog.51cto.com/899369/545015
Oracle补丁包安装(概述、opatch):http://hi.baidu.com/navy219/blog/item/570a062a019dc49f033bf6b2.html
升级日志位置:$ORACLE_BASE/oraInventory/logs/
我遇到过的问题:
问题1:no pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed;
原因:
If there is not enough free space in the /tmp folder, you can hit the following misleading error message:
"No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed"
Workaround: Free up some space in the /tmp folder.
This is tracked with Oracle bug 6855761 (base bug 6025810).
解决:清空/tmp,如果还不行,就挂一个更大的磁盘给/tmp
问题2:error in writing to directory /tmp/OraInstallXXXX-XX-XX-XX-XX 且 /tmp权限设置和空间都检查过没有问题,即安装用户确实拥有/tmp的写权限,/tmp空间也够
解决:我暂时未能解决,只好重装系统了,无奈。
问题3:ora-09817 writ to audit file fail
原因:oracle安装目录已满
解决:换个安装目录,重新安装!