EBS R12.1.1 on Oracle Linux 64 5.7安装过程中碰到的两个问题
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 ...
1.2 尝试手动启动时,报了个错,然后HTTP_Server还是启动失败
-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