在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
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
... 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.
我根據他的解決辦法,查看了下個人 /usr/X11R6目錄下竟然沒有lib目錄,確定是少安裝了上面那三個包,因而從網上找了我操做系統對應的這三個包,安裝後,測試,該錯誤解決。測試
額外的參考下這篇文章,他安裝的包,貌似跟我安裝的不同,可是也解決了:ui