linux oracle em使用,Linux平台下启动oracle 11g EM控制台
http://blog.csdn.net/webajax/article/details/6702233
配置EM具体步骤
一、配置EM dbconsole的步骤信息
emca -config dbcontrol db -repos recreate
EMCA 开始于 2007-10-12 11:16:40
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) 服务器 (可选):
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME ................ e:\oracle\product\10.2.0\db_1
数据库主机名 ................ hailang.mshome.net
监听程序端口号 ................ 1521
数据库 SID ................ orcl
通知的电子邮件地址 ...............
通知的发件 (SMTP) 服务器 ...............
-----------------------------------------------------------------
是否继续? [yes(Y)/no(N)]: y
2007-10-12 11:17:32 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 e:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_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 为 <<<<<<<<<<<
已成功完成 Enterprise Manager 的配置
在10g 中,我们可能会经常遇到OEM不能正常使用的问题,但导致问题的原因不尽相同,最后绝大多数问题可以通过emca 这个命令来解决,详细的说明可以查看连机帮助,下面给出一些常用的命令,及实例步骤.
二、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
三、开启、关闭EM console服务
先设置ORACLE_SID环境变量后,启动EM console服务
emctl start dbconsole
先设置ORACLE_SID环境变量后,停止EM console服务
emctl stop dbconsole
先设置ORACLE_SID环境变量后,查看EM console服务的状态
emctl status dbconsole
四、登录EM
在浏览器输入
五、Oracle 10gR2 OEM按钮乱码的解决(OEM的中英文显示快速切换)
方法1:(推荐使用这个方法)
打开IE浏览器, 选择'工具"-->"Internet选项"-->"常规", 选择 "语言", 默认只有 "中文", 选择 " 添加 ", 加入 "英语(美国)" , 调整顺序, 把“英语(美国)”移动到最上面。
此方法还可以用来很方便的快速切换OEM的中文和英文环境,平时还是多使用英文环境比较好!
方法2:
1 Stop the OEM service
$>emctl stop dbconsole
2.分别进入以下三个路径
$ORACLE_HOME/jdk/jre/lib
$ORACLE_HOME/jre/1.4.2/lib
3.在每个目录都透过以下指令覆盖档案
我们只要用合适的中文字符集文件替换缺省文件即可,这里使用font.properties.zh_CN.Redhat(我的系统是Redhat)来替换缺省字体定义文件:
cp font.properties.zh_CN.Redhat font.properties
[oracle@~/product/10.2/jdk/jre/lib]$>ls font*zh_CN*
[oracle@~/product/10.2/jdk/jre/lib]$>cp font.properties.zh_CN.Redhat font.properties
[oracle@~/product/10.2/jre/1.4.2/lib]$>ls font*zh_CN*
[oracle@~/product/10.2/jre/1.4.2/lib]$>cp font.properties.zh_CN.Redhat font.properties
4.进入OEM的图示路径,清除之前的档案
[oracle@~/product/10.2/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs]$>ls
b-68.gif b-68.imx b-b5.gif b-b5.imx b-iagree.gif b-iagree.imx
[oracle@~/product/10.2/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs]$>rm b*
5.启动OEM
emctl start dbconsole
重新启动OEM之后,OEM的按钮就出现中文了。
六、oem 报错“java.lang.Exception: IOException in send……”
1.停止em agent:
[oracle@rdbms_linux admin]$ emctl stop agent
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
This will stop the Oracle Enterprise Manager 10g Database Control process. Continue [y/n] :y
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
Agent is not running.
2.重新设置时区
[oracle@rdbms_linux admin]$ emctl resetTZ agent
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Updating /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB/sysman/config/emd.properties...
Time zone set to PRC.
To complete this process, you must either:
connect to the database served by this DBConsole as user 'sysman', and execute:
SQL> exec mgmt_target.set_agent_tzrgn('rdbms_linux.com:3938','PRC')
-- or --
connect to the database served by this DBConsole as user 'sys', and execute:
SQL> alter session set current_schema = SYSMAN;
SQL> exec mgmt_target.set_agent_tzrgn('rdbms_linux.com:3938','PRC')
3.以sysdba身份登陆,设置如下:
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as SYS
SQL> alter session set current_schema = SYSMAN;
Session altered
SQL> exec mgmt_target.set_agent_tzrgn('rdbms_linux.com:3938','PRC')
PL/SQL procedure successfully completed
4.启动em agent和console
[oracle@rdbms_linux admin]$ emctl start agent
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting agent ..... started.
[oracle@rdbms_linux admin]$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Stopping Oracle Enterprise Manager 10g Database Control ...
Cannot determine Oracle Enterprise Manager 10g Database Control process. /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB/emctl.pid does not exist.
[oracle@rdbms_linux admin]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.4.1
OMS Version : Unknown
Protocol Version : 10.1.0.2.0
Agent Home : /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB
Agent binaries : /u01/app/oracle/product/10.2.0/db_1
Agent Process ID : 8254
Parent Process ID : 8251
Agent URL :
Started at : 2010-03-06 09:42:21
Started by user : oracle
Last Reload : 2010-03-06 09:42:21
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 15
Size of XML files pending upload(MB) : 1.48
Available disk space on upload filesystem : 30.71%
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/rdbms_linux.com_BIDB/sysman/log
linux oracle em使用,Linux平台下启动oracle 11g EM控制台相关推荐
- oracle 启动 linux监听,Linux下启动Oracle服务和监听程序
$ su – oracle $ sqlplus / nolog sql> conn / as sysdba sql> startup #启动Oracle,需 ...
- linux 下停止监听程序,Linux下启动Oracle服务和监听程序步骤
Linux下启动Oracle服务和监听程序启动和关闭步骤整理如下: 1.安装oracle: 2.创建oracle系统用户: 3./home/oracle下面的.bash_profile添加几个环境变量 ...
- Linux 下 启动 Oracle
Linux 下 启动 oracle的命令行 在root目录下,依次执行以下命令 1. su - oracle 到oracle根目录下,载入环境变量等文件. 2. sqlplus ...
- unix oracle控制台,Linux平台下启动oracle11gEM控制台
当我们的oracle服务器是使用的Linux/Unix系统时,我们从windows或者其他的客户端想用启动oracle的EM工具了解一些系统系统信息时可 当我们的Oracle服务器是使用的Linux/ ...
- linux下启动Oracle服务和监听程序
注:如果读者是出现监听无法启动 请参阅本人实录解决办法:http://blog.csdn.net/johnstrive/archive/2009/08/06/4418481.aspx Oracle数据 ...
- mbk文件导入到oracle,linux下启动oracle
linux中启动oracle 主要分两步,一个是启动监听器,一个是启动数据库实例. (1).切换到oracle 用户:su - oracle (2).(如果配置环境变量可以省略该步骤)切换到orac ...
- Linux 平台下 误删 oracle 数据文件的恢复方法
1 问题描述 之前写过一篇删除oracle home目录的blog,参考: Linux 平台误删 home oracle 根目录的解决方法 http://www.cndba.cn/Dave/arti ...
- (转)linux下启动oracle
原文地址:[url]http://blog.sina.com.cn/s/blog_56d8ea900100noxa.html[/url] 启动数据库实例,分为两步:第一步,启动监听:第二步,启动数据库 ...
- linux服务器监听服务sid_linux下重启oracle服务:监听器和实例
一.在Linux下重启Oracle数据库及监听器: 方法1: 用root以ssh登录到linux,打开终端输入以下命令: cd $ORACLE_HOME #进入到oracle的安装目录 dbstart ...
最新文章
- wordpress短代码转php,WordPress中的shortcode短代码功能使用详解
- 剑指offer-有序二维数组中的查找
- java mongodb 删除字段类型_Mongodb基本数据类型、常用命令之增加、更新、删除
- 【实战】使用Job来修改Transform
- 在java中获取当前时间_JAVA中获取当前系统时间
- 2020最新淘宝等级表图及商品发布限制数量类目表
- 史上最全CAD快捷键大全汇总
- FIFO设计中的注意问题与技巧
- 迪赛智慧数——柱状图(多色柱状图):母亲节大家都怎么挑选礼物
- 错误No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbala
- 关于一台机器运行两个身份证读卡器模块(总结)
- TestCenter测试管理工具功能详解十六(U)
- Kony集成百度推送-IOS
- 认证、授权、鉴权和权限控制
- 解决MAC下MySQL忘记初始密码的方法
- 8月5日 网工学习 CRC校验码 HDLC协议
- Java修炼之凡界篇 筑基期 第04卷 方法 第01话 什么是方法
- 如何运行开源游戏?八分音符酱python版踩坑记录
- 联想笔记本装完deepin后打开无线网卡,搜不到WiFi的解决办法
- 用加湿器模块做加湿器
热门文章
- 昨天安装复习中遇到的问题小结
- JBoss5开发web service常见问题
- 面试历程六:人真的有时候很奇怪
- Effective C# 原则48:了解更多的工具和资源(译)
- flutter怎么添加ios网络权限_视频号直播间怎么添加购物车商品;超详细流程步骤。丨国仁网络资讯...
- 从业回忆录,最后悔的事
- win10卓越性能模式,提升电脑性能
- Java语言所有异常类均继承自_Java将运行错误分为两类:(__)和(__), 其对应的类均派生自(__)类;...
- [转载] Java中this和super关键字分别是什么意思
- jquery选择器连续选择_JQuery中的选择器