天天看点

Oracle Enterprise Manager 11g 启停

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

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

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

EM Daemon is running.

3.登陆控制台

<a href="https://192.168.1.211:1158/em/console/" target="_blank">https://192.168.1.211:1158/em/console/</a>

本文转自 roidba 51CTO博客,原文链接:http://blog.51cto.com/roidba/1973872,如需转载请自行联系原作者