手工启动oracle EM
人家的原文如下:
oracle@linux:~> sqlplus/ as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jan 5 09:44:142012
Copyright (c) 1982, 2009, Oracle. All rightsreserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bitProduction
With the Partitioning, OLAP, Data Mining and Real ApplicationTesting options
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bitProduction
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real ApplicationTesting options
oracle@tbslinux:~> emca-config dbcontrol db
STARTED EMCA at Jan 5, 2012 9:49:10 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rightsreserved.
Enter the following information:
Database SID: ticket
Listener port number: 1521
Listener ORACLE_HOME [ /oracle/product/11g/db_1 ]:
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 ................ /oracle/product/11g/db_1
Local hostname ................ tbslinux
Listener ORACLE_HOME ................/oracle/product/11g/db_1
Listener port number ................ 1521
Database SID ................ ticket
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Jan 5, 2012 9:50:32 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at/oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_49_09.log.
Jan 5, 2012 9:50:33 AM oracle.sysman.emcp.DatabaseChecksperformReposChecks
SEVERE: 'job_queue_processes' must begreater than or equal to 1. Fix the error(s) andrun EM Configuration Assistant again in standalonemode.
Jan 5, 2012 9:50:33 AMoracle.sysman.emcp.EMConfig perform
SEVERE: 'job_queue_processes' must be greater than or equal to1. Fix the error(s) and run EM ConfigurationAssistant again in standalone mode.
Refer to the log file at/oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_49_09.log formore details.
Could not complete the configuration. Refer to the log file at/oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_49_09.log formore details.
oracle@linux:~> sqlplus/nolog
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jan 5 09:56:052012
Copyright (c) 1982, 2009, Oracle. All rightsreserved.
SQL> conn / as sysdba
Connected.
SQL> alter system setjob_queue_processes=5;
System altered.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real ApplicationTesting options
oracle@tbslinux:~>
oracle@linux:~> emca-config dbcontrol db
STARTED EMCA at Jan 5, 2012 9:58:37 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rightsreserved.
Enter the following information:
Database SID: ticket
Listener port number: 1521
Listener ORACLE_HOME [ /oracle/product/11g/db_1 ]:
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 ................ /oracle/product/11g/db_1
Local hostname ................ tbslinux
Listener ORACLE_HOME ................/oracle/product/11g/db_1
Listener port number ................ 1521
Database SID ................ ticket
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Jan 5, 2012 9:59:03 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at/oracle/cfgtoollogs/emca/ticket/emca_2012_01_05_09_58_36.log.
Jan 5, 2012 9:59:20 AM oracle.sysman.emcp.EMReposConfiguploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may takea while) ...
Jan 5, 2012 10:01:08 AM oracle.sysman.emcp.EMReposConfiginvoke
INFO: Uploaded configuration data successfully
Jan 5, 2012 10:01:14 AM oracle.sysman.emcp.util.DBControlUtilconfigureSoftwareLib
INFO: Software library configured successfully.
Jan 5, 2012 10:01:14 AM oracle.sysman.emcp.EMDBPostConfigconfigureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Jan 5, 2012 10:02:17 AM oracle.sysman.emcp.EMDBPostConfigconfigureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Jan 5, 2012 10:02:17 AM oracle.sysman.emcp.util.DBControlUtilsecureDBConsole
INFO: Securing Database Control (this may take a while) ...
Jan 5, 2012 10:03:59 AM oracle.sysman.emcp.util.DBControlUtilsecureDBConsole
INFO: Database Control secured successfully.
Jan 5, 2012 10:03:59 AM oracle.sysman.emcp.util.DBControlUtilstartOMS
INFO: Starting Database Control (this may take a while) ...
Jan 5, 2012 10:07:42 AM oracle.sysman.emcp.EMDBPostConfigperformConfiguration
INFO: Database Control started successfully
Jan 5, 2012 10:07:42 AM oracle.sysman.emcp.EMDBPostConfigperformConfiguration
INFO:>>>>>>>>>>>The Database Control URL is https://linux:1158/em<<<<<<<<<<<
Jan 5, 2012 10:07:51 AM oracle.sysman.emcp.EMDBPostConfiginvoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode whereinEnterprise Manager data will be encrypted. Theencryption key has been placed in the file:/oracle/product/11g/db_1/tbslinux_ticket/sysman/config/emkey.ora. Please ensure this file is
backed up as the encrypted data willbecome unusable if this file is lost.
***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Jan 5, 2012 10:07:51 AM
oracle@linux:~> emctlstart dbconsole
Oracle Enterprise Manager 11gDatabase Control Release 11.2.0.1.0
Copyright (c) 1996, 2009Oracle Corporation. All rightsreserved.
https://tbslinux:1158/em/console/aboutApplication
- Aninstance of Oracle Enterprise Manager 11g Database Control isalready running.
我自己的如下:
C:\Documents andSettings\Administrator>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0- Production on 星期二 1月 17 17:01:25 2012
Copyright (c) 1982, 2007,Oracle. All rights reserved.
SQL>conn / as sysdba
已连接。
SQL> altersystem set job_queue_processes=5;
系统已更改。
SQL>quit
从 Oracle Database 11gEnterprise Edition Release 11.1.0.6.0 -Production
With the Partitioning, OracleLabel Security, OLAP, Data Mining,
Oracle Database Vault andReal Application Testing options 断开
C:\Documents andSettings\Administrator>emca -config dbcontroldb
EMCA 开始于 2012-1-1717:02:13
EM Configuration Assistant,11.1.0.5.0 正式版
版权所有 (c) 2003, 2005,Oracle。保留所有权利。
输入以下信息:
数据库 SID:orcl
监听程序端口号:1521
SYS 用户的口令:
DBSNMP用户的口令:
SYSMAN用户的口令:
通知的电子邮件地址(可选):
通知的发件 (SMTP) 服务器(可选):
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME................C:\app\Administrator\product\11.1.0\db_1
本地主机名 ................jianke-0v0lcq
监听程序端口号 ................1521
数据库 SID ................orcl
通知的电子邮件地址...............
通知的发件 (SMTP) 服务器...............
-----------------------------------------------------------------
是否继续? [是(Y)/否(N)]:y
2012-1-17 17:02:39oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到C:\app\Administrator\cfgtoollogs\emca\orcl\emca_2012_01
_17_17_02_13.log。
2012-1-17 17:02:54oracle.sysman.emcp.EMConfig perform
严重: 监听程序未启动。启动监听程序并重新运行 EMConfiguration Assistant。
有关详细资料, 请参阅C:\app\Administrator\cfgtoollogs\emca\orcl\emca_2012_01_17_
17_02_13.log中的日志文件。
无法完成配置。 有关详细资料, 请参阅C:\app\Administrator\cfgtoollogs\emca\orcl\e
mca_2012_01_17_17_02_13.log中的日志文件。
————————监听也没有配置,配好监听再试——————————
C:\Documents andSettings\Administrator>emca -config dbcontroldb
EMCA 开始于 2012-1-1717:04:24
EM Configuration Assistant,11.1.0.5.0 正式版
版权所有 (c) 2003, 2005,Oracle。保留所有权利。
输入以下信息:
数据库 SID:orcl
监听程序端口号:1521
SYS 用户的口令:
DBSNMP用户的口令:
SYSMAN用户的口令:
通知的电子邮件地址(可选):
通知的发件 (SMTP) 服务器(可选):
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME................C:\app\Administrator\product\11.1.0\db_1
本地主机名 ................jianke-0v0lcq
监听程序端口号 ................1521
数据库 SID ................orcl
通知的电子邮件地址...............
通知的发件 (SMTP) 服务器...............
-----------------------------------------------------------------
是否继续? [是(Y)/否(N)]:y
2012-1-17 17:04:43oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到C:\app\Administrator\cfgtoollogs\emca\orcl\emca_2012_01
_17_17_04_24.log。
2012-1-17 17:04:57oracle.sysman.emcp.EMReposConfiguploadConfigDataToRepository
信息: 正在将配置数据上载到 EM 资料档案库(此操作可能需要一段时间)...
2012-1-17 17:06:46oracle.sysman.emcp.EMReposConfig invoke
信息:已成功上载配置数据
2012-1-17 17:06:49oracle.sysman.emcp.util.DBControlUtilconfigureSoftwareLib
信息:软件库已配置成功。
2012-1-17 17:06:49oracle.sysman.emcp.EMDBPostConfigconfigureSoftwareLibrary
信息:正在部署预配档案...
2012-1-17 17:07:11oracle.sysman.emcp.EMDBPostConfigconfigureSoftwareLibrary
信息:预配档案部署成功。
2012-1-17 17:07:11oracle.sysman.emcp.util.DBControlUtilsecureDBConsole
信息: 正在保护 Database Control(此操作可能需要一段时间)...
2012-1-17 17:07:26oracle.sysman.emcp.util.DBControlUtilsecureDBConsole
信息: 已成功保护 DatabaseControl。
2012-1-17 17:07:26oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control(此操作可能需要一段时间)...
2012-1-17 17:09:04oracle.sysman.emcp.EMDBPostConfigperformConfiguration
信息: 已成功启动 DatabaseControl
2012-1-17 17:09:04oracle.sysman.emcp.EMDBPostConfigperformConfiguration
信息:>>>>>>>>>>>Database Control URL 为 https://jianke-0v0lcq:1158/em<<<<<<
<<<<<
2012-1-17 17:09:09oracle.sysman.emcp.EMDBPostConfig invoke
警告:
************************ WARNING ************************
管理资料档案库已置于安全模式下, 在此模式下将对Enterprise Manager 数据进行加密。
加密密钥已放置在文件C:\app\Administrator\product\11.1.0\db_1\jianke-0v0lcq_or
cl\sysman\config\emkey.ora中。请务必备份此文件, 因为如果此文件丢失, 则加密数据
将不可用。
***********************************************************
已成功完成 Enterprise Manager的配置
EMCA 结束于 2012-1-1717:09:09
C:\Documents andSettings\Administrator>
手工启动oracle EM的更多相关文章
- Windows下使用cmd启动Oracle EM和sql命令使用+主机身份认证
(1)cmd命令下使用sql命令 >sqlplus / as sysdba sql>select * from v$version; (2)cmd命令下启动Oracle EM 安装完ora ...
- Linux下的启动oracle的EM的命令
Linux下的启动oracle的EM的命令 1.启动数据库 su - oracle $sqlplus / as sysdba sql>startup 2.启动监听 $lsnrctl LSNRCT ...
- oracle em启动问题
这种情况出现的可能性是(1)主机IP地址改变,(2)主机名改变,(3)移植到全新的主机,(4)监听程序未启动,5)oracle服务也检查一下 关于orcl的启动: emctl start dbcons ...
- 手工配置oracle数据库
手工配置Oracle 10G Enterprise Manager今天安装oracle,反复装了几遍都报下面错误:试了几种方法都不行:由于以下错误,Enterprise Manager配置失败启动Da ...
- 利用 Oracle EM 企业管理器 进行oracle SQL的优化(自动生成索引)
利用 Oracle EM 企业管理器 进行oracle SQL的优化(自动生成索引) ##应用情景 项目中有大量的SQL,尤其是涉及到统计报表时,表关联比较多,当初开发建表时也没搞好索引关联的,上线后 ...
- LINUX启动ORACLE监听和服务
可通过secureCRT或者telnet直接连 启动监听命令:lsnrctl start 成功启动后:sqlplus /nolog 回车 conn / as sysdba 回车 startup 回车 ...
- Oracle EM 不能访问
zwt2001267 原文 Oracle EM 不能访问 1. cmd控制启动EM: C:\Users\Administrator>emctl start dbconsoleEnvironmen ...
- oracle em命令行配置及界面按钮乱码问题解决方法
一.配置EM dbconsole db [oracle@rusky ~]$ lsnrctl start [oracle@rusky ~]$ emctl start dbconsoleTZ set to ...
- MMON进程手工启动
手工启动MMON进程 1. 故障现象 #某帅哥接到业务人员反映系统缓慢,RAC环境 #生成AWR报告发现节点1没有数据 #查询快照视图,发现只有节点1没有快照记录,节点2正常存在快照记录 SYS &g ...
随机推荐
- Chrome开发者工具详解(1):Elements、Console、Sources面板
Chrome开发者工具面板 面板上包含了Elements面板.Console面板.Sources面板.Network面板. Timeline面板.Profiles面板.Application面板.Se ...
- JavaScript-------寄生组合式继承
组合继承在前面有说过,也是JavaScript中最常用的一个继承模式:不过,它也有自己的不足.组合继承最大的问题就是无论什么情况,都会调用两次构造函数: 那我们来回顾下组合式继承基本模式: funct ...
- Android-----------国际化多国语言文件夹命名汇总
*如果不区分地区,则不加后面的-rxx内容 Arabic, Egypt (ar_rEG) —————————–阿拉伯语,埃及 Arabic, Israel (ar_rIL) ———————— ...
- 使用安卓中的TextToSpeech控件实现朗读文字
首先感谢原文的博主,本文中的代码均来自该博主:(原文地址)http://flycatdeng.iteye.com/blog/1827245 朗读文字不需要任何的权限,这个控件的好处是首先不要权限,其次 ...
- c# 配置连接 mysql
今天复习了下c#连接mysql 记录下来方便自己也方便别人! 使用vs2010连接mysql 数据库, 1.装连接驱动,使用Connector/Net 连接驱动!下载地址:http://dev.my ...
- a 标签
a标签成为块元素后,宽度会百分百撑开,但高度不会,需要加高度.
- HTTP之I/O模型图MPM详细解析
高度模块化:DSO MPM:多路处理模块 prefork-->一个主进程+多个工作进程,每个工作进程处理多个请求 worker-->一个主进程+多个工作进程,每个工作进 ...
- real server 的一个启动脚本例子
real server 的vip 启动脚本 #!/bin/bash #chkconfig: #description: real server init script VIP=192.168.80.8 ...
- C语言预处理命令总结大全
C程序的源代码中可包括各种编译指令,这些指令称为预处理命令.虽然它们实际上不是C语言的一部分,但却扩展了C程序设计的环境.本节将介绍如何应用预处理程序和注释简化程序开发过程,并提高程序的可读性.ANS ...
- 对$NOMOD51的理解
很多朋友在看asm代码的时候,对下面的语句不是很了解,下面解说一下. $NOMOD51 $INCLUDE (REG932.INC) 解释:$NOMOD51,这一指令功能是使A51不识别8051的所有预 ...