[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