久久精品国产亚洲怮怮_奇米网777色在线精品_亚洲色中文字幕制服丝袜_久久精品人人做人人看

始創(chuàng)于2000年 股票代碼:831685
咨詢熱線:0371-60135900 注冊有禮 登錄
  • 掛牌上市企業(yè)
  • 60秒人工響應(yīng)
  • 99.99%連通率
  • 7*24h人工
  • 故障100倍補償
全部產(chǎn)品
您的位置: 網(wǎng)站首頁 > 幫助中心>文章內(nèi)容

Linux下配置Oracle 10G EM Database Console

發(fā)布時間:  2012/9/16 14:12:57

1、啟動dbconsole

 [Oracle@www.linuxidc.com ~]$ emctl start dbconsole

如果提示:OC4J Configuration issue. /opt/Oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsol,則說明沒有配置或沒有創(chuàng)建

2、配置dbconsole-
 


 [Oracle@www.linuxidc.com ~]$ emca -config dbcontrol db

STARTED EMCA at Apr 21, 2009 2:21:41 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------

You have specified the following settings

Database Oracle_HOME ................ /opt/oracle/product/10.2.0

Database hostname ................ www.linuxidc.com
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Apr 21, 2009 2:23:52 AM Oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/Oracle/product/10.2.0/cfgtoollogs/emca/orcl/emca_2009-04-21_02-21-41-AM.log.
Apr 21, 2009 2:24:14 AM Oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Apr 21, 2009 2:24:35 AM Oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Apr 21, 2009 2:24:35 AM Oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Apr 21, 2009 2:26:15 AM Oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Apr 21, 2009 2:26:15 AM Oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://www.linuxidc.com:5502/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Apr 21, 2009 2:26:15 AM

3、查看dbconsole的狀態(tài)和訪問地址

 [Oracle@www.linuxidc.com ~]$ emctl status dbconsole

TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
https://www.linuxidc.com:5502/em/console/aboutApplication   #訪問地址
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory /opt/Oracle/product/10.2.0/www.linuxidc.com_orcl/sysman/log

4、刪除數(shù)據(jù)庫的 Database Control配置

Oracle@www.linuxidc.com ~]$ emca -deconfig dbcontrol db

5、常用的命令語法:

emca -repos create創(chuàng)建一個EM資料庫

emca -repos recreate重建一個EM資料庫

emca -repos drop刪除一個EM資料庫

emca -config dbcontrol db配置數(shù)據(jù)庫的 Database Control

emca -deconfig dbcontrol db刪除數(shù)據(jù)庫的 Database Control配置

emca -reconfig ports 重新配置db control和agent的端口

emctl start console啟動EM console服務(wù),使用前需要先設(shè)置Oracle_SID環(huán)境變量

emctl stop console停止EM console服務(wù),使用前需要先設(shè)置Oracle_SID環(huán)境變量

注:通過查看$Oracle_HOME/install/portlist.ini 文件可以知道當前dbcontrol正在使用的端口,默認dbcontrol http端口1158,agent端口3938。如果要重新配置端口,可以使用如下命令:

emca -reconfig ports -dbcontrol_http_port 1159

emca -reconfig ports -agent_port 3939

使用命令行工具emctl可以啟動/停止console服務(wù),察看服務(wù)狀態(tài)等。


本文出自:億恩科技【prubsntakaful.com】

服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經(jīng)營性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經(jīng)營性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經(jīng)營性ICP/ISP證:贛B2-20080012
  • 服務(wù)器/云主機 24小時售后服務(wù)電話:0371-60135900
  • 虛擬主機/智能建站 24小時售后服務(wù)電話:0371-60135900
  • 專注服務(wù)器托管17年
    掃掃關(guān)注-微信公眾號
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號總部企業(yè)基地億恩大廈  法律顧問:河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號
      0
     
     
     
     

    0371-60135900
    7*24小時客服服務(wù)熱線