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 ...
随机推荐
- python加载不了cookirlib模块的问题
Python 3 改成 http.cookiejar了,所以import cookielib只要改成import http.cookiejar,就可以了.
- Codewars练习Python
计算一个数组的中间数,数的两边和相等,并返回index值 如:数组[1,2,3,4,6] 返回3(数组序号从0开始) def find_even_index(arr): ""&qu ...
- URI URL URN的区别
一:什么是URI,URL,URN ? URI:Uniform Resource Identifier,统一资源标识符,是一个用于表示互联网上资源名称的字符串 格式:http://www.xxx.com ...
- radiobutton group
1. 环境:VS2010 2. 分组 将radio1.radio2.radio3分为1组,radio4.radio5分为另一组: 方法:设置 radio1 的 属性: group.tabstop ...
- GetArxPath
extern HINSTANCE _hdllInstance;CString GetArxPath(){ CString strArxPath; GetModuleFileName(_hdllInst ...
- Spring Boot 2.0的属性绑定
Spring Boot2.0的属性绑定 原文从Spring boot第一个版本以来,我们可以使用@ConfigurationProperties注解将属性绑定到对象.也可以指定属性的各种不同格式.比如 ...
- 二叉查找树(Binary Search Tree)
Date:2019-06-25 14:40:32 基本操作 注意:数据量较大时,插入建树的时间复杂度会很高,慎用! //查找 void Search(node *root, int x) { if(r ...
- 微服务网关从零搭建——(三)Ocelot网关 + identity4
增加验证服务 1.创建名为AuthService 的core 空项目 2.修改startup文件 using System; using System.Collections.Generic; usi ...
- 一个小demo熟悉Spring Boot 和 thymeleaf 的基本使用
目录 介绍 零.项目素材 一. 创建 Spring Boot 项目 二.定制首页 1.修改 pom.xml 2.引入相应的本地 css.js 文件 3.编辑 login.html 4.处理对 logi ...
- mac os 10.10解决pod问题
转一下 http://leancodingnow.com/how-to-get-cocoapods-work-on-yosemite/