Oracle Enterprise Manager 11g 啟停

weixin_34117211發表於2017-11-22

1.檢視是否安裝元件

col comp_name for a40

select comp_name,version,status from dba_registry;

 

COMP_NAME            VERSION             STATUS

----------------------  --------------------------- -------------------------------

OWB                                11.2.0.4.0                     VALID

Oracle Application Express               3.2.1.00.12                    VALID

Oracle Enterprise Manager                11.2.0.4.0                     VALID

OLAP Catalog                             11.2.0.4.0                     VALID

Spatial                                  11.2.0.4.0                     VALID

Oracle Multimedia                        11.2.0.4.0                     VALID

Oracle XML Database                      11.2.0.4.0                     VALID

Oracle Text                              11.2.0.4.0                     VALID

Oracle Expression Filter                 11.2.0.4.0                     VALID

Oracle Rules Manager                     11.2.0.4.0                     VALID

Oracle Workspace Manager                 11.2.0.4.0                     VALID

 

COMP_NAME               VERSION             STATUS

--------------------    -------------------- --------------------------------

Oracle Database Catalog Views            11.2.0.4.0                     VALID

Oracle Database Packages and Types       11.2.0.4.0                     VALID

JServer JAVA Virtual Machine             11.2.0.4.0                     VALID

Oracle XDK                               11.2.0.4.0                     VALID

Oracle Database Java Packages            11.2.0.4.0                     VALID

OLAP Analytic Workspace                  11.2.0.4.0                     VALID

Oracle OLAP API                          11.2.0.4.0                     VALID

Oracle Real Application Clusters         11.2.0.4.0                     VALID

 

2.啟動dbconsole

<roidb2:orcl2:/home/oracle>$emctl status dbconsole

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.

<roidb2:orcl2:/home/oracle>$export ORACLE_UNQNAME=orcl

<roidb2:orcl2:/home/oracle>$emctl status dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0

Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

https://roidb1:1158/em/console/aboutApplication

EM Daemon is not running.

------------------------------------------------------------------

Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/roidb2_orcl/sysman/log

 

 

<roidb2:orcl2:/home/oracle>$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://roidb1:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ..... started.

------------------------------------------------------------------

Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/roidb2_orcl/sysman/log

<roidb2:orcl2:/home/oracle>$emctl status dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0

Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

https://roidb1:1158/em/console/aboutApplication

EM Daemon is running.

------------------------------------------------------------------

Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/roidb2_orcl/sysman/log


3.登陸控制檯

https://192.168.1.211:1158/em/console/











本文轉自 roidba 51CTO部落格,原文連結:http://blog.51cto.com/roidba/1973872,如需轉載請自行聯絡原作者

相關文章