Post-Clone AP時出現要Failed to execute adclone.pl
$ perl adcfgclone.pl appsTier
Enter the APPS password [APPS]:
XXXXX
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
Provide the values required for creation of the new APPL_TOP Context file.
Do you want to use a virtual hostname for the target node (y/n) [n] ?:n
Target system database SID [PROD]:
Username for the applications file system owner [prodmgr]:testmgr
Target system database server node [f511]:fudr
Target system database domain name [ccc.com.tw]:
Does the target system have more than one application tier server node (y/n) [y] ?:n
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?:n
Target system APPL_TOP mount point [/erpap/prodappl]:/erpdr/AP/testappl
Target system COMMON_TOP directory [/erpap/prodcomn]:/erpdr/AP/testcomn
Target system 8.0.6 ORACLE_HOME directory [/erpap/prodora/8.0.6]:/erpdr/AP/testora/8.0.6
Target system iAS ORACLE_HOME directory [/erpap/prodora/iAS]:/erpdr/AP/testora/iAS
Do you want to preserve the Display set to f511:1.0 (y/n) [y] ?:n
Target system Display [fudr:0.0]:
Location of the JDK on the target system [/usr/jdk/instances/jdk1.6.0]:
Target system JRE_TOP [/usr/jdk/instances/jdk1.6.0]:
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:
Complete port information available at /erpdr/AP/testappl/admin/out/PROD_fudr/portpool.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp/prod
3. /erpdr/DB/product/11.2.0/appsutil/outbound/PROD_f511
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1]:
Creating the new APPL_TOP Context file from :
/erpdr/AP/testappl/ad/11.5.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/erpdr/AP/testappl/admin/PROD_fudr.xml
Log file located at /tmp/CloneContext_0617042722.log
這裡有提示執行的command及帶入的參數
Running Rapid Clone with command:
perl /erpdr/AP/testcomn/clone/bin/adclone.pl java=/erpdr/AP/testcomn/clone/bin/../jre/jre mode=apply
stage=/erpdr/AP/testcomn/clone/bin/.. component=appsTier method=CUSTOM
appctxtg=/erpdr/AP/testappl/admin/PROD_fudr.xml showProgress contextValidated=true
The 806 installer uses the oratab file.
The file oratab needs to exist at: /var/opt/oracle/oratab
Rapid Clone will use the oraInst.loc file.
The file oraInst.loc needs to exist at: /erpdr/AP/testora/iAS
Creating the oraInst.loc in the ORACLE HOME now...
Please run the script /tmp/orainstRoot.sh as root
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /erpdr/AP/testcomn/clone/bin/adclone.pl
這個錯誤已經有提示了:Please run the script /tmp/orainstRoot.sh as root
用root登入後,再去執行 /tmp/orainstRoot.sh
重新執行上面有錯誤的腳本adclone.pl,注意手動執行這個腳本不會有進度百分比的出現,直接監控log
$ perl /erpdr/AP/testcomn/clone/bin/adclone.pl java=/erpdr/AP/testcomn/clone/bin/../jre/jre \
mode=apply stage=/erpdr/AP/testcomn/clone/bin/.. component=appsTier method=CUSTOM \
appctxtg=/erpdr/AP/testappl/admin/PROD_fudr.xml
Beginning application tier Apply - Tue Jun 17 16:34:24 2014
APPS Password : dorp02apps47
Log file located at /erpdr/AP/testappl/admin/PROD_fudr/log/ApplyAppsTier_06171634.log
成功完成後,開啟AP就完成了
-
Windows7 / Windows8 kill process Linux下要刪除某個程序通常會使用 ps 配合 kill 來刪除程序。 例如:ps -ef |grep [PROCESS NAME] kill -9 [PID] 在Windows下,通常是...
-
利用Win 10的工作排程器來設定每日自動執行的批次檔,單獨執行批次檔沒問題,但是放在排程上就是無法執行。 後來試了幾種網路上提供的方式,其注意的事項如下: 1、在「安全性選項」選擇「只有使用者登入時才執行」並取消「以最高權限執行」。 2、在「設定」中選擇「Win...
-
因為寫程式時剛好用到sin、cos等數學函數,但是傳入值都是徑度(單位圓上角度所對的弧長為該角度的徑度), 而不是角度,所以找到了換算的方法,順道也記錄下來。 已知 pi=3.1415 已知 圓周長=半徑*2*pi 已知 一個圓有360度 所以 1徑度=半徑...