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

相关文章
相关标签/搜索