ITPub博客

首页 > Linux操作系统 > Linux操作系统 > em check(转)

em check(转)

原创 Linux操作系统 作者:smallflower 时间:2012-06-07 10:00:34 0 删除 编辑

1、登录地址是什么?一般要输入http://ip地址:1158/em

/oracle/product/10.2.0/install/portlist.ini 查询端口
2、em服务是否启动,通过emctl status dbconsole查一下,如没启动执行emctl start dbconsole,然后注意观察em启动时的端口号,一般默认端口为1158
3、确认em是否正确安装
4、试着执行emca -repos create重建em资料库,重建时要指定oracle sid、端口号、sys用户名和密码

也可以使用 dbca -> 配置数据库选项

============================================
看看你的SYSMAN用户是不是被锁住了! 
有些关于10G EM的命令解释,希望对你有帮助。 
============================================ 
如果安装了oem 应该拥有sysman、dbsnap用户的存在 
select user_id,username from dba_users; 

emca -h 

emca -repos create 

emca -r(如果机器名改变或者IP地址改变都会影响EM启动) 

emca -r -DBCONSOLE_PORT 5500 创建新的WEB 浏览端口 

emca -config dbcontrol db -repos recreate (smtp:smtp.hurray.com.cn) 

目录$ORACLE_HOME/oc4j/j2ee/OC4J_dbcCONSOLE__ 
目录$ORACLE_HOME/_ 
tree %ORACLE_HOME%\oc4j\j2ee\OC4J_DBConsole_tan_%ORACLE_SID% 
tree %ORACLE_HOME%\tan_%ORACLE_SID% 

http://192.168.0.210:5500/em/ 

cd $ORACLE_HOME/jdk/jre/lib $ORACLE_HOME/jre/1.4.2/lib/(font*zh_CN*) 
cp font.properties.zh_CN.Redhat font.properties 
$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs 

确认remote_login_passwordfile不为none 否则无法用EM登陆

10.2.0.4 创建emdbconsole时,启动失败,解决办法:

Reason:

 

       In Enterprise Manager Database Control with Oracle Database 10.2.0.4 and 10.2.0.5, the root certificate used to secure communications via the Secure Socket Layer (SSL) protocol will expire on 31-Dec-2010 00:00:00. The certificate expiration will cause errors if you attempt to configure Database Control on or after 31-Dec-2010. Existing Database Control configurations are not impacted by this issue.

       If you plan to configure Database Control with either of these Oracle Database releases, Oracle strongly recommends that you apply Patch 8350262 to your Oracle Home installations before you configure Database Control. Configuration of Database Control is typically done when you create or upgrade Oracle Database, or if you run Enterprise Manager Configuration Assistant (EMCA) in standalone mode.


Note the following:

       1The issue impacts configuration of Database Control with Oracle Database 10.2.0.4 and 10.2.0.5 only. It does not impact database creation or upgrade.

       2The issue does not impact existing Database Control configurations.

       3Application of Patch 8350262 does not require any database downtime

 

Solution:

 

如果是在创建实例之前就把该patch给打上了,那么在创建OEM的时候不会受影响。

      

如果是已经报错了,解决步骤如下:

 

For Single Instance

1. 使用Opatch 安装Patch 8350262

2. force stop the Database Control (dbconsole) process using the killDBConsole script. bundled with the patch. Note that the dbconsole process cannot be stopped using the emctl stop dbconsole command, as EMCTL is unable to connect to the process.

       1Set the ORACLE_HOME and ORACLE_SID environment variables.

       2Execute /killDBConsole.

       --windows 平台省略这一步

3.  Re-secure Database Control with the following command:
       /bin/emctl secure dbconsole -reset

 

if fail, it show "Checking Repository...ERROR. Unable to contact the OMS Repository."

 

try:  emca -config dbcontrol db -repos recreate

 

4.  Re-start Database Control with the following command:
       /bin/emctl start dbconsole

 

参考:

http://blog.csdn.net/tianlesoftware/article/details/6568690

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/755715/viewspace-732112/,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2012-06-06

  • 博文量
    2
  • 访问量
    5938