請求報紅,REP-3000,REP-57054操作

環境信息:

EBS----------------12.1.3

RDBMS-----------11.2.0.3.0

OS-----------Linux 5

Symptoms

最近客戶在測試環境做UAT測試,但是所有報表請求報紅。錯誤如下:

REP-0004: 警告: 無法打開用戶首選項文件。

REP-3000: 啓動 Oracle Toolkit 時發生內部錯誤。

REP-3000: 啓動 Oracle Toolkit 時發生內部錯誤。

REP-0069: 內部錯誤

REP-57054: In-process job terminated:Terminated with error:

REP-3000: 啓動 Oracle Toolkit 時發生內部錯誤。

Cause

這個錯誤是很常見的。基本可以定位原因爲DISPLAY設置問題。

客戶測試環境時最新克隆的,查了一下$CONTEXT_FILE裏display的設置爲ebstest:0.0,服務器又沒有啓用0端口的VNC,所以就直接啓動了VNC 0端口,請求還是報紅。

export DISPLAY=ebstest:0.0再重啓forms,還是出錯,很奇怪。

於是跑了一下非報表的請求,請求成功運行完成。爲什麼所有的報表都不行?

Solution

最後根據note:ID 742122.1中提示,查看了一下應用層$ORACLE_HOME/bin/reports.sh裏DISPLAY的值,腳本中DISPLAY爲ebsapp:1.0該值爲正式環境的設置。

也就是說在clone的時候reports.sh裏的DISPLAY沒有改變。

note中說明如下:

The issue was found to be caused by the DISPLAY variable used by reports still being set to the source instance and since the server name for the old node is not resolved by DNS, reports is unable to connect to it. The script appsrwrun.sh calls reports.sh, in this file the DISPLAY variable is reset and reports.sh was not updated by cfgclone/autoconfig to a new DISPLAY value.

最後將reports.sh中DISPLAY修改爲ebstest:0.0,重啓forms,問題解決。。。。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章