R12.2克隆patch fs报错——Rapid Clone completed successfully , but the AutoConfig run recorded some errors

根据同事提供的网址,参考文档:http://ermanarslan.blogspot.jp/2014/07/ebs-122-cloning-real-life-example.html 解决:

INFO :  Rapid Clone completed successfully , but the AutoConfig run recorded  some errors. 

Please review the AutoConfig section in the logfile.  and Re-Run the entire cloning cycle , after fixing the problem

Okay we completed the cloning but it seems that we have encountered a problem while running autoconfig..

Lets find that problem...

To find the cause of the error , we open the logfile of post clone, and search for autconfig related errors there..

vi /u01/fs1/inst/apps/PREPROD_erppreprod/admin/log/clone/ApplyAppsTier_07030932.log

Here, there is an important error in the 6th process of the Autoconfig..

AutoConfig Setup Phase

Running Setup Process 6 of 8 for AD_TOP

Executing script in InstantiateFile:

/u01/fs1/inst/apps/PREPROD_erppreprod/admin/install/afgcsreg.sh

script returned:

****************************************************

afgcsreg.sh started at Thu Jul  3 09:38:46 EEST 2014

The environment settings are as follows ...

       ORACLE_HOME : /u01/fs1/EBSapps/10.1.2

        ORACLE_SID :

          TWO_TASK : PREPROD_patch

              PATH : /u01/fs_ne/EBSapps/appl/ad/bin:/u01/fs1/FMW_Home/modules/org.apache.ant_1.7.1/bin:/u01/fs1/inst/apps/PREPROD_erppreprod/admin/scripts:/u01/fs1/FMW_Home/webtier/perl/bin:/u01/fs1/EBSapps/10.1.2/bin:/u01/fs1/EBSapps/appl/fnd/12.0.0/bin:/u01/fs1/EBSapps/appl/ad/12.0.0/bin:/u01/fs1/EBSapps/comn/util/jdk32/jre/bin:/u01/fs1/EBSapps/comn/util/jdk32/bin::/u01/fs1/EBSapps/10.1.2/OPatch:/u01/fs1/EBSapps/10.1.2/bin:/usr/bin:/usr/sbin:/u01/fs1/EBSapps/comn/util/jdk32/jre/bin:/u01/fs1/EBSapps/comn/clone/bin/../jre/bin:/u01/fs1/EBSapps/comn/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/applmgr/bin      Library Path : /u01/fs1/EBSapps/10.1.2/jdk/jre/lib/i386:/u01/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/server:/u01/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/native_threads:/u01/fs1/EBSapps/appl/cz/12.0.0/bin:/u01/fs1/EBSapps/10.1.2/lib32:/u01/fs1/EBSapps/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/fs1/EBSapps/10.1.2/jdk/jre/lib/i386:/u01/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/server:/u01/fs1/EBSapps/10.1.2/jdk/jre/lib/i386/native_threads:/u01/fs1/EBSapps/appl/sht/12.0.0/lib

Executable : /u01/fs1/EBSapps/10.1.2/bin/sqlplus

SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jul 3 09:38:47 2014

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter value for 1: Enter value for 2: Enter value for 3: ERROR:

ORA-12514: TNS:listener does not currently know of service requested in connect

descriptor

after that, similar  errors are coming like a rain :)

Uploading Metadata file /u01/fs1/EBSapps/appl/ad/12.0.0/admin/template/adctxinf.tmp

Metadata file /u01/fs1/EBSapps/appl/ad/12.0.0/admin/template/adctxinf.tmp upload failed.

Check log file created by FNDCPUCF program.

ERRORCODE = 1 ERRORCODE_END

.end std out.

APP-FND-01564: ORACLE error 12514 in AFPCOA

Cause: AFPCOA failed due to ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

.

The SQL statement being executed at the time of the error was:  and was executed from the file .

APP-FND-01564: ORACLE error 12514 in AFPCOA

Cause: AFPCOA failed due to ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

.

So,

It s searching for the service name PREPROD_patch to connect to the db..

Lets check our db site, lets check our listener if it is listening for the patching service..

