|
通过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
|
|