OEM一旦建立以后,LINUX的主机名(hosts)就不要去改变。

[oracle@redhat4 ~]$ emctl start dbconsole
OC4J Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_redhat4.7_ORCL not found.
[oracle@redhat4 ~]$ cd /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/
[oracle@redhat4 j2ee]$ ls -l
total 72
-rw-r--r--   1 oracle oinstall 1006 Oct  6 16:20 deploy_db_wf.ini
drwxr-xr-x  14 oracle oinstall 4096 Oct  6 16:17 home
drwxr-xr-x   3 oracle oinstall 4096 Oct  6 16:15 oc4j_applications
drwxr-x---   6 oracle oinstall 4096 Oct  6 16:15 OC4J_DBConsole
drwxr-x---  10 oracle oinstall 4096 Oct  6 17:36 OC4J_DBConsole_redhat4.7_ora11g
drwxr-x---  10 oracle oinstall 4096 Oct  6 16:27 OC4J_DBConsole_redhat4.7_orcl
drwxr-xr-x   5 oracle oinstall 4096 Oct  6 16:15 OC4J_Workflow_Component_Container
drwxr-xr-x   5 oracle oinstall 4096 Oct  6 16:15 OC4J_Workflow_Management_Container
drwxr-xr-x   2 oracle oinstall 4096 Oct  6 16:17 utilities
[oracle@redhat4 ~]$ vi .bash_profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
#export ORACLE_SID2=ora11g
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export PATH=$PATH:$ORACLE_HOME/bin:.
export ORACLE_UNQNAME=$ORACLE_SID

[oracle@redhat4 ~]$ source .bash_profile
[oracle@redhat4 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://redhat4.7:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/redhat4.7_orcl/sysman/log

[oracle@redhat4 ~]$ export ORACLE_SID=ora11g
[oracle@redhat4 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://redhat4.7:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/redhat4.7_ora11g/sysman/log

https://redhat4.7:1158/em/

https://redhat4.7:5500/em/

[oracle@redhat4 ~]$ netstat -tulnp|grep 1158  #port
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp        0      0 :::1158                     :::*                        LISTEN      9936/java
[oracle@redhat4 ~]$ netstat -tulnp|grep 5500   #port
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp        0      0 :::5500                     :::*                        LISTEN      22639/java

[oracle@redhat4 ~]$ w
21:06:10 up  7:43,  4 users,  load average: 0.05, 0.06, 0.07
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     192.168. 192.168.10.1     13:28    0.00s  0.00s  0.13s /usr/bin/gnome-session
root     :0       -                14:22   ?xdm?  16:10   0.06s /usr/bin/gnome-session
root     pts/1    192.168.10.1:0.0 19:40    4:25   0.07s  0.07s -bash
root     pts/2    192.168.10.1     20:59    0.00s  0.00s  0.00s w

转载于:https://www.cnblogs.com/quanweiru/p/4928752.html

OEM status|start|stop相关推荐

  1. Oracle 12c(12.1.0.5) oem agent silent install(静默安装agent)

    注释: 文章来自oracle support 文档 ID 1360083.1,静默安装agent采用的是把OMS服务端(即oem server端)的agent用压缩包download,远程传到agen ...

  2. oracle监听显示未成功_理解 oracle 的 lsnrctl status

    理解 oracle 的 "lsnrctl status" 先看看 lsnrctl status 的输出信息: Services Summary... Service "P ...

  3. Oracle OEM 配置报错: No value was set for the parameter DBCONTROL_HTTP_PORT 解决方法

    这几天经常与OEM 顶上,前几天刚解决一个OEM问题,今天又遇到了. Oracle 安装OEM 报错: 无法对所有EM 相关账户解锁 解决方法 http://blog.csdn.net/tianles ...

  4. Oracle10g中OEM相关问题

    最近要用到OEM,发现在Linux下面装的Oracle默认没有打开console,所以需要手动开启一下.找了点资料,也遇到了一些困难,就顺便学习一下相关的知识.把要记录的东西都记下来,也把错误贴出来, ...

  5. RAC OEM 打开无法显示CPU情况 的解决过程

    环境: ORACLE11G RAC+ASM,双节点. 现象: emctl status dbconsole, emctl start dbconsole 都没有问题. 但登录OEM后,看到显示的两节点 ...

  6. oem监控mysql_OEM12c 安装配置MySQL Plug-in用来监控MySQL

    Plug-in --注册信息 [root@test agent]# /oem/emcli setup -url=https://omsdb.localdomain:7301/em -username= ...

  7. android OEM unlocking分析

    在测试CTS Verifier测试的时候,有一项为开发者选项"OEM unlocking"功能,测试的时候需要人为进行判断是否成功. 测试此项前,需要执行如下动作: adb she ...

  8. 静默安装oracle后,启动oem报错,解决方法!

    一.手工重建EM Oracle 的gridcontrol 由两部分组成:dbcontrol 和repository. 我们可以对某一部分进行操作,也可以同时进行操作. 这里先看一个因为修改hostna ...

  9. Oracle 11gR2学习之二(创建数据库及OEM管理篇)

    Oracle安装完毕来创建一个数据库,创建之前必须先配置数据库的监听端口,否则会创建过程中提示你先配置监听. 1.监听配置如下,一直下一步- Netca --> Listenerconfigur ...

最新文章

  1. 生产环境:Nginx高可用方案
  2. 流氓软件彻底免疫程序 v2.2 绿色版
  3. 三层架构用户登录代码c语言,三层架构实现简单的用户登录代码
  4. python中的用法_Python中使用@的理解
  5. python代码自动格式化_代码的自动格式化
  6. netty系列之:使用UDP协议
  7. Network UVA - 315(Tarjan+连通性问题:求割点)
  8. 转:大型网站架构系列:负载均衡详解(2)
  9. DataGridView控件 1129
  10. (24)打两拍verilog与VHDL编码(学无止境)
  11. c语言i=5.6a=(int)i,第一章C语言概述.ppt
  12. js做小数运算精度问题
  13. 面向对象10:多态性的使用、重载和重写的区别、多态性的实用意义
  14. 【Hive】Hive表数据的导入导出
  15. 哈理工OJ 1391 Orz odd(规律【没证出来】)
  16. html公差符号输入,CAD特殊符号输入:公差符号、直径符号等
  17. 2021多校第二场F 简单计算几何模板(球体相交体积)
  18. android指纹采集sdk,SDK上的Android指纹23
  19. 20年以后的科技发展小短文计算机,20年后的我小学想象作文
  20. vscode 推荐premiter_精选!15 个必备的 VSCode 插件

热门文章

  1. 【多网段切换导致DNS域名解析失败问题处理】
  2. 分享一个centos不错的镜像库
  3. JVM_01 总体概述
  4. springboot学习笔记(九)
  5. 元器件基础知识--排阻命名
  6. DM8168评估板上供电电源的设计
  7. Bit-Z CEO长顺入围2018中国经济潮流人物
  8. Core Dump流程分析
  9. java获取当前工作目录
  10. JZOJ 5609. 【NOI2018模拟3.28】Tree BZOJ 4919: [Lydsy1706月赛]大根堆