EMCA
来源:互联网 发布:手机亮度调节软件 编辑:程序博客网 时间:2024/05/18 17:59
drop user sysman cascade;
drop role MGMT_USER;
drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
drop PUBLIC SYNONYM SETEMVIEWUSERCONTEXT;
alter system set shared_pool_size=20M;
emctl unsecure dbconsole
Oracle11g em按钮乱码解决方法
从window下拷贝simsun.ttc字体文件到新建的$ mkdir $ORACLE_HOME/jdk/jre/lib/fonts/fallback目录下,然在更换名称为simsun.ttf,重启emctl
-------------------------------------------------------------------------------------------------------------------------------------
Oracle11g em Create
emca -config dbcontrol db -repos create
可能在Oracle DB10g 中会经常遇到OEM不能正常使用的问题,导致问题的原因不尽相同,
但最后绝大多数问题可以通过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
配置dbconsole的步骤
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重新配置dbconsole的步骤
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
问题Cause: 可能是IP更改了的原因,
问题Do: 所以使用了EMCA命令重新配置了一下ORACLE EM,
具体过程如下:
EM Configuration Assistant 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
数据库 SID: orcl
已为数据库 orcl 配置了 Database Control
您已选择配置 Database Control, 以便管理数据库 orcl
此操作将移去现有配置和默认设置, 并重新执行配置
是否继续? [yes(Y)/no(N)]: y
监听程序端口号: 1521
SYS 用户的口令:
DBSNMP 用户的口令:
SYSMAN 用户的口令:
SYSMAN 用户的口令: 通知的电子邮件地址 (可选):
通知的发件 (SMTP) 服务器 (可选):
-----------------------------------------------------------------
监听程序端口号 ................ 1521
数据库 SID ................ orcl
通知的电子邮件地址 ...............
通知的发件 (SMTP) 服务器 ...............
是否继续? [yes(Y)/no(N)]: y
2007-10-12 11:17:32 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 e:oracleproduct10.2.0db_1cfgtoollogsemcaorclemca_2007-
2007-10-12 11:17:37 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段时间)...
2007-10-12 11:17:40 oracle.sysman.emcp.EMReposConfig dropRepository
信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)...
2007-10-12 11:24:23 oracle.sysman.emcp.EMReposConfig invoke
信息: 已成功删除资料档案库
2007-10-12 11:24:24 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
2007-10-12 11:34:36 oracle.sysman.emcp.EMReposConfig invoke
信息: 已成功创建资料档案库
2007-10-12 11:35:15 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control (此操作可能需要一段时间)...
2007-10-12 11:36:56 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: 已成功启动 Database Control
2007-10-12 11:36:56 oracle.sysman.emcp.EMDBPostConfig performConfiguration
警告: 无法创建 Database Control 快捷方式
2007-10-12 11:36:56 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: >>>>>>>>>>> Database Control URL 为 http://hailang.mshome.net:5500/em <<<<<<<<<<<
已成功完成 Enterprise Manager 的配置
---------------------------------------------emctl无法正常启动-----------------------------------------------------------------
emctl unsecure dbconsole换用HTTP打开EM
emctl start dbconsole
[root@DB4023 log]# tail -f emdctl.trc
2015-05-26 16:49:23 Thread-4135762144 WARN http: snmehl_connect: connect failed to (DB4023:1830): ???? (error = 111)
2015-05-26 16:49:27 Thread-4135762144 WARN http: snmehl_connect: connect failed to (DB4023:1830): ???? (error = 111)
2015-05-26 16:49:30 Thread-4135762144 WARN http: snmehl_connect: connect failed to (DB4023:1830): ???? (error = 111)
2015-05-26 16:49:33 Thread-4135762144 WARN http: snmehl_connect: connect failed to (DB4023:1830): ???? (error = 111)
2015-05-26 16:50:54 Thread-4135762144 WARN http: snmehl_connect: connect failed to (DB4023:1830): ???? (error = 111)
2015-05-26 16:51:02 Thread-4135762144 WARN http: snmehl_connect: connect failed to (DB4023:1830): ???? (error = 111)
[root@DB4023 log]# ps -ef |grep sysman
oracle 9404 1 0 16:52 pts/2 00:00:00 /u01/app/oracle/product/10.2.0/db_1/perl/bin/perl /u01/app/oracle/product/10.2.0/db_1/bin/emwd.pl dbconsole /u01/app/oracle/product/10.2.0/db_1/DB4023_orcl/sysman/log/emdb.nohup
oracle 9430 9404 22 16:52 pts/2 00:00:13 /u01/app/oracle/product/10.2.0/db_1/jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 -Doracle.home=/u01/app/oracle/product/10.2.0/db_1/oc4j -Doracle.oc4j.localhome=/u01/app/oracle/product/10.2.0/db_1/DB4023_orcl/sysman -DEMSTATE=/u01/app/oracle/product/10.2.0/db_1/DB4023_orcl -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_DB4023_orcl/config/jazn.xml -Djava.security.policy=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_DB4023_orcl/config/java2.policy -Djava.security.properties=/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=/u01/app/oracle/product/10.2.0/db_1/DB4023_orcl -Dsysman.md5password=true -Drepapi.oracle.home=/u01/app/oracle/product/10.2.0/db_1 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/oc4j.jar -config /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_DB4023_orcl/config/server.xml
root 10287 27039 0 16:53 pts/0 00:00:00 grep sysman
[root@DB4023 log]# kill -9 9404
[root@DB4023 log]# kill -9 9430
[oracle@DB4023 log]$ emctl start 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.
http://DB4023:5501/em/console/aboutApplication
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : /u01/app/oracle/product/10.2.0/db_1/DB4023_orcl
Agent binaries : /u01/app/oracle/product/10.2.0/db_1
Agent Process ID : 13516
Parent Process ID : 10797
Agent URL : http://DB4023:1830/emd/main
Started at : 2015-05-26 16:55:33
Started by user : oracle
Last Reload : 2015-05-26 16:55:33
Last successful upload : 2015-05-26 17:07:16
Last attempted upload : 2015-05-26 19:48:31
Total Megabytes of XML files uploaded so far : 0.13
Number of XML files pending upload : 85
Size of XML files pending upload(MB) : 1.21
Available disk space on upload filesystem : 86.14%
Agent is already started. Will restart the agent
Stopping agent ... stopped.
Starting Oracle Enterprise Manager 10g Database Control .............................. started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/DB4023_orcl/sysman/log
[oracle@DB4023 log]$
oracle@DB4023 ~]$ 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.
http://DB4023:5501/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/DB4023_orcl/sysman/log
- EMCA
- emca
- EMCA
- emca 使用
- oracle EMCA
- emca设置
- oracle emca
- Oracle10g R2 EMCA常用命令
- EMCA命令解析
- oracle emca命令
- 控制台emca命令
- emca和emctl常用命令
- emca 基本命令
- emca 262 6.0
- 10gR2--EMCA常用命令说明
- EMCA命令,EM无法启动
- Oracle 10gR2--EMCA常用命令
- 执行emca实用程序出现异常
- aix安装samba服务器
- struts2返回json
- 僵尸进程
- 小米金融能否成为又一个“神话”?
- ActionBar(4)ActionBar的事件响应
- EMCA
- ril.subscription.types NV RUIM
- 数据库 - 并发调度的可串行性
- getopts的用法解读
- iOS开发何如在调试的时候轻松找到程序在哪里崩溃
- tp3.2.2中的RBAC
- HDU-1013-Digital Roots(Java && 大数 && 数根)
- linux操作系统-3进程管理(1)
- hihoCoder 1143 : 骨牌覆盖问题·一 矩阵快速幂