C:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on 星期二 11月 1 10:3
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> conn sys/admin as sysdba
已连接。
SQL> alter user dbsnmp identified by admin
2 ;
用户已更改。
SQL> drop role MGMT_USER;
角色已删除。
SQL> drop user MGMT_VIEW cascade;
用户已删除。
SQL> drop user sysman cascade;
用户已删除。
SQL> drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
同义词已删除。
SQL> drop public synonym SETEMVIEWUSERCONTEXT;
同义词已删除。
SQL> $emca -config dbcontrol db -repos create
EMCA 开始于 2011-11-1 11:15:57
EM Configuration Assistant, 11.2.0.0.2 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:
数据库 SID: ODSEXDB
已为数据库 ODSEXDB 配置了 Database Control
您已选择配置 Database Control, 以便管理数据库 ODSEXDB
此操作将移去现有配置和默认设置, 并重新执行配置
是否继续? [是(Y)/否(N)]: y
监听程序 ORACLE_HOME [ D:\app\Administrator\product\11.2.0\dbhome_1 ]: 1521
SYS 用户的口令:
DBSNMP 用户的口令:
SYSMAN 用户的口令:
通知的电子邮件地址 (可选):
通知的发件 (SMTP) 服务器 (可选):
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME ................ D:\app\Administrator\product\11.2.0\dbhome_1
本地主机名 ................ 76481-640
监听程序 ORACLE_HOME ................ 1521
监听程序端口号 ................ 1521
数据库 SID ................ ODSEXDB
通知的电子邮件地址 ...............
通知的发件 (SMTP) 服务器 ...............
-----------------------------------------------------------------
是否继续? [是(Y)/否(N)]: y
2011-11-1 13:13:06 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 D:\app\Administrator\cfgtoollogs\emca\ODSEXDB\emca_2011_11_01_13_12_31.log
。
2011-11-1 13:13:08 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
2011-11-1 13:28:25 oracle.sysman.emcp.EMReposConfig invoke
信息: 已成功创建资料档案库
2011-11-1 13:28:42 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
信息: 正在将配置数据上载到 EM 资料档案库 (此操作可能需要一段时间)...
2011-11-1 13:31:38 oracle.sysman.emcp.EMReposConfig invoke
信息: 已成功上载配置数据
2011-11-1 13:31:45 oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
信息: 软件库已配置成功。
2011-11-1 13:31:45 oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
信息: 正在部署预配档案...
2011-11-1 13:31:56 oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
信息: 预配档案部署成功。
2011-11-1 13:31:56 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
信息: 正在保护 Database Control (此操作可能需要一段时间)...
2011-11-1 13:32:10 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
信息: 已成功保护 Database Control。
2011-11-1 13:32:10 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control (此操作可能需要一段时间)...
2011-11-1 13:35:36 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: 已成功启动 Database Control
2011-11-1 13:35:37 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: >>>>>>>>>>> Database Control URL 为 https://76481-640:5500/em <<<<<<<<<<<
2011-11-1 13:35:51 oracle.sysman.emcp.EMDBPostConfig invoke
警告:
************************ WARNING ************************
管理资料档案库已置于安全模式下, 在此模式下将对 Enterprise Manager 数据进行加密。加密密钥已放置在文件
D:/app/Administrator/product/11.2.0/dbhome_1/76481-640_ODSEXDB/sysman/config/emkey.ora 中。请务必备
份此文件, 因为如果此文件丢失, 则加密数据将不可用。
***********************************************************
已成功完成 Enterprise Manager 的配置
EMCA 结束于 2011-11-1 13:35:51
注:有时创建 EM 资料档案库时会报一些错误 错误信息都会记录在日志文件中,可以根据日志文件中的错误信息做相应的操作
然后再重新使用emca 命令去创建.
报错时可以使用 emca -deconfig dbcontrol db -repos drop 先删除档案库,待完全删除后再使用emca命令重新创建
完成。
5,检查状态 emctl status dbconsole。
附emca常用命令:
创建一个EM资料库
emca -repos create
重建一个EM资料库
emca -repos recreate
删除一个EM资料库
emca -repos drop
配置数据库的 Database Control
emca -config dbcontrol db
删除数据库的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的端口,默认端口在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
先设置ORACLE_SID环境变量后,启动EM console服务
emctl start dbconsole
先设置ORACLE_SID环境变量后,停止EM console服务
emctl stop dbconsole
先设置ORACLE_SID环境变量后,查看EM console服务的状态
emctl status dbconsole
分享到:
相关推荐
Environment variable ORACLE_UNQNAME not defined错误解决
彻底解决 __vd_version_info__ is not defined 等出错问题,完美反编译出微信小程序, 已测试。直接下载后按照 qwerty472123/wxappUnpacker 方式使用。原qwerty472123/wxappUnpacker的版本已过时。
NULL 博文链接:https://yxhcquedu.iteye.com/blog/1217830
1B在全志r16平台tinav2.5系统下调通RTL8188FU 2018/5/11 14:49 版本:V1.0 开发板:客户提供 SDK:tina v2.5 ...1、01原始编译全志r16平台tinav2.5系统: rootroot@cm88:~$ cd /home/wwt ...rootroot@cm88:/home/wwt$...
Software_Defined_Radio_using_MATLAB_Simulink_and_the_RTL-SDR.pdf,已去除文件保护,可编辑
其中一个问题是报but there is no HDFS_NAMENODE_USER defined. Aborting operation. Starting datanodes 直接解决 在Hadoop安装目录下找到sbin文件夹 在里面修改四个文件 1、对于start-dfs.sh和stop-dfs.sh文件,...
defined for database link type * Subprogram declaration popup could be truncated if it included comments * Dates < 1901 were not copied correctly to Excel 2007 and 2010 * Selecting a previously ...
rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ tar zxvf lichee_parrotv1.1_20161202.tar.gz rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ rootroot@cm-System-Product-Name:/home/wwt/linux_...
在项目下执行如下命令 ...报如下图错误 解决办法: ...文档里说: 所以我命通过命令安装扩展: ...composer require topthink/think-multi-app 出现如下图说明安装成功了 ...Successed 出现这个说明大功告成,可以开始你的多...
#elif defined USE_STM3210E_EVAL #include "stm3210e_eval_lcd.h" #elif defined USE_STM32100B_EVAL #include "stm32100b_eval_lcd.h" #elif defined USE_STM3210B_EVAL #include "stm3210b_eval_lcd.h" #endif
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data modelname = get; stoptime = str2num); sim复制代码 在stop simulation,里面,callback...
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data modelname = get; stoptime = str2num); sim复制代码 在stop simulation,里面,callback...
全志R16平台编译linux系统V1.0.txt 2017/4/11 13:36 (编译请使用编译android的lichee的选项编译生成的.config文件,不然直接编译会报错!!...rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ tar zxvf ...
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data modelname = get; stoptime = str2num); sim复制代码 在stop simulation,里面,callback...
1. 之前稳定版开发工具用的好好的,突然某天真机调试一直报错: ReferenceError: define is not defined 2. 找解决办法后发现,更新至开发版最新版可以解决,如附件,下载安装后,即可解决该问题。
语料库标注工具。The file codelist.ini...In the codelist file, each code can be defined as follows: [fm1] abbr=fm1 begin= end= color= ico=ico\1.ICO description=Spelling: Coinage, abbreviation, apostrophe
Software_Defined_Radio_using_MATLAB_Simulink_and_the_RTL-SDR_book.zip
simple_nature.pdfsimple_nature.pdfsimple_nature.pdfsimple_nature.pdfsimple_nature.pdfsimple_nature.pdfsimple_nature.pdf
Define MPI_POINTER if it hasn t already been defined.
MATLAB 学习资料