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就完成了
-
在電腦版的Line輸入文字時,遇到需要換行的情形時,我都是用記事本先寫好再複製上去,這樣就可以有換行的效果,可是這樣的做法好像失去Line的便利性。 於是查了一下,原來有一個設定可以指定Enter換行,而不是發訊息出去。 完成設定之後,要發送訊息就改用Al...
-
Windows7 / Windows8 kill process Linux下要刪除某個程序通常會使用 ps 配合 kill 來刪除程序。 例如:ps -ef |grep [PROCESS NAME] kill -9 [PID] 在Windows下,通常是...
-
在7月份的時候,利用Google地圖查詢官田區的路線,偶然發現「官田新訓中心(度假村)」,地點卻是我以前當兵時的新訓中心,難道當年的官田新訓中心已經被裁撤,改為飯店還是觀光景點嗎? 將Google地圖轉為街景模式,看見的還是新訓中心的門口,幾乎與我腦中的印象一樣,沒有什...