Oracle EBS R12.1.1 on Oracle Linux64 5.7
依赖包仅选了oracle-validated-1.1.0-14.el5,未作其他依赖包验证。
1. 安装到最后一步进行验证时,所有http有关的服务都失败
1.1 运行adapcctl.sh status发现HTTP_Server没起来
-bash-3.2$ ./adapcctl.sh status You are running adapcctl.sh version 120.7.12010000.2 Checking status of OPMN managed Oracle HTTP Server (OHS) instance ... Processes in Instance: r12dev_r12dev.r12dev.example.com ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- OC4JGroup:default_group | OC4J:oafm | 18056 | Alive OC4JGroup:default_group | OC4J:forms | 17984 | Alive OC4JGroup:default_group | OC4J:oacore | 17899 | Alive HTTP_Server | HTTP_Server | N/A | Down adapcctl.sh: exiting with status 0 adapcctl.sh: check the logfile /u01/r12dev/inst/apps/r12dev_r12dev/logs/appl/admin/log/adapcctl.txt for more information ...
-bash-3.2$ ./adapcctl.sh start You are running adapcctl.sh version 120.7.12010000.2 Starting OPMN managed Oracle HTTP Server (OHS) instance ... opmnctl: opmn is already running. opmnctl: starting opmn managed processes... ================================================================================ opmn id=r12dev.example.com:6200 0 of 1 processes started. ias-instance id=r12dev_r12dev.r12dev.example.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------------------------------------------------------------------------- ias-component/process-type/process-set: HTTP_Server/HTTP_Server/HTTP_Server/ Error --> Process (index=1,uid=973948283,pid=20250) failed to start a managed process after the maximum retry limit Log: /u01/r12dev/inst/apps/r12dev_r12dev/logs/ora/10.1.3/opmn/HTTP_Server~1.log adapcctl.sh: exiting with status 0 adapcctl.sh: check the logfile /u01/r12dev/inst/apps/r12dev_r12dev/logs/appl/admin/log/adapcctl.txt for more information ...
1.3 根据手动重起HTTP_Server的信息检查log,发现如下关键信息(未找到libdb.so.2):
tail /u01/r12dev/inst/apps/r12dev_r12dev/logs/ora/10.1.3/opmn/HTTP_Server~1.log /u01/r12dev/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
1.4 解决方法,安装gdbm包并做两个符号链接:
[root@r12dev r12dev]# yum install gdbm [root@r12dev r12dev]# ln -s /usr/lib64/libgdbm.so.2.0.0 /usr/lib64/libdb.so.2 [root@r12dev r12dev]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
oracle.forms.engine.RunformException: Forms session <1> failed during startup: no response from runtime process at oracle.forms.servlet.RunformProcess.connect(Unknown Source) at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source) at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source) at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619)
view /u01/r12dev/inst/apps/r12dev_r12dev/logs/ora/10.1.3/j2ee/forms/forms_default_group_1/application.log
... 12/11/17 16:29:46.851 formsweb: Forms session <1> aborted: runtime process failed during startup with errors /u01/r12dev/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 12/11/17 16:29:46.853 formsweb: Forms session <1> exception stack trace: oracle.forms.engine.RunformException: Forms session <1> failed during startup: no response from runtime process at oracle.forms.servlet.RunformProcess.connect(Unknown Source) at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source) at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source) at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619)
2.2 解决方法,安装openmotif包并增加两个符号链接:
[root@r12dev ~]# yum install openmotif [root@r12dev ~]# ln -s /usr/lib64/libXm.so.4 /usr/lib64/libXm.so.2 [root@r12dev ~]# ln -s /usr/lib/libXm.so.4 /usr/lib/libXm.so.2