lsnrctl status PREPROD

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 03-JUL-2014 10:19:28

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=erppreprod.erman.ermandom.com)(PORT=1522)))

STATUS of the LISTENER

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

Alias                     PREPROD

Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production

Start Date                02-JUL-2014 15:57:42

Uptime                    0 days 18 hr. 21 min. 45 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /u01/oracle/product/11.2.0.3/db/network/admin/PREPROD_erppreprod/listener.ora

Listener Log File         /u01/oracle/product/11.2.0.3/db/admin/PREPROD_erppreprod/diag/tnslsnr/erppreprod/preprod/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=erppreproderman.ermandom.com)(PORT=1522)))

Services Summary...

Service "PREPROD" has 1 instance(s).

  Instance "PREPROD", status UNKNOWN, has 1 handler(s) for this service...

The command completed successfully

Opps, it doesnt listens for PREPROD_patch.

Lets make the listener to listen PREPROD_patch..

sqlplus "/as sysdba"

SQL>alter system set service_names='PREPROD','ebs_patch','PREPROD_patch' scope=memory;

System altered.

SQL> alter system set local_listener=PREPROD scope=memory;

System altered.

SQL> alter system register;

System altered.

lsnrctl status PREPROD

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 03-JUL-2014 10:30:25

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=erppreprod.erman.ermandom.com)(PORT=1522)))

STATUS of the LISTENER

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

Alias                     PREPROD

Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production

Start Date                02-JUL-2014 15:57:42

Uptime                    0 days 18 hr. 32 min. 43 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /u01/oracle/product/11.2.0.3/db/network/admin/PREPROD_erppreprod/listener.ora

Listener Log File         /u01/oracle/product/11.2.0.3/db/admin/PREPROD_erppreprod/diag/tnslsnr/erppreprod/preprod/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=erppreprod.erman.ermandom.com)(PORT=1522)))

Services Summary...

Service "PREPROD" has 2 instance(s).

  Instance "PREPROD", status UNKNOWN, has 1 handler(s) for this service...

  Instance "PREPROD", status READY, has 1 handler(s) for this service...

Service "PREPROD_patch" has 1 instance(s).

  Instance "PREPROD", status READY, has 1 handler(s) for this service...

Service "ebs_patch" has 1 instance(s).

  Instance "PREPROD", status READY, has 1 handler(s) for this service...

The command completed successfully

Okay, Now it is listening for PREPROD_patch..

So , lets execute our post clone process again.. (because it says: Re-Run the entire cloning cycle , after fixing the problem)

First clean what we have done before and recreate the fs1 directory

$rm -fR fs1/

$ls

backup_sil  EBSapps.env  fs2  fs_ne  lost+found  oracle

$mkdir fs1

$cp -RH fs2/EBSapps/ fs1/

Then, re-execute  adcfgclone.pl appsTier from the patch edition filesystem.

/u01/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /u01/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/fs1/EBSapps/comn/clone/jlib/java:/u01/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.ApplyAppsTier -e /u01/fs1/inst/apps/PREPROD_erppreprod/appl/admin/PREPROD_erppreprod.xml -stage /u01/fs1/EBSapps/comn/clone    -showProgress -nopromptmsg 

Log file located at /u01/fs1/inst/apps/PREPROD_erppreprod/admin/log/clone/ApplyAppsTier_07031059.log

  -    100% completed       

Completed Apply...

Thu Jul  3 11:13:55 2014

Looking for incomplete CLONE record in ad_adop_session_patches table

The CLONE record status is no rows selected

Updating incomplete CLONE record to COMPLETED

Yes! This time ,it runs successful...

Now we are ready to start our cloned evironment..

Starting our clone environment:



Lastly we source our run environment and start our application services on the cloned environment.
. /u01/EBSApps.env run 

cd $ADMIN_SCRIPTS_HOME

sh adstrtal.sh apps/apps

That's it...  Our clone environment is up&running. Optionally, we can do other post clone stuff at this point.. I mean, we can change site name and color of the Forms screens, or we can mask our sensitive data etc..

