昨天在HP安腾patch oracle 9206的补丁,在link数据文件的时候报错
Error in invoking target 'patchset_opt' of makefile '/u01/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/logs/installActions2008-07-23_13-09-07AM.log' for details.
installActions里面记录了如下的内容
......
Starting install Link Phase of component Advanced Replication Patch
Starting install Link Phase of component Oracle Data Mining Patch
Calling Action unixActions10.1.0.4.0 make
installMakePath = /bin/make
installMakeFileName = /u01/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk
installTarget = patchset_opt
installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0,PATCHSET_OPT=dmwdm.o,
undoMakeFileName = null
undoTarget = null
undoArguments = null
logFile = /u01/app/oracle/product/9.2.0/install/make.log
progMsg = null
The output of this make operation is also available at: '/u01/app/oracle/product/9.2.0/install/make.log'
Start output from spawned process:
----------------------------------
End output from spawned process.
----------------------------------
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'patchset_opt' of makefile '/oracle/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/logs/installActions2008-07-23_10-52-07AM.log' for details.
Exception Severity: 1
Exception handling set to prompt user with options to Retry Ignore
......
出错的时候make.log里记录停在
/bin/make -f ins_rdbms.mk patchset_opt ORACLE_HOME=/u01/app/oracle/product/9.2.0 PATCHSET_OPT=dmwdm.o/
相关的问题baidu、google一大把,可见打补丁的时候遇到这种情况还是比较常见的,可能的原因是,oracle的执行程序被损坏了,需要重新链接相关程序。
通过下面的步骤修复了oracle的执行程序,再重新运行补丁程序,最后成功。
Log in as the 'oracle' user.
% script. /tmp/relink.out
% cd $ORACLE_HOME/rdbms/lib
% mv $ORACLE_HOME/bin/oracle $ORACLE_HOME/bin/oracle.dd.mon.yy
% rm -f ./oracle
% make -f ins_rdbms.mk ioracle
% exit
Error in invoking target 'patchset_opt' of makefile '/u01/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/logs/installActions2008-07-23_13-09-07AM.log' for details.
installActions里面记录了如下的内容
......
Starting install Link Phase of component Advanced Replication Patch
Starting install Link Phase of component Oracle Data Mining Patch
Calling Action unixActions10.1.0.4.0 make
installMakePath = /bin/make
installMakeFileName = /u01/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk
installTarget = patchset_opt
installArguments = ORACLE_HOME=/u01/app/oracle/product/9.2.0,PATCHSET_OPT=dmwdm.o,
undoMakeFileName = null
undoTarget = null
undoArguments = null
logFile = /u01/app/oracle/product/9.2.0/install/make.log
progMsg = null
The output of this make operation is also available at: '/u01/app/oracle/product/9.2.0/install/make.log'
Start output from spawned process:
----------------------------------
End output from spawned process.
----------------------------------
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'patchset_opt' of makefile '/oracle/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oracle/logs/installActions2008-07-23_10-52-07AM.log' for details.
Exception Severity: 1
Exception handling set to prompt user with options to Retry Ignore
......
出错的时候make.log里记录停在
/bin/make -f ins_rdbms.mk patchset_opt ORACLE_HOME=/u01/app/oracle/product/9.2.0 PATCHSET_OPT=dmwdm.o/
相关的问题baidu、google一大把,可见打补丁的时候遇到这种情况还是比较常见的,可能的原因是,oracle的执行程序被损坏了,需要重新链接相关程序。
通过下面的步骤修复了oracle的执行程序,再重新运行补丁程序,最后成功。
Log in as the 'oracle' user.
% script. /tmp/relink.out
% cd $ORACLE_HOME/rdbms/lib
% mv $ORACLE_HOME/bin/oracle $ORACLE_HOME/bin/oracle.dd.mon.yy
% rm -f ./oracle
% make -f ins_rdbms.mk ioracle
% exit
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14284241/viewspace-408735/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14284241/viewspace-408735/