Oracle EBS

Adpatch 中出现意外后,如何再继续?

一个网友,问到这个问题...

A. 首先要停掉worker 进程

D:oraclezhucomnadminscriptsZHU_oratest>adctrl

Copyright (c) 2002 Oracle Corporation

Redwood Shores, California, USA

AD Controller

Version 11.5.0

此处省略了很多。。。

....................................................

...................................................

Enter the ORACLE username of Application Object Library

[APPLSYS] :

Enter the ORACLE password of Application Object Library [APPS] :

apps

......................................................

AD Controller Menu

---------------------------------------------------

1. Show worker status

2. Tell worker to restart a failed job

3. Tell worker to quit

4. Tell manager that a worker failed its job

5. Tell manager that a worker acknowledges quit

6. Restart a worker on the current machine

7. Exit

Enter your choice [1] : 3

Enter the worker number(s)/range(s) or 'all' for all

workers,

or press [Return] to go back to the menu : all

Control code changed to 'Quit' for worker 1.

Control code changed to 'Quit' for worker 2.

Control code changed to 'Quit' for worker 3.

Control code changed to 'Quit' for worker 4.

Control code changed to 'Quit' for worker 5.

Control code changed to 'Quit' for worker 6.

Review the messages above, then press [Return] to continue.

B. 解决方法:(参考的METALINK:175485.1)

1. Using the adctrl utility, shutdown the workers.

a. adctrl

b. Select option 3 "Tell worker to shutdown/quit"

2. Backup the FND_INSTALL_PROCESSES table which is owned by the

APPLSYS schema

a. sqlplus applsys/

b. create table fnd_Install_processes_back

as select * from fnd_Install_processes;

c. The 2 tables should have the same number of records.

select count(*) from fnd_Install_processes_back;

select count(*) from fnd_Install_processes;

3. Backup the AD_DEFERRED_JOBS table.

a. sqlplus applsys/

b. create table AD_DEFERRED_JOBS_back

as select * from AD_DEFERRED_JOBS;

c. The 2 tables should have the same number of records.

select count(*) from AD_DEFERRED_JOBS_back;

select count(*) from AD_DEFERRED_JOBS;

4. Backup the .rf9 files located in

$APPL_TOP/admin//restart

directory.

At this point, the adpatch session should have ended and the cursor

should

be back at the Unix prompt.

a. cd $APPL_TOP/admin/

b. mv restart restart_back

c. mkdir restart

5. Drop the FND_INSTALL_PROCESSES table and the AD_DEFERRED_JOBS

table.

a. sqlplus applsys/

b. drop table FND_INSTALL_PROCESSES;

c. drop table AD_DEFERRED_JOBS;

6. Reapply the patch 2451368

- adpatch 回车后,都按DEFAULT 的输入,

在Please enter the name of your AutoPatch driver file :

c2451368.drv(此方法是正常的方法)

一路下来,没报任何错误,

- 再次运行adpatch 回车后,都按DEFAULT 的输入

在Please enter the name of your AutoPatch driver file :

d2451368.drv

一路下来,没报任何错误,

哈哈。。这样patch 就打成功了。。

7. Restore the .rf9 files located in

$APPL_TOP/admin//restart_back

directory.

a. cd $APPL_TOP/admin/

b. mv restart

restart_

c. mv restart_back restart

8. Restore the FND_INSTALL_PROCESSES table which is owned by the

APPLSYS

schema.

a. sqlplus applsys/

b. create table fnd_Install_processes

as select * from fnd_Install_processes_back;

c. The 2 tables should have the same number of records.

select count(*) from fnd_Install_processes;

select count(*) from fnd_Install_processes_back;

9. Restore the AD_DEFERRED_JOBS table.

a. sqlplus applsys/

b. create table AD_DEFERRED_JOBS

as select * from AD_DEFERRED_JOBS_back;

c. The 2 tables should have the same number of records.

select count(*) from AD_DEFERRED_JOBS_back;

select count(*) from AD_DEFERRED_JOBS;

10. Re-create synonyms

a. sqlplus apps/apps

b. create synonym AD_DEFERRED_JOBS for

APPLSYS.AD_DEFERRED_JOBS;

c. create synonym FND_INSTALL_PROCESSES FOR

APPLSYS.FND_INSTALL_PROCESSES;

11. adadmin 中 disable mantaince model 修改

12. 启动CM(并发管理器) adcmctl start apps/apps

