測試的DB是9.2.0.7,而EBS則是11i,因為上傳檔案佔用太多空間,而且都只是使用一次就不再更新,
因此想縮小FND_LOBS的大小
找出 FND_LOBS 的欄位 FILE_DATA 的 Segment Name
select * from dba_lobs where table_name = 'FND_LOBS';
目前分類:OracleERP (94)
- Nov 14 Thu 2013 11:18
EBS 清除 FND_LOBS 過大的附件空間
- Nov 13 Wed 2013 15:13
EBS Concurrent Request列印時產生的檔案
原因:$COMMON_TOP的剩餘空間越來越少,已經定期刪除Concurrent Request產生的log、output file
原來Request在有指定印表機列印的情形下,會產生列印的檔案。
- Nov 08 Fri 2013 11:21
查某個Item有無在BOM結構中
select msi.segment1 "Item",msi.description "Description" ,decode(count(1) ,0,'N','Y')
from BOM_BILL_OF_MATERIALS bom,
BOM_INVENTORY_COMPONENTS bic,
mtl_system_items_b msi
where bom.ASSEMBLY_ITEM_ID = msi.inventory_item_id
- Nov 04 Mon 2013 14:23
找EBS日曆中日期的星期幾
select calendar_date "日期", to_char(calendar_date,'Day') "星期幾"
from bom_calendar_dates bcd
WHERE bcd. calendar_code = 'FH Calenda' --行事曆名稱
AND bcd . calendar_date < to_date('20131130' , 'yyyymmdd')
and bcd . calendar_date >= to_date('20131101' , 'yyyymmdd') ;
- Oct 31 Thu 2013 09:29
EBS 11i的密碼原則
- Oct 30 Wed 2013 11:09
EBS 11i error:selected records could not be locked
- Oct 15 Tue 2013 16:37
PO手動結案,Item Supply/Demand仍有PO資料
- Oct 14 Mon 2013 09:26
停止EBS AP時,出現CONCSUB failed due to ORA-12224: TNS:no listener
EBS:11i
此ERP為正式環境Clone過來的測試機
在一次意外的停電,導致UPS也耗盡電量,整個機房在無預警之下強制停機,
主機重新開機後,執行adstrtal.sh並確認服務啟動時都是為status 0後,
在開啟ERP網頁卻出現500 Internal Server Error,但是詳細查看log卻啟動失敗的訊息。
只好執行adstpall.sh 將服務關閉,此時出現了下面的錯誤:
You are running adcmctl.sh version 115.28
Shutting down concurrent managers for CLONE ...
ORACLE error 12224 in CONCSUB
Cause: CONCSUB failed due to ORA-12224: TNS:no listener
.
The SQL statement being executed at the time of the error was: and was executed from the file .
adcmctl.sh: exiting with status 1
以ps -ef |grep tns去查詢lsnrctl,訊息如下:
oracle 27362 1 0 07:45:40 ? 0:03 /erptest/clonedb/9.2.0/bin/tnslsnr -inherit
把DB的listen先關閉:
$ lsnrctl stop
重開listen,但是加上SID
$ lsnrctl start CLONE
以ps -ef |grep tns去查詢lsnrctl:
oracle 27377 1 0 07:47:20 ? 0:03 /erptest/clonedb/9.2.0/bin/tnslsnr clone -inherit
重開AP,再查詢lsnrctl:
oracle 27377 1 0 07:47:20 ? 0:03 /erptest/clonedb/9.2.0/bin/tnslsnr clone -inherit
apps 27698 1 0 07:50:56 ? 0:00 /erptest/cloneora/8.0.6/bin/tnslsnr APPS_CLONE -inherit
實際測試ERP,已經ok了,原來是我自己在start lsnrctl時沒有指定SID。
- Aug 02 Fri 2013 16:46
Oracle ERP 如何在report中使用fnd_global.user_id
- Jul 02 Tue 2013 16:41
Trace Concurrent Request的執行過程
- Jul 01 Mon 2013 16:55
EBS錯誤:DISK I/O error on temporary record buffer file /var/tmp/...
DISK I/O error on temporary record buffer file /var/tmp/...
使用者也打電話反應要查詢一張有30筆料號的採購單時,只出現3筆料號。
到HP-UX下去查詢磁碟容量:
# bdf
- Jun 17 Mon 2013 14:52
PO已收料無法入庫,出現rvtptcontrol failed rvtth-115f
- Jun 10 Mon 2013 16:53
EBS Report Runtime--ar60run
$ ps -ef |grep ar60run
prodmgr 8786 13109 252 10:24:17 ? 175:38 ar60run P_CONC_REQUEST_ID=10284579 P_BREAK_ID='1' P_RPT_UOM='2'
- Jun 10 Mon 2013 09:43
解決Clone ERP時,發現目的端空間不足
星期日在Clone ERP時,雖然事前已檢查過測試機的容量,算一算應該是夠用,結果事與願違,
從正式區複製檔案到測試機的最後,系統提示空間不足。
於是開始想哪裡的檔案可以刪除,可是所有的檔案都是必要的,沒有辦法刪除。
最後想到正式區的undo與temp合計有80GB,測試區不用那麼大的空間。
- Jun 04 Tue 2013 10:12
PO的狀態為In process,無法作任何動作(OPEN、Cancel)
- Mar 18 Mon 2013 11:28
ERP無法支援罕見字
- Dec 14 Fri 2012 14:42
刪除Concurrent Request log and output files
之前都是直接到 log、output file的目錄下執行find . -mtime +7 -exec rm {} \;
可是這樣必須非常確定目前所在的目錄是正確的,否則後果很麻煩。
現在可以以下列的語法來刪除檔案,雖然步驟變多,但是安心許多。
- Dec 12 Wed 2012 11:13
EBS 11i 新增帳號時,出現ora -20002 [WF_NO_USER]…
- Nov 29 Thu 2012 14:04
解決User的Responsibility有重複的現象
Oracle ERP版本:11.5.10.2
- Nov 14 Wed 2012 08:24
在HP-UX上刪除EBS的out檔及log檔
find $COMMON_TOP/admin/out/test_hp7420 -mtime +14 -exec rm {} \;