国内有哪些同步盘?好用的同步网盘有哪些?
417
2022-07-16
配置EM具体步骤
一、配置EM dbconsole的步骤信息emca -config dbcontrol db -repos recreateEMCA 开始于 2007-10-12 11:16:40EM Configuration Assistant 10.2.0.1.0 正式版版权所有 (c) 2003, 2005, Oracle。保留所有权利。输入以下信息:数据库 SID: orcl已为数据库 orcl 配置了 Database Control您已选择配置 Database Control, 以便管理数据库 orcl此操作将移去现有配置和默认设置, 并重新执行配置是否继续? [yes(Y)/no(N)]: y监听程序端口号: 1521SYS 用户的口令: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)]: y2007-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 Control2007-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 这个命令来解决,详细的说明可以查看连机帮助,下面给出一些常用的命令,及实例步骤.
三、开启、关闭EM console服务先设置ORACLE_SID环境变量后,启动EM console服务emctl start dbconsole先设置ORACLE_SID环境变量后,停止EM console服务emctl stop dbconsole先设置ORACLE_SID环境变量后,查看EM console服务的状态emctl status dbconsole
五、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]$>lsb-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 agentTZ set to PRCOracle 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] :yStopping Oracle Enterprise Manager 10g Database Control ... ... Stopped.Agent is not running.
2.重新设置时区[oracle@rdbms_linux admin]$ emctl resetTZ agentTZ set to PRCOracle 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.0Connected as SYSSQL> 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 agentTZ set to PRCOracle 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 dbconsoleTZ set to PRCOracle 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 dbconsoleTZ set to PRCOracle 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.1OMS Version : UnknownProtocol Version : 10.1.0.2.0Agent Home : /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDBAgent binaries : /u01/app/oracle/product/10.2.0/db_1Agent Process ID : 8254Parent Process ID : 8251Agent URL :Started at : 2010-03-06 09:42:21Started by user : oracleLast Reload : 2010-03-06 09:42:21Last successful upload : (none)Last attempted upload : (none)Total Megabytes of XML files uploaded so far : 0.00Number of XML files pending upload : 15Size of XML files pending upload(MB) : 1.48Available disk space on upload filesystem : 30.71%Agent is already started. Will restart the agentStopping 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
发表评论
暂时没有评论,来抢沙发吧~