oracle adpatch 回退,Oracle EBS Adpatch 中出现意外后,如何再继续?相关推荐

  1. oracle 跳出内层循环,内层程序中发生异常后,不会继续执行外层程序的语句

    开发写了个存储过程需要我们审批,发现子程序中使用了异常处理语句, 通过以下实验说明这种写法的问题: SQL> create table test_number(test_id number); ...

  2. 换主板 oracle 蓝屏,在win7系统中更换主板后蓝屏的解决方案

    关于计算机在日常生活中的重要性,我不会多说,但是一旦您在win7系统中更换主板后遇到蓝屏引导问题,那么很大一部分小伙伴就无从下手. 在win7系统中更换主板后的屏幕. 实际上,在win7系统中更换主板 ...

  3. oracle 撤销回退,Oracle 回滚(ROLLBACK)和撤销(UNDO)

    五.计算UNDO表空间的大小 计算公式: MAX(undoblks)/600 * MAX(maxquerylen)位于v$undostat * db_block_size位于v$parameter - ...

  4. Oracle EBS GL_INTERFACE中字段STATUS数据对应的含义

    Oracle EBS GL_INTERFACE中字段STATUS数据对应的含义 导入到接口表GL_INTERFACE中的数据,在字段STATUS中出现了'EU02' 'P'等错误状态. 其中的'P状态 ...

  5. oracle smon 执行记录,Oracle SMON进程中系统监视进程SMON

    在Oracle中有很多的东西值得我们大家学习的地方,在这里我们主要描述的是Oracle SMON进程,也包括介绍归档进程ARCH等相关方面的内容.在Oracle数据库中有两个进程非常的渺小,但是其作用 ...

  6. ORACLE选择hint,ORACLE中的的HINT详解

    hints是oracle提供的一种机制,用来告诉优化器按照我们的告诉它的方式生成执行计划.我们可以用hints来实现: 1) 使用的优化器的类型 2) 基于代价的优化器的优化目标,是all_rows还 ...

  7. oracle set feedback off,Oracle数据库之Oracle导出数据中的prompt,set feedback 等是什么意思...

    本文主要向大家介绍了Oracle数据库之Oracle导出数据中的prompt,set feedback 等是什么意思,通过具体的内容向大家展现,希望对大家学习Oracle数据库有所帮助. mpt 输出 ...

  8. oracle分歧处理,ORACLE 过程中容错处理

    ORACLE 过程中容错处理 1) 基本结构 BEGIN ... --语句 EXCEPTION -- 例外处理 WHEN ... ... WHEN OTHERS ... END; 2) 常用预定义例外 ...

  9. oracle解析md5,Oracle中的MD5加密详解

    一.技术点 1. DBMS_OBFUSCATION_TOOLKIT.MD5 DBMS_OBFUSCATION_TOOLKIT.MD5是MD5编码的数据包函数,但偶在使用select DBMS_OBFU ...

最新文章

  1. 怎么控制节点启动_最全的软启动器接线图文
  2. 拉链法导致的链表过深问题为什么不用二叉查找树代替,而选择红黑树?为什么不一直使用红黑树?
  3. 世界上最美的40个小镇,你见过多少个?
  4. 微信公众平台PHP开发
  5. java 不同类之间传递数据_java 数据在不同类之间的传递
  6. exls下载后显示jsp_jsp利用POI直接生成Excel并在页面提示打开下载
  7. 项目案例模板之登录注册的实现
  8. pta:6-1单链表逆转(20分)
  9. 【渝粤教育】国家开放大学2018年春季 0111-22T妇产科护理学 参考试题
  10. 关于使用XLSTransformer.transformXLS导出Excel表格中遇到的问题
  11. 怎样使用WP Review Pro插件?
  12. linux分配oracle内存,【学习笔记】Linux系统 ORACLE用户进程占用私有内存分析
  13. 股市前复权、后复权与不复权
  14. python实现千牛客服自动回复语_千牛旺旺客服设置自动回复的技巧有哪些?总结性文章来啦...
  15. SEIR传染病模型Netlogo仿真程序
  16. JMeter 调试取样器(Debug Sampler)简介
  17. 《Optimising the selection of samples for robust lidar camera calibration》论文解读
  18. IOS 页面跳转问题:点击按钮页面不跳转
  19. uni-app开发中,使用ThorUI中的图片上传,自定义接口返回数据修改
  20. 中国也曾有过贵族:春秋战国是其黄金时期

热门文章

  1. NVIDIA A100云服务器
  2. android viewpager2,Android-ViewPager2的使用
  3. Mangos完全源码编译架设教程,新手入门版
  4. 凸显强劲实力!智领云入选2022德勤“光谷明日之星”榜单
  5. 我要偷偷的学Python,然后惊呆所有人(第八天)
  6. C语言之二分查找法或折半查找法剖析(经典例题,经典解析)
  7. STC51单片机中断系统介绍
  8. 新手向:Vue 的建议学习顺序(尤雨溪)(强烈建议看看)
  9. 华硕服务器修改bios,华硕服务器 如何设置bios
  10. mysql开启mrr_mysql 之 MRR