one troubleshooting case about em access issue
Today when trying to open my Oracle EM url, I can not open it. So I thought may be the network is having issue. I use the tenlet to try to identifiy if the network is ok. The command is telnet racnode1 1158 and it shows the network is ok. So I go to the the rac server to check.
First I use emctl status dbconsole. The output is wired because it stuck here
[oracle@racnode1 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.
Copyright (c) , Oracle Corporation. All rights reserved.
https://racnode1:1158/em/console/aboutApplication
after I issue ctrl+c to stop the command. The who output came out.
^COracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2./dbhome_1/racnode1_orcl/sysman/log
As it said the dbconsole is running. So I think I might need to restart it first.
[oracle@racnode1 log]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.
Copyright (c) , Oracle Corporation. All rights reserved.
https://racnode1:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ... ... Stopped.
[oracle@racnode1 log]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.
Copyright (c) , Oracle Corporation. All rights reserved.
https://racnode1:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ..... .....^C started.
------------------------------------------------------------------
As you can see, the stop command workds fine but start command stuck.
I try to read the logs to find out why. So I go to the log directory
/u01/app/oracle/product/11.2.0/dbhome_1/racnode1_orcl/sysman/log
There are logs below
[oracle@racnode1 log]$ ls -ltr
total
-rw-r-----. oracle oinstall Sep : emdctl.log
-rw-r-----. oracle oinstall Sep : patchAgtStPlugin.log
-rw-r-----. oracle oinstall Sep : nfsPatchPlug.log
-rw-r-----. oracle oinstall Sep : emagentfetchlet.log
-rw-r-----. oracle oinstall Sep : emagentfetchlet.trc
drwxr-----. oracle oinstall Sep : pafLogs
-rw-r-----. oracle oinstall Sep : secure.log
-rw-r-----. oracle oinstall Sep : emoms.trc.
-rw-r-----. oracle oinstall Sep : emctl.msg
-rw-r-----. oracle oinstall Sep : emdctl.trc
-rw-r-----. oracle oinstall Sep : emdb.nohup
-rw-r-----. oracle oinstall Sep : emagent_perl.trc
-rw-r-----. oracle oinstall Sep : emagent.log
-rw-r-----. oracle oinstall Sep : emoms.trc
-rw-r-----. oracle oinstall Sep : emoms.log
-rw-r-----. oracle oinstall Sep : emagent.trc
I tail -100f emdb.nohup found below information.
----- Mon Sep :: ::Checking status of DBConsole : -----
----- Mon Sep :: ::DBConsole exited at Mon Sep :: with return value . -----
----- Mon Sep :: ::Restarting DBConsole. -----
----- Mon Sep :: ::Console Launched with PID at time Mon Sep :: -----
----- Mon Sep :: ::osname is linux -----
----- Mon Sep :: ::heap size used is - -----
----- Mon Sep :: ::perm size used is - -----
----- Mon Sep :: ::joptions used are -server -Xmx192M -XX:MaxPermSize=200M -XX:MinHeapFreeRatio= -XX:MaxHeapFreeRatio= -----
// :: Error starting ORMI server racnode1 port ,: Address already in use
// :: Shutting down OC4J...
It said the 5,520 port are being used. So I try to use netstat to find out what is the process using this port.
[oracle@racnode1 log]$ netstat -ap | grep
(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 *: *:* LISTEN /java
udp 169.254.166.63: *:* /asm_psp0_+ASM1
[oracle@racnode1 log]$ ps -ef | grep
oracle Sep21 ? :: /u01/app/oracle/product/11.2./dbhome_1/jdk/bin/java -server -Xmx192M -XX:MaxPermSize=200M -XX:MinHeapFreeRatio= -XX:MaxHeapFreeRatio= -DORACLE_HOME=/u01/app/oracle/product/11.2./dbhome_1 -Doracle.home=/u01/app/oracle/product/11.2./dbhome_1/oc4j -Doracle.oc4j.localhome=/u01/app/oracle/product/11.2./dbhome_1/racnode1_orcl/sysman -DEMSTATE=/u01/app/oracle/product/11.2./dbhome_1/racnode1_orcl -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/u01/app/oracle/product/11.2./dbhome_1/oc4j/j2ee/OC4J_DBConsole_racnode1_orcl/config/jazn.xml -Djava.security.policy=/u01/app/oracle/product/11.2./dbhome_1/oc4j/j2ee/OC4J_DBConsole_racnode1_orcl/config/java2.policy -Djavax.net.ssl.KeyStore=/u01/app/oracle/product/11.2./dbhome_1/sysman/config/OCMTrustedCerts.txt-Djava.security.properties=/u01/app/oracle/product/11.2./dbhome_1/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=/u01/app/oracle/product/11.2./dbhome_1/racnode1_orcl -Dsysman.md5password=true -Drepapi.oracle.home=/u01/app/oracle/product/11.2./dbhome_1 -Ddisable.checkForUpdate=true -Doracle.
sysman.ccr.ocmSDK.websvc.keystore=/u01/app/oracle/product/11.2./dbhome_1/jlib/emocmclnt.ks -Dice.pilots.html4.ignoreNonGenericFonts=true -Djava.awt.headless=true -jar /u01/app/oracle/product/11.2./dbhome_1/oc4j/j2ee/home/oc4j.jar -config /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_racnode1_orcl/config/server.xml
There do have one process using this port. One thing you need to be careful about is that if you are not root. The netstat may not return you all the result. Ok I checked the process found it is an OC4J process. And the parent process id is 1. Means this process should have be exited. I killed it. Try to start em again.
[oracle@racnode1 log]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.
Copyright (c) , Oracle Corporation. All rights reserved.
https://racnode1:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............ started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2./dbhome_1/racnode1_orcl/sysman/log
Very smoothly. I started it without any problem.
one troubleshooting case about em access issue的更多相关文章
- 【Troubleshooting Case】Unable to delete Exchange database?
在我们日常邮件系统运维管理或实施部署变更中,经常会遇到,删除Exchange 数据库DB时,提示无法删除. ------------------– Microsoft Exchange Error - ...
- 【Troubleshooting Case】Exchange Server 组件状态应用排错?
在Exchange 2013中,引入了“服务器组件状态”的概念.服务器组件状态从运行环境的角度提供对组成Exchange Server的组件的状态的精细控制. 日常排错时,常常会把Exchange 服 ...
- network issue troubleshooting
Today we troubleshooting a lot of network issue by using commands like: ping <ip>/<computer ...
- Attacking JavaScript Engines: A case study of JavaScriptCore and CVE-2016-4622(转)
转:http://phrack.org/papers/attacking_javascript_engines.html Title : Attacking JavaScript Engines: A ...
- 10g异机恢复后EM无法启动故障处理一例
之前在自己的測试环境上做了个异机恢复,原来的库上是配置过EM的,可是在恢复的库上去启动EM就报错了.以下看详细解决过程: PS:原主机名为zlm,恢复出来的主机名为bak [root@bak ~]# ...
- 电脑IP改变后oracle em无法登陆的解决办法(亲测)
以下方法为本人亲测 情况:假设电脑初次安装oracle时的ip是192.168.133.110 那么进入em的地址就是http://192.168.133.110:1158/em/console/lo ...
- oracle em命令行配置及界面按钮乱码问题解决方法
一.配置EM dbconsole db [oracle@rusky ~]$ lsnrctl start [oracle@rusky ~]$ emctl start dbconsoleTZ set to ...
- facebook api之Access and Authentication
Access and Authentication There are three access levels to the Marketing APIs. You can upgrade acces ...
- Debugging JTAG Connectivity Problems
2013-12-04 22:34:26 转自:http://processors.wiki.ti.com/index.php/Debugging_JTAG_Connectivity_Problems ...
随机推荐
- cocos2d-x lua中实现异步加载纹理
原文地址: http://www.cnblogs.com/linchaolong/p/4033118.html 前言 问题:最近项目中需要做一个loading个界面,界面中间有一个角色人物走动的 ...
- SQL数据库语言基础
表的创建: 1.创建列(字段):列名+类型 2.设置主键列:能够唯一标识一条数据 3.设置唯一:内容不能重复 4.外键关系: 一张表(从表)其中的某列引用自另外一张表(主表)中的主键列 设计表: 数据 ...
- poj1240 Pre-Post-erous!
思路: 根据前序序列和后序序列递归构造m叉树,确定每个节点的子节点数量.再用组合数公式累乘. 实现: #include <iostream> using namespace std; ][ ...
- 添加telnet命令
打开控制面板,打开程序和功能,看到左边有个“打开或关闭Windows功能 ,打开找到telnet客户端,把这2项都勾选上,然后确定就可以了 注意,如果只要telnet别人的话,就选telnet客户端. ...
- Android O 通知栏的"running in the background"
Android O新增的一个特性,系统会在通知栏显示当前在后台运行的应用,其实际是显示启动了前台服务的应用,并且当前应用的Activity不在前台.具体我们看下源码是怎么实现的. 1 APP调用sta ...
- java设计模式之单例模式总结
面试手写单例模式(通用版)
- 扩增子分析解读4去嵌合体 非细菌序列 生成代表性序列和OTU表
本节课程,需要先完成 扩增子分析解读1质控 实验设计 双端序列合并 2提取barcode 质控及样品拆分 切除扩增引物 3格式转换 去冗余 聚类 先看一下扩增子分析的整体流程,从下向上逐层分析 分 ...
- 使用vs2010打开vs2015的项目
本来在单位项目一直使用vs2010写,五一放假拿回家 ,用vs2015捣鼓了一下 当然向下兼容打开毫无问题,结果回来悲催了,用vs2010打不开了 ,打不开. 记得以前有个转换向导,可是这次没看见,一 ...
- rename命令中正则表达式的使用
rename命令用字符串替换的方式批量改变文件名. 格式如下: rename 原字符串 目标字符串 文件(列表) 原字符串:将文件名需要替换的字符串: 目标字符串:将文件名中含有的原字符替换成目标 ...
- UVA-1589 象棋(模拟)
题目:(传送门) 给出一个象棋的残局,下一步是黑棋走,判断黑棋是不是被将死. 思路: 读完这个题,知道是一个模拟题,然后想到用两个二维数组来模拟棋盘,一个(mp数组)用来存残局,一个(res数组)用来 ...