时间: 2024-11-03 18:55:49

R12.2克隆patch fs报错——Rapid Clone completed successfully , but the AutoConfig run recorded some errors的相关文章

rhel6.4 with R12.1.3 Apache启动报错 libdb-4.3.so不存在

Apache/Apache/bin/httpd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: No such file or directory* solution # cd /usr/lib# ln -s libdb-4.7.so libdb-4.3.so However there is no libdb-4.7.so library there to link to.

mac eclipse svn已安装javaHL,仍报错,不是版本问题

问题描述 mac eclipse svn已安装javaHL,仍报错,不是版本问题 已安装javaHL但仍报错,不是版本问题,报错如下: Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl-1 in java.library.path /Library/Java/Extensions/libsvnjavahl-1.dylib: dlopen(/Library/Java/

【SVN】总结(2):svn报错(2016-03-23)

1.更新报错: svn"Previous operation has not finished; run 'cleanup' if it was interrupted" 2.原因: 上次cleanup中断,导致无法更新,需要cleanup,但是cleanup也出错,cleanup进入一个死循环 3.解决方案: 使用sqlite清空svn的工作队列,就可以进行cleanup操作了 4.步骤: 清空svn的队列 1)下载sqlite3.exe    2)找到你项目的.svn文件,查看是否

在ubuntu 下运行一个java webapp项目,tomcat6控制台报错

问题描述 报错信息如下:java.io.IOException: Cannot run program "ipconfig": java.io.IOException: error=2, No such file or directoryat java.lang.ProcessBuilder.start(ProcessBuilder.java:460)at java.lang.Runtime.exec(Runtime.java:593)at java.lang.Runtime.exec

Intel Rapid start报错”您的系统似...Start Technology“

  故障现象: Intel Rapid start报错您的系统似乎尚未启用Intel Rapid Start Technology,如下图: 原因分析: 1. BIOS下没有开启Intel Rapid start技术. 2. 在系统下已安装Intel Rapid start程序情况下休眠分区被破坏或不存在. 解决方案: 1. 进入磁盘管理查看休眠分区是否存在,如果不存在请按搜索常见问题,文章编号:092784,按照文章引导创建; 2. 如果休眠分区正常需要进入:BIOS---config---p

Intel Rapid start报错”您的系统似乎尚未启用Intel Rapid Start Technology“

故障现象: Intel Rapid start报错您的系统似乎尚未启用Intel Rapid Start Technology,如下图: 原因分析: 1. BIOS下没有开启Intel Rapid start技术. 2. 在系统下已安装Intel Rapid start程序情况下休眠分区被破坏或不存在. 解决方案: 1. 进入磁盘管理查看休眠分区是否存在,如果不存在请按搜索常见问题,文章编号:092784,按照文章引导创建: 2. 如果休眠分区正常需要进入:BIOS---config---pow

oracle中asm alertlog大量报错Voting file relocation is required in diskgroup

客户将asm的实例配置错了主机,asm1运行在节点2,asm2运行在节点1,在进行de-config和re-config之后,asm的alertlog大量报错: SYMPTOMS: NOTE: Attempting voting file refresh on diskgroup GRID NOTE: Voting file relocation is required in diskgroup GRID NOTE: Attempting voting file relocation on di

AIX 系统 EBS form 打开报错FRM-92101: FORM server在启动过程中失败

克隆或者安装好系统后,发现form打不开,报错截图: 根据oracle 官方文档:R12: "FRM-92101:There was a failure in the Forms Server during startup" Error When Attempting to Launch Forms [ID 454427.1] Oracle Applications Technology Stack - Version 12.0.4 to 12.2 [Release 12.0 to 1

windows 7环境下eclipse连接hadoop 1.2.1报错解决方法

Win7环境下通过eclipse连接hadoop1.2.1集群时,会遇到如下报错: Exception in thread "main" java.io.IOException: Failed to set permissions of path: \tmp\hadoop-Administrator\mapred\staging\Administrator-519341271\.staging to 0700 此时只需要修改org.apache.hadoop.fs.FileUtil文件