12
返回列表 发新帖
楼主: sterlingwu

OC4J_SECURITY 启动失败,如何查找原因解决

[复制链接]
论坛徽章:
132
懒羊羊
日期:2015-03-27 23:10:30灰彻蛋
日期:2011-07-02 08:52:54现任管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:举重
日期:2011-04-18 14:05:482010广州亚运会纪念徽章:拳击
日期:2011-03-09 14:42:092011新春纪念徽章
日期:2011-02-18 11:42:472011新春纪念徽章
日期:2011-02-03 10:32:092011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
11#
发表于 2007-3-12 08:43 | 只看该作者
一个服务一启动,就会得到一个 进程 号,这个进程号是写在 .pid 文件中的。

要关闭这一服务, opmn 就根据这 .pid 文件得到进程号,然后 kill 这一进程,接下来删除该文件。

你要是停止所有的服务,就不该还有 .pid 文件留着。

使用道具 举报

回复
论坛徽章:
2
参与2007年甲骨文全球大会(中国上海)纪念
日期:2007-08-06 15:19:01ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44
12#
 楼主| 发表于 2007-3-12 09:58 | 只看该作者
刚刚的操作是:先删除pid文件,再重起操作系统,启动框架服务。还是失败。  ------------  ipm.log 内容为:
07/03/10 09:04:29 [4] Request 251930 Started.  Command: stop
07/03/10 09:04:29 [4] Stopping Process: OID~OID~OID~1 (2089680899:21337)
07/03/10 09:04:29 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (2112552966:4595)
07/03/10 09:04:29 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (2112552967:5356)
07/03/10 09:04:31 [4] Process Stopped: OID~OID~OID~1 (2089680899:21337)
07/03/10 09:04:31 [4] Process Stopped: HTTP_Server~HTTP_Server~HTTP_Server~1 (2112552966:4595)
07/03/10 09:04:31 [4] Process Stopped: OC4J~OC4J_SECURITY~default_island~1 (2112552967:5356)
07/03/10 09:04:31 [4] Request 251930 Completed. Command: stop
07/03/10 09:04:31 [4] OPMN server stopped.  Request handling disabled.
07/03/10 09:04:31 [4] Request 251931 Started.  Command: shutdown
07/03/10 09:04:31 [4] Stopping Process: dcm-daemon~dcm-daemon~dcm~1 (2103967748:22968)
07/03/10 09:04:33 [4] Process Stopped: dcm-daemon~dcm-daemon~dcm~1 (2103967748:22968)
07/03/10 09:04:33 [4] Request 251931 Completed. Command: shutdown
07/03/10 09:04:33 [3] Http 251931
infra1.agentas02.pec.com.cn~dcm-daemon~dcm-daemon~dcm~2103967748:22968
  Status: Stopped
  Operation: request (success)
  ErrFile: /oracle/OraHome_infra/opmn/logs/dcm-daemon~dcm-daemon~dcm~1

07/03/10 09:04:37 [4] Logging disabled
07/03/10 09:08:35 [4] PM state directory exists: /oracle/OraHome_infra/opmn/logs/states
07/03/10 09:08:35 [4] OPMN server ready.  Request handling enabled.
07/03/10 09:08:35 [4] Request 2 Started.  Command: start
07/03/10 09:08:35 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (85131273:0)
07/03/10 09:08:37 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (85131273:28642)
07/03/10 09:08:47 [4] Starting Process: OID~OID~OID~1 (85131274:0)
07/03/10 09:08:52 [4] Process Alive: OID~OID~OID~1 (85131274:28708)
07/03/10 09:28:36 [4] Starting Process: OC4J~OC4J_SECURITY~default_island~1 (85131272:0)
07/03/10 09:28:38 [4] Request 2 Completed. Command: start
07/03/10 09:28:38 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (85131272:30875)
07/03/10 09:28:38 [4] [libopmnoc4j] Process Stop Error: OC4J~OC4J_SECURITY~default_island~1 (85131272:30875)
07/03/10 09:28:38 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_SECURITY~default_island~1 (85131272:30875)
07/03/10 09:28:40 [4] Process Stopped: OC4J~OC4J_SECURITY~default_island~1 (85131272:30875)
07/03/10 09:31:27 [4] Request 140 Started.  Command: stop
07/03/10 09:31:27 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (85131273:28642)
07/03/10 09:31:27 [4] Stopping Process: OID~OID~OID~1 (85131274:28708)
07/03/10 09:31:29 [4] Process Stopped: HTTP_Server~HTTP_Server~HTTP_Server~1 (85131273:28642)
07/03/10 09:31:29 [4] Process Stopped: OID~OID~OID~1 (85131274:28708)
07/03/10 09:31:29 [4] Request 140 Completed. Command: stop
07/03/10 09:31:29 [4] OPMN server stopped.  Request handling disabled.
07/03/10 09:31:29 [4] Request 143 Started.  Command: shutdown
07/03/10 09:31:31 [4] Logging disabled

使用道具 举报

回复
论坛徽章:
2
参与2007年甲骨文全球大会(中国上海)纪念
日期:2007-08-06 15:19:01ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44
13#
 楼主| 发表于 2007-3-12 10:10 | 只看该作者
dcm-daemon~dcm-daemon~dcm~1 文件内容
--------
07/02/07 15:15:11 Start process
--------

--------
07/02/07 15:19:05 Start process
--------

OC4J~OC4J_SECURITY~default_island~1文件内容

--------
07/03/10 09:04:30 Stop process
--------
07/03/10 09:04:31 Shutting down...

--------
07/03/10 09:28:37 Start process
--------

其他的log文件,如上都是些start process, stop process内容。

使用道具 举报

回复
论坛徽章:
132
懒羊羊
日期:2015-03-27 23:10:30灰彻蛋
日期:2011-07-02 08:52:54现任管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:举重
日期:2011-04-18 14:05:482010广州亚运会纪念徽章:拳击
日期:2011-03-09 14:42:092011新春纪念徽章
日期:2011-02-18 11:42:472011新春纪念徽章
日期:2011-02-03 10:32:092011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
14#
发表于 2007-3-12 10:18 | 只看该作者
怎么看你的时间戳好像不对啊

使用道具 举报

回复
论坛徽章:
2
参与2007年甲骨文全球大会(中国上海)纪念
日期:2007-08-06 15:19:01ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44
15#
 楼主| 发表于 2007-3-12 10:53 | 只看该作者
发上去的日志,都是取自服务器上,周六做的。刚刚的测试操作,是在PC机上做的。问题类型都是一样,用root用户启动和停止服务,完了使用chown -Rl orcl.dba /oracle  修改了oracle目录的所有者(否则orcl用户很多文件将没有权限),启动服务就不成功。

使用道具 举报

回复
论坛徽章:
0
16#
发表于 2007-3-12 11:16 | 只看该作者
我这 也在测试机 上做了 你前面说的 删除*.pid 文件的操作,还好,一切正常,暂时没发现错误

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表