现象如下:
Clone APPS tier时,执行了adcfgclone.pl后停在0%(12.0.X是停在3%)过不去,等待很长时间后(1小时左右),报错如下:
/ 0% completed RC-50004: Fatal: Error occurred in ApplyAppsTechStack:
RC-50013: Fatal: Failed to instantiate driver /apps/compard/apps/tech_st/10.1.2/appsutil/driver/regclone.drv
ERROR while running Apply...
Thu Sep 9 14:24:21 2010
ERROR: Failed to execute /apps/compard/apps/apps_st/comn/clone/bin/adclone.pl
然后退出,查看日志$INST_TOP/admin/log/Apply*.log,报错如下:
script returned:
****************************************************
Timed out( 3750000 ): Interrupted Exception
Beginning OUI CLI cloning for s_tools_ohThu Sep 9 13:20:31 2010
/apps/compard/apps/tech_st/10.1.3/jdk/bin/java -classpath /apps/compard/apps/apps_st/comn/clone/jlib/java:/apps/compard/apps/tech_st/10.1.2/oui/jlib/OraInstaller.jar:/apps/compard/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/apps/compard/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /apps/compard/inst/apps/COMPARD_sunt514001/appl/admin/TEST_sunt514001.xml -nolink -oaVar s_tools_oh -homestub tools -log /apps/compard/inst/apps/COMPARD_sunt514001/admin/log/ohclone.log
...
AutoConfig could not successfully execute the following scripts:
Directory: /apps/compard/apps/tech_st/10.1.3/perl/bin/perl -I /apps/compard/apps/tech_st/10.1.3/perl/lib/5.8.3 -I /apps/compard/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3 -I /apps/compard/apps/apps_st/appl/au/12.0.0/perl -I /apps/compard/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi /apps/compard/apps/tech_st/10.1.2/appsutil/clone
ouicli.pl INSTE8_APPLY -1
AutoConfig is exiting with status 1
再看/apps/compard/inst/apps/COMPARD_sunt514001/admin/log/ohclone.log,是在执行10.1.2 Clone时报的错。
处理过程:
猜想还是Global Inventory的问题,先是建立一个新目录/home/compard/oraInventory,并赋予0777的权限,在/var/opt/oracle/下建立oraInst.loc文件,内容为inventory_loc=/home/compard/oraInventory,继续Clone,出错信息变为:
Executing script in InstantiateFile:
/apps/compard/apps/tech_st/10.1.3/perl/bin/perl -I /apps/compard/apps/tech_st/10.1.3/perl/lib/5.8.3 -
I /apps/compard/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3 -I /apps/compard/apps/apps_st/appl/au/12
.0.0/perl -I /apps/compard/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/sun4-sol
aris-thread-multi /apps/compard/apps/tech_st/10.1.2/appsutil/clone/ouicli.pl
script returned:
****************************************************
Timed out( 3750000 ): Interrupted Exception
Beginning OUI CLI cloning for s_tools_ohFri Sep 10 11:21:50 2010
/apps/compard/apps/tech_st/10.1.3/jdk/bin/java -classpath /apps/compard/apps/