首页 > 代码库 > 手动创建oem
手动创建oem
[oracle@std bin]$ /u02/app/product/10.2.0/db_1/bin/emca -config dbcontrol db -repos createSTARTED EMCA at 26-Jan-2014 11:28:40EM Configuration Assistant, Version 10.2.0.1.0 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: ORCLListener port number: 1521Password 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 settingsDatabase ORACLE_HOME ................ /u02/app/product/10.2.0/db_1Database hostname ................ stdListener port number ................ 1521Database SID ................ ORCLEmail address for notifications ............... Outgoing Mail (SMTP) server for notifications ............... -----------------------------------------------------------------Do you wish to continue? [yes(Y)/no(N)]: Y26-Jan-2014 11:29:09 oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u02/app/product/10.2.0/db_1/cfgtoollogs/emca/CUUG/emca_2014-01-26_11-28-40-AM.log.26-Jan-2014 11:29:10 oracle.sysman.emcp.EMReposConfig createRepositoryINFO: Creating the EM repository (this may take a while) ...26-Jan-2014 11:33:25 oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully created26-Jan-2014 11:33:29 oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...26-Jan-2014 11:35:06 oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: Database Control started successfully26-Jan-2014 11:35:06 oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: >>>>>>>>>>> The Database Control URL is http://std:1158/em <<<<<<<<<<<Enterprise Manager configuration completed successfullyFINISHED EMCA at 26-Jan-2014 11:35:06
[oracle@std bin]$ netstat -tulnp|grep 1158(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:1158 0.0.0.0:* LISTEN 8652/java
[oracle@std bin]$ emctlTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.Invalid argumentsUnknown command option Usage:: Oracle Enterprise Manager 10g Database Control commands: emctl start| stop| status| setpasswd dbconsole emctl secure <options> emctl set ssl test|off|on em emctl set ldap <host> <port> <user dn> <user pwd> <context dn>emctl blackout options can be listed by typing "emctl blackout"emctl config options can be listed by typing "emctl config"emctl secure options can be listed by typing "emctl secure"emctl ilint options can be listed by typing "emctl ilint"emctl deploy options can be listed by typing "emctl deploy"[oracle@std bin]$ emctl status dbconsoleTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.http://std:1158/em/console/aboutApplicationOracle Enterprise Manager 10g is running. ------------------------------------------------------------------Logs are generated in directory /u02/app/product/10.2.0/db_1/std_CUUG/sysman/log
[oracle@std bin]$ emctl stop dbconsoleTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.http://std:1158/em/console/aboutApplicationStopping Oracle Enterprise Manager 10g Database Control ... ... Stopped.
[oracle@std ~]$ emca -deconfig dbcontrol db -repos dropSTARTED EMCA at Apr 18, 2014 12:37:57 PMEM Configuration Assistant, Version 11.2.0.0.2 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: ORCLListener port number: 1521Password for SYS user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: yApr 18, 2014 12:38:13 PM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u02/app/cfgtoollogs/emca/ORCL/emca_2014_04_18_12_37_57.log.Apr 18, 2014 12:38:13 PM oracle.sysman.emcp.EMDBPreConfig performDeconfigurationWARNING: EM is not configured for this database. No EM-specific actions can be performed.Apr 18, 2014 12:38:14 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControlWARNING: Error initializing SQL connection. SQL operations cannot be performedApr 18, 2014 12:38:14 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Dropping the EM repository (this may take a while) ...Apr 18, 2014 12:38:17 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully droppedEnterprise Manager configuration completed successfullyFINISHED EMCA at Apr 18, 2014 12:38:18 PM
手动创建oem
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。