重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4182|回复: 0
打印 上一主题 下一主题

[Oracle] emctl start dbconsole启动失败

[复制链接]
跳转到指定楼层
楼主
发表于 2016-3-14 10:15:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
通过emctl启动dbconsole失败。
[oracle@dbserver1 log]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
https://dbserver1.linux.org:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/dbserver1.linux.org_sztech/sysman/log

为了方便排错,清除/u01/app/oracle/product/11.2.0/db_1/dbserver1.linux.org_sztech/sysman/log目录下的日志文件,再重新启动dbconsole.

查看下面日志Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/dbserver1.linux.org_sztech/sysman/log
[oracle@dbserver1 log]$ more emdctl.trc
2016-03-13 21:53:47,049 Thread-943290112 WARN  http: nmehl_connect_internal: connect failed to (dbserv
er1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:53:49,103 Thread-1636468480 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:53:52,202 Thread-3856033536 ERROR ssl: nzos_Handshake failed, ret=28864
2016-03-13 21:53:52,202 Thread-3856033536 ERROR http: 6: Unable to initialize ssl connection with serv
er, aborting connection attempt
2016-03-13 21:53:54,249 Thread-1872054016 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:53:56,308 Thread-3416504064 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:53:58,344 Thread-2565412608 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:54:00,387 Thread-652461824 WARN  http: nmehl_connect_internal: connect failed to (dbserv
er1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:54:02,436 Thread-4126643968 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:54:04,499 Thread-2339149568 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:54:06,547 Thread-2263148288 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)
2016-03-13 21:54:08,593 Thread-2883270400 WARN  http: nmehl_connect_internal: connect failed to (dbser
ver1.linux.org:1158): Connection refused (error = 111)

[oracle@dbserver1 log]$ more emagent.trc
2016-03-13 21:53:43,536 Thread-82917120 ERROR http: snmehl_allocateListenerPort: failed to listen on a
ll sockets for hostname  and port 3938
2016-03-13 21:53:43,536 Thread-82917120 ERROR http: nmehl_startHttpListener: failed to listen to HTTP(
s) port for https://dbserver1.linux.org:3938/emd/main
2016-03-13 21:53:43,536 Thread-82917120 ERROR main: nmehl_startHttpListener failed starting http liste
ner.

查看占用3938端口是否已经占用。
[oracle@dbserver1 log]$ netstat -ntluap |grep 3938
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:3938                0.0.0.0:*                   LISTEN      13984/emagent      

kill掉emagent 进程。
[oracle@dbserver1 log]$ kill -9 13984
[oracle@dbserver1 log]$ netstat -ntluap |grep 3938
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)

重新启动dbconsole
[oracle@dbserver1 log]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
https://dbserver1.linux.org:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...... started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/dbserver1.linux.org_sztech/sysman/log

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 04:36 , Processed in 0.157650 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表