Error:
When attempting to run command adcfgclone.pl appsTier dualfs while cloning the following error occurs.
Exception in getting inventory Loc : null
StackTrace:
java.lang.NullPointerException at java.io.File.<init>(File.java:251)
… continuous….
Command returned
ERRORCODE = 127 ERRORCODE_END
.end std out.
sh: /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/oui/bin/linux32: No such file or directory
… continuous….
WARNING: Command sh -c “/opt/ebsapps/<…>/fs1/EBSapps/10.1.2/oui/bin/linux32 runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /var/opt/ebsapps/<..>/instance/fs1/inst/apps/<$CONTEXT_NAME>/admin/oraInst.loc session:ORACLE_HOME=/opt/ebsapps/<..>/fs1/EBSapps/10.1.2/ oracle.as.j2ee.top:s_asInstanceName=TOOLS_<SID> oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=TOOLS_<SID> ; echo ERRORCODE = $? ERRORCODE_END” failed.
ERROR: OUI CLI cloning failed.
ERROR: Please look in to the latest OUI log file located in the central inventory /var/opt/ebsapps/<..>/instance/fs1/inst/apps/<$CONTEXT_NAME>/admin/oraInventory/logs/cloneActions_ for more details
Attempting to restore /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/oui/oraparam.ini.ouibak to /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/oui/oraparam.in
StackTrace:
java.lang.NullPointerException at java.io.File.<init>(File.java:251)
… continuous….
Command returned
ERRORCODE = 127 ERRORCODE_END
.end std out.
sh: /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/oui/bin/linux32: No such file or directory
… continuous….
WARNING: Command sh -c “/opt/ebsapps/<…>/fs1/EBSapps/10.1.2/oui/bin/linux32 runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /var/opt/ebsapps/<..>/instance/fs1/inst/apps/<$CONTEXT_NAME>/admin/oraInst.loc session:ORACLE_HOME=/opt/ebsapps/<..>/fs1/EBSapps/10.1.2/ oracle.as.j2ee.top:s_asInstanceName=TOOLS_<SID> oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=TOOLS_<SID> ; echo ERRORCODE = $? ERRORCODE_END” failed.
ERROR: OUI CLI cloning failed.
ERROR: Please look in to the latest OUI log file located in the central inventory /var/opt/ebsapps/<..>/instance/fs1/inst/apps/<$CONTEXT_NAME>/admin/oraInventory/logs/cloneActions_ for more details
Attempting to restore /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/oui/oraparam.ini.ouibak to /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/oui/oraparam.in
Solution :
1. Please check in the Clone target and confirm whether regclone.drv file is missing,
example: ls -l /opt/ebsapps/<..>/fs1/EBSapps/10.1.2/appsutil/driver/regclone.drv
2. If the file is missing, then application tier file system copy from Clone Source to Target not happened properly.
Copy Application tier file system files from Clone Source to Clone Target node need to perform again.
3. Run adcfgclone command.
perl adcfgclone.pl appsTier dualfs
Recent Posts