FRM-92101:forms Server在啓動過程當中失敗

在rhel5 x64上完成ebs R12.1.1的基礎安裝,本地瀏覽器訪問測試的時候,出現以下問題:linux

根據錯誤提示,找到日誌產看緣由,日誌目錄:$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1web

echo $LOG_HOME       /u01/prod/inst/apps/TESTDB_lyg/logs瀏覽器

根據日誌內容:session

13/09/25 00:46:42 FormsServlet init(): 
    configFileName:     /u01/prod/inst/apps/TESTDB_lyg/ora/10.1.2/forms/server/appsweb.cfg
    testMode:           false
13/09/25 00:46:42 Oracle Containers for J2EE 10g (10.1.3.4.0)  initialized
13/09/25 02:05:19 Shutting down...
13/09/26 08:24:15 FormsServlet init(): 
    configFileName:     /u01/prod/inst/apps/TESTDB_lyg/ora/10.1.2/forms/server/appsweb.cfg
    testMode:           false
13/09/26 08:24:15 Oracle Containers for J2EE 10g (10.1.3.4.0)  initialized
13/09/26 08:31:03 ListenerServlet init() 
13/09/26 08:31:06 Forms session <1> aborted: runtime process failed during startup with errors /u01/prod/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory
——意思是說libXm.so.2這個庫文件找不到。

13/09/26 08:34:27 Forms session <2> aborted: runtime process failed during startup with errors /u01/prod/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory


13/09/26 09:28:32 Forms session <3> aborted: runtime process failed during startup with errors /u01/prod/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory


13/09/26 09:47:55 Forms session <4> aborted: runtime process failed during startup with errors /u01/prod/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory


13/09/26 09:53:45 Forms session <5> aborted: runtime process failed during startup with errors /u01/prod/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory


13/09/26 10:06:26 Forms session <6> aborted: runtime process failed during startup with errors /u01/prod/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory


13/09/26 10:24:33 Shutting down OC4J...
13/09/26 11:06:31 FormsServlet init(): 
    configFileName:     /u01/prod/inst/apps/TESTDB_lyg/ora/10.1.2/forms/server/appsweb.cfg
    testMode:           false
13/09/26 11:06:31 Oracle Containers for J2EE 10g (10.1.3.4.0)  initialized
13/09/26 11:08:13 Shutting down...
13/09/26 11:10:25 FormsServlet init(): 
    configFileName:     /u01/prod/inst/apps/TESTDB_lyg/ora/10.1.2/forms/server/appsweb.cfg
    testMode:           false
13/09/26 11:10:25 Oracle Containers for J2EE 10g (10.1.3.4.0)  initialized
oracle


根據以上錯誤,從谷歌上查找解決辦法,搜到一篇有用的文章:app


Error while loading shared libraries: libXm.so.2:
                                                 Last update (2012-07-14 18:24:23)
                                                                                                                   Date added (2012-05-22 11:09:17)

Summary 
Settting up a new clone R12.1.3 to a fresh linux machine, when i call any form i get the error:

FRM-92101 There was a failure in the Forms server during startup. 
This could happen due to an invalid configuration.
Please look into the web server log for the details.

Details...
Java Exception:
oracle.forms.net.ConnectionException...
...
Looking at the forms server log 
$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1/formsstd.out
...
12/05/22 02:21:00 Forms session <1> aborted: runtime process failed during startup with errors 
/u01/saudi_arabia_ar/apps/tech_st/10.1.2/bin/frmweb: error while 
loading shared libraries: libXm.so.2: cannot open shared object file: 
No such file or directory
...
Because the machine is a new Linux server i was missing the directory: /usr/X11R6/lib
In the directory must exist and the  libXm.so.2 

Workaround: 

Create directory and copy paste the contents of /usr/X11R6/lib from another server that exists libXm.so.2 or download it from the internet for your specific linux version. 

Or if you are missing the prerequisite rpms, install the following RPM packages: 
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1 
libXp-1.0.0-8.1.el5 
openmotif21-2.1.30-11.EL5

我根據他的解決辦法,查看了下個人 /usr/X11R6目錄下竟然沒有lib目錄,確定是少安裝了上面那三個包,因而從網上找了我操做系統對應的這三個包,安裝後,測試,該錯誤解決。測試


額外的參考下這篇文章,他安裝的包,貌似跟我安裝的不同,可是也解決了:ui

https://forums.oracle.com/thread/864255
spa

相關文章
相關標籤/搜索