Tag Archives: adcfgclone.pl

adcfgclone.pl appsTier dualfs

DUALFS – new feature is introduced in the latest AD-TXK Delta 7. 

This feature will create both the filesystems fs1 and fs2 during the clonning process.

[appldev@ebbs-app01]$ perl adcfgclone.pl appsTier dualfs

Copyright (c) 2002, 2015 Oracle Corporation
Redwood Shores, California, USA

Oracle E-Business Suite Rapid Clone

Version 12.2

adcfgclone Version 120.63.12020000.56

Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] :
Running: Context clone…

Log file located at /EBS/oracle/fs1/EBSapps/comn/clone/bin/CloneContext_2123174759.log

Provide the values required for creation of the new APPL_TOP Context file.

Target System Hostname (virtual or normal) [ebs-app01] :

Target System Database SID : oracle

Target System Database Server Node [ebs-app01] : ebs-db01

Target System Database Domain Name [oracle.com] :

Target System Base Directory : /EBS/oracle

Target System Base Directory set to /EBS/oracle

Target System Current File System Base set to /EBS/oracle/fs1

Target System Other File System Base set to /EBS/oracle/fs2

Target System Fusion Middleware Home set to /EBS/oracle/fs1/FMW_Home
Target System Other File System Fusion Middleware Home set to /EBS/oracle/fs2/FMW_Home

Target System Web Oracle Home set to /EBS/oracle/fs1/FMW_Home/webtier
Target System Other File System Web Oracle Home set to /EBS/oracle/fs2/FMW_Home/webtier

Target System Appl TOP set to /EBS/oracle/fs1/EBSapps/appl
Target System Other File System Appl TOP set to /EBS/oracle/fs2/EBSapps/appl

Target System COMMON TOP set to /EBS/oracle/fs1/EBSapps/comn
Target System Other File System COMMON TOP set to /EBS/oracle/fs2/EBSapps/comn

Target System Instance Home Directory [/EBS/oracle] : /EBS/oracle

Target System Current File System Instance Top set to /EBS/oracle/fs1/inst/apps/oracle_ebs-app01

Do you want to preserve the Display [ebs-papp01:0.0] (y/n) : n

Target System Display [ebs-app01:0.0] :

Target System Root Service [enabled] :

Target System Web Entry Point Services [enabled] :

Target System Web Application Services [enabled] :

Target System Batch Processing Services [enabled] :

Target System Other Services [disabled] :

Do you want the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 0

Checking the port pool 90
done: Port Pool 90 is free
Report file located at /EBS/oracle/fs1/inst/apps/oracle_ebs-app01/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /usr/tmp
3. /EBS/oracle/product/12.1.0/appsutil/outbound/oracle_ebs-app01
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] : 3
The new APPL_TOP context file has been created :
/EBS/oracle/fs1/inst/apps/oracle_ebs-app01/appl/admin/oracle_ebs-app01.xml
Check Clone Context logfile /EBS/oracle/fs1/EBSapps/comn/clone/bin/CloneContext_2123184759.log for details.

Creating Patch file system context file…..

Log file located at /EBS/oracle/fs1/EBSapps/comn/clone/bin/CloneContextPatch_2123184843.log

Target System Other File System Instance Top set to /EBS/oracle/fs2/inst/apps/oracle_ebs-app01

Target System Port Pool [0-99] : 2

Thank You !!

NLS boot file not found or invalid opmnctl ping – EBS 12.2 ADCFGCLONE FAIL

adcfgclone.pl failed while performing clone of EBS 12.2 instance. This occurred while ohsT2PApply is in progress.

ERROR:

INST_TOP/admin/log/clone/run/ohsT2PApply/CLONE2016-02-02_13-10-02_599255196.error:
2015-12-02T3:10:04-06:00] [opmn] [ERROR:1] [] [internal]...
2015-12-02T13:10:04-06:00] [opmn] [ERROR:1] [] [internal] lxlinit - NLS boot file not found or invalid
opmnctl ping: error parsing /u01/tech_st/fs1/FMW_Home/webtier/instances/EBS_web_EBDEV_OHS1/config/OPMN/opmn/opmn.xml
[2015-12-02T3:10:04-06:00] [opmn] [ERROR:1] [105] [internal] XML parser init: character set initialization failed.
SEVERE : Dec 2, 2016 03:10:04 - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Dec 2, 2016 03:10:04 - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Dec 2, 2016 03:10:04 - ACTION - CLONE-20218   Provide the clone log and error file for investigation.

Solution:

Issue is because of existing environment variables. Before executing the adcfgclone verify any of the the environment is set. If already set please try to unset and run adcfgclone.

Else, Unset the following environment:
ORA_NLS10
TNS_ADMIN
ORACLE_HOME

 

Thank You !!

 

 

R12.2 Adcfgclone.pl ERROR Exit Code 255

when attempting to run perl adcfgclone.pl appsTier, the following error occurs:

ERROR:

Log file located at /local/FDEV/fs2/inst/apps/FDEV_lapdev01/admin/log/clone/ApplyAppsTier_05301531.log
– 50% completed
ERROR while running Apply…
Fri May 30 17:37:39 2014
ERROR: Failed to execute /fs02/app/FDEV/apps/fs2/EBSapps/comn/clone/bin/adclone.pl

 

CAUSE:

The admin server logs are located under:
$EBS_DOMAIN_HOME/servers/AdminServer/logs directory

java.io.FileNotFoundException: /var/tmp/.ovdlock.tmp (Permission denied)
Caused By: oracle.security.jps.JpsRuntimeException: JPS-02592: Failed to push ldap config data to libOvd for service instance “idstore.ldap” in JPS context “default”, cause: java.io.FileNotFoundException: /var/tmp/.ovdlock.tmp (Permission denied)

This is caused by the file “/var/tmp/.ovdlock.tmp” having been created by another test iteration by a different UNIX user.
The current clone cannot succeed because the file cannot be over-written.

SOLUTION:

1. Rename or delete the file:
$ mv /var/tmp/.ovdlock.tmp /var/tmp/.ovdlock.tmp.bak

2. Restart the clone command:
$ perl adcfgclone.pl appsTier

 

Thank You !!