Beginning application tier Apply - Thu Apr 12 20:25:37 2012
/data02/appluat/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /data02/appluat/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data02/appluat/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/data02/appluat/apps/apps_st/comn/clone/jlib/java:/data02/appluat/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/data02/appluat/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/data02/appluat/apps/apps_st/comn/clone/jlib/oui/share.jar:/data02/appluat/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/data02/appluat/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /data02/appluat/inst/apps/uat1_dgitr04-ts/appl/admin/uat1_dgitr04-ts.xml -stage /data02/appluat/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at /data02/appluat/inst/apps/uat1_dgitr04-ts/admin/log/ApplyAppsTier_04122025.log
| 79% completed
APPS Password : Log file located at /data02/appluat/inst/apps/uat1_dgitr04-ts/admin/log/ApplyAppsTier_04122025.log
| 79% completed
ERROR while running Apply...
Thu Apr 12 21:06:26 2012
ERROR: Failed to execute /data02/appluat/apps/apps_st/comn/clone/bin/adclone.pl
Please check logfile.
首先找到报错log文件, 这里是 /data02/appluat/inst/apps/uat1_dgitr04-ts/admin/log/ApplyAppsTier_04122025.log
打开Log文件, shift+G , 到log文件最后 ,一般报错都在最后有summary .
[SETUP PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /data02/appluat/inst/apps/uat1_dgitr04-ts/admin/scripts/msc
mscmatlab.sh INSTALL_SETUP 127
然后在log文件中查找 mscmatlab.sh 文件, 查找到报错原因相对明显的部分,比如: 明显是unzip未找到,可能是路径PATH的问题 。 我们需要 which unzip 查看 unzip 文件在哪里 。
Executing script. in InstantiateFile:
/data02/appluat/inst/apps/uat1_dgitr04-ts/admin/scripts/msc/mscmatlab.sh
/data02/appluat/inst/apps/uat1_dgitr04-ts/admin/scripts/msc/mscmatlab.sh
script. returned:
****************************************************
****************************************************
mscmatlab.sh started at Thu Apr 12 21:05:54 GMT+08:00 2012
Deploying Demantra Library, Please Wait ...
Demantra MatLab Library is copied to SHT_TOP/lib
mscmatlab.sh: exiting with status 127
ERRORCODE = 127 ERRORCODE_END
.end std out.
/data02/appluat/inst/apps/uat1_dgitr04-ts/admin/scripts/msc/mscmatlab.sh[45]: unzip: not found
cp: /data02/appluat/inst/apps/uat1_dgitr04-ts/temp/demantralib/aix/*.*: No such file or directory
.end std out.
/data02/appluat/inst/apps/uat1_dgitr04-ts/admin/scripts/msc/mscmatlab.sh[45]: unzip: not found
cp: /data02/appluat/inst/apps/uat1_dgitr04-ts/temp/demantralib/aix/*.*: No such file or directory
本文转自ITPUB博客tolywang的博客,原文链接:adcfgclone.pl appsTier报错某些sh执行错误处理,如需转载请自行联系原博主。