错误日志:

[Aug 9, 2017 10:29:21 AM]    Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are: Following executables are active :
/opt/oracle/oradb/home/bin/tnslsnr
/opt/oracle/oradb/home/lib/libclntsh.so.11.1
[Aug 9, 2017 10:29:21 AM] Start fuser command /sbin/fuser /opt/oracle/oradb/home/bin/amdu at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Finish fuser command /sbin/fuser /opt/oracle/oradb/home/bin/amdu at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Start fuser command /sbin/fuser /opt/oracle/oradb/home/bin/kfed at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Finish fuser command /sbin/fuser /opt/oracle/oradb/home/bin/kfed at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Start fuser command /sbin/fuser /opt/oracle/oradb/home/bin/proc at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Finish fuser command /sbin/fuser /opt/oracle/oradb/home/bin/proc at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Start fuser command /sbin/fuser /opt/oracle/oradb/home/bin/wrap at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Finish fuser command /sbin/fuser /opt/oracle/oradb/home/bin/wrap at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] OUI-67073:UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Aug 9, 2017 10:29:21 AM] Finishing UtilSession at Wed Aug 09 10:29:21 CST 2017
[Aug 9, 2017 10:29:21 AM] Log file location: /opt/oracle/oradb/home/cfgtoollogs/opatch/opatch2017-08-09_10-29-17AM_1.log
[Aug 9, 2017 10:29:21 AM] Stack Description: java.lang.RuntimeException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Aug 9, 2017 10:29:21 AM] StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6420)
[Aug 9, 2017 10:29:21 AM] StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:1621)
[Aug 9, 2017 10:29:21 AM] StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1127)
[Aug 9, 2017 10:29:21 AM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Aug 9, 2017 10:29:21 AM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[Aug 9, 2017 10:29:21 AM] StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Aug 9, 2017 10:29:21 AM] StackTrace: java.lang.reflect.Method.invoke(Method.java:592)
[Aug 9, 2017 10:29:21 AM] StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Aug 9, 2017 10:29:21 AM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Aug 9, 2017 10:29:21 AM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:583)

  

解决办法:

  1. 停止监听
  2. kill掉与oracle相关的进程。

异常:

  • 如果ps -ef |grep oracle检查信息如下,并没有oracle进程存在。
oracle    5151  9981  0 19:53 pts/0    00:00:00 su - oracle
oracle 5152 5151 0 19:53 pts/0 00:00:00 -bash
oracle 22762 5152 0 20:18 pts/0 00:00:00 ps -ef
oracle 22763 5152 0 20:18 pts/0 00:00:00 grep oracle

  

  使用root用户去执行lsof命令指定到最上一层的目录去查。
  然后再kill掉。

  

最新文章

  1. mysql 单表排序,相同值排序
  2. Python range() xrange()
  3. DBA日常工作内容和职责
  4. Js全选,插入实现
  5. [Java] 识别图片验证码
  6. Mybatis插入语句useGeneratedKeys="true"的用法
  7. Swift隐式可选型简单介绍
  8. Android中的IPC机制
  9. Vue.js新城之勇者探秘录
  10. 设置tomcat支持软连接
  11. 算法实践--最小生成树(Prim算法)
  12. 用CSS里的 viewport-fit 标签应对iPhone X 的刘海
  13. Nginx配置服务器静态文件支持跨域访问
  14. JS基础---Dom的基本操作
  15. es6 Set 结合 Array.from 用法
  16. nodejs初识
  17. 识别同音字词pypinyin, 分词 jieba
  18. kooboocms遇到的问题
  19. js 调用声音提示
  20. whu 1538 - B - Stones II 01背包

热门文章

  1. angularJS 源码阅读之一:toDebugString
  2. Linux配置LNMP环境(一)配置Nginx
  3. Student implements java.io.Serializable
  4. tp框架-----Model模型层
  5. vue--指令中值得随笔的地方
  6. Java读取property配置文件
  7. 输出a-b之间的随机数并考虑异常
  8. docker~写个容器启动的bash脚本
  9. CentOS7.2设置静态IP
  10. 关于启动文件分析的(MDK-ARM) 【转】