ITPub博客

首页 > 数据库 > Oracle > EBS克隆后无法访问主页404,500or400any way

EBS克隆后无法访问主页404,500or400any way

原创 Oracle 作者:kisslfcr 时间:2015-08-20 11:20:15 0 删除 编辑
新主机克隆ebs后,启动应用没有错误显示status 0,但是主页无法显示,查看apache日志:


在外国的博客中找到如下解决方案:

While starting Apache after clone we faced the following error.

[applmgr@trinity scripts]$ sh adapcctl.sh start
You are running adapcctl.sh version 120.7.12010000.2
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 204
adapcctl.sh: check the 

 Check the following log file : 
/db/VIS/inst/apps/VIS_doyen/logs/ora/10.1.3/opmn/HTTP_Server~1.log

Error :

/db/VIS/inst/apps/VIS_doyen/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/db/VIS/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


Cause:

http web server unable to start due to missing library.

Solution:

Create link for library file as below

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

Now start Apache and check the same.

[applmgr@DOYEN scripts]$ sh adapcctl.sh start
You are running adapcctl.sh version 120.7.12010000.2
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 0

Now you should be able to access the application.

解决思路:
无法访问很多情况下是apache的问题,大家一定要记住,解决问题一定要看日志!!
希望大家多一些原创内容,多做一些研究,不要让我们为了解决这点小问题还要去翻墙找外国人的博客。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29135257/viewspace-1777312/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-01-12

  • 博文量
    246
  • 访问量
    426070