Contact Premier Online Trainings Today
Premier Online Trainings

Oracle Apps DBA - adcfgclone.pl appsTier dualfs ERROR: Context creation not completed successfully.

Date Added: 24 Mar.2020 Date Updated: 24 Mar.2020 Oracle Apps DBA Full Blog

adcfgclone.pl appsTier dualfs ERROR: Context creation not completed successfully.

issue

[applmgr@erp122 bin]$ 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.62
 
Enter the APPS password : 
chmod: cannot access `/u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/../FMW/tempinfoApps.txt': No such file or directory
 
Enter the Weblogic AdminServer password : 
chmod: cannot access `/u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/../FMW/tempinfo.txt': No such file or directory
chmod: cannot access `/u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/../FMW/EBSDataSource': No such file or directory
 
Do you want to add a node (yes/no) [no] : 
 
 
Running: Context clone...
 
ERROR: Context creation not completed successfully.
For additional details review the file /tmp/adcfgclone_19505.err if present.
 
[applmgr@erp122 bin]$ 
 
 
the below error in logfile
[oracle@erp122 oradev]$ cat /tmp/adcfgclone_19505.err
sh: /u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/../jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[oracle@erp122 oradev]$
 
 
solution:
 
[oracle@erp122 ~]$ ls -tlr /usr/lib/libgdbm.so.2.0.0
ls: cannot access /usr/lib/libgdbm.so.2.0.0: No such file or directory
[oracle@erp122 ~]$
[oracle@erp122 ~]$
[oracle@erp122 ~]$ ls -tlr /usr/lib/libdb.so.2
ls: cannot access /usr/lib/libdb.so.2: No such file or directory
[oracle@erp122 ~]$
 
- Install Packages using YUM
$yum install oracle-ebs-server-R12-preinstall
 
[oracle@erp122 ~]$ ls -tlr /usr/lib/libgdbm.so.2.0.0
-rwxr-xr-x. 1 root root 24876 Mar 22  2016 /usr/lib/libgdbm.so.2.0.0
[oracle@erp122 ~]$ ls -tlr /usr/lib/libdb.so.2
ls: cannot access /usr/lib/libdb.so.2: No such file or directory
[oracle@erp122 ~]$ exit
 
CREATE A SOFT LINK
[root@erp122 oradev]# ln -sf /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
[root@erp122 oradev]# ls -tlr /usr/lib/libdb.so.2
lrwxrwxrwx. 1 root root 25 Mar 24 16:59 /usr/lib/libdb.so.2 -> /usr/lib/libgdbm.so.2.0.0
[root@erp122 oradev]#
 
 
[applmgr@erp122 bin]$ 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.62
 
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 /u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/CloneContext_0324170033.log
 
Provide the values required for creation of the new APPL_TOP Context file.
 
Target System Hostname (virtual or normal) [erp122] : 
 
Target System Database SID : DEV
 
Target System Database Server Node [erp122] : 
 
Target System Database Domain Name [premier.com] : 
 
Target System Base Directory : /u02/appdev/DEV
 
Target System Base Directory set to /u02/appdev/DEV
 
Target System Current File System Base set to /u02/appdev/DEV/fs1
 
Target System Other File System Base set to /u02/appdev/DEV/fs2
 
Target System Fusion Middleware Home set to /u02/appdev/DEV/fs1/FMW_Home
Target System Other File System Fusion Middleware Home set to /u02/appdev/DEV/fs2/FMW_Home
 
Target System Web Oracle Home set to /u02/appdev/DEV/fs1/FMW_Home/webtier
Target System Other File System Web Oracle Home set to /u02/appdev/DEV/fs2/FMW_Home/webtier
 
Target System Appl TOP set to /u02/appdev/DEV/fs1/EBSapps/appl
Target System Other File System Appl TOP set to /u02/appdev/DEV/fs2/EBSapps/appl
 
Target System COMMON TOP set to /u02/appdev/DEV/fs1/EBSapps/comn
Target System Other File System COMMON TOP set to /u02/appdev/DEV/fs2/EBSapps/comn
 
Target System Instance Home Directory [/u02/appdev/DEV] : 
 
Target System Current File System Instance Top set to /u02/appdev/DEV/fs1/inst/apps/DEV_erp122
 
Do you want to preserve the Display [ebs122:0.0] (y/n)  : n
 
Target System Display [erp122:0.0] : erp122: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 0
done: Port Pool 0 is free
Report file located at /u02/appdev/DEV/fs1/inst/apps/DEV_erp122/admin/out/portpool.lst
 
Target System proxy port [80] : 
 
UTL_FILE_DIR on database tier consists of the following directories.
 
1. /usr/tmp
2. /usr/tmp
3. /u01/oradev/DEV/12.1.0/appsutil/outbound/DEV_erp122
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] : 
The new APPL_TOP context file has been created :
  /u02/appdev/DEV/fs1/inst/apps/DEV_erp122/appl/admin/DEV_erp122.xml
Check Clone Context logfile /u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/CloneContext_0324170033.log for details.
 
Creating Patch file system context file.....
 
Log file located at /u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/CloneContextPatch_0324170355.log
 
Target System Other File System Instance Top set to /u02/appdev/DEV/fs2/inst/apps/DEV_erp122
 
Target System Port Pool [0-99] : 10
 
Checking the port pool 10
done: Port Pool 10 is free
Report file located at /u02/appdev/DEV/fs2/inst/apps/DEV_erp122/admin/out/portpool.lst
The new APPL_TOP context file has been created :
  /u02/appdev/DEV/fs2/inst/apps/DEV_erp122/appl/admin/DEV_erp122.xml
Check Clone Context logfile /u02/appdev/DEV/fs1/EBSapps/comn/clone/bin/CloneContextPatch_0324170355.log for details.
 
FMW Pre-requisite check log file location : /u02/appdev/DEV/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: FMW pre-req check...
 
Configuring: Run file system....
LogFile located at /u02/appdev/DEV/fs1/inst/apps/DEV_erp122/admin/log/clone/run/RCloneApplyAppstier_03241704.log
<Mar 24, 2020 5:49:39 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.> 
 
Configuring: Patch file system....
LogFile located at /u02/appdev/DEV/fs1/inst/apps/DEV_erp122/admin/log/clone/patch/RCloneApplyAppstier_03241759.log
 
 
Do you want to startup the Application Services for DEV? (y/n) [n] : n
 
Services not started
 
[applmgr@erp122 bin]$