当前位置: 首页 > news >正文

RMAN异库恢复之EM(3)

emctl start dbconsole 启动 failed. 查看日志 .
1./oracle/database/product/10.2.0/db_1/dbserver_testdb1/sysman/log 13:50 $cat emagent.trc
2011-02-11 11:08:51 Thread-4135864000 ERROR http: snmehl_allocateListenerPort: failed to bind socket: 地址已在使用 (errno=98)
2011-02-11 11:08:51 Thread-4135864000 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://dbserver:3938/emd/main
2011-02-11 11:08:51 Thread-4135864000 ERROR main: nmehl_startHttpListener failed starting http listener

2./oracle/database/product/10.2.0/db_1/dbserver_testdb1/sysman/log 13:46 $cat emoms.log
2011-02-11 11:07:26,277 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ias.ias.IASIntegration
2011-02-11 11:07:26,519 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.eml.target.slb.common.SLBIntegration
2011-02-11 11:07:26,598 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.eml.ssl.intg.SSLIntegration
2011-02-11 11:07:26,690 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.tip.oem.central.domain.ProcessConnectDomainIntg
2011-02-11 11:07:26,691 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.tip.oem.central.instance.ProcessConnectInstanceIntg
2011-02-11 11:07:26,693 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.PortalIntegration
2011-02-11 11:07:26,694 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.webdb.admin.em.SSOIntegration
2011-02-11 11:07:26,695 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.reports.em.RepIntg
2011-02-11 11:07:26,697 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsEmailIntegration
2011-02-11 11:07:26,700 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOidIntegration
2011-02-11 11:07:26,702 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsOvfIntegration
2011-02-11 11:07:26,703 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWebconfIntegration
2011-02-11 11:07:26,705 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsWirelessIntg
2011-02-11 11:07:26,706 [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCalGrpIntegration
/oracle/database/product/10.2.0/db_1/dbserver_testdb1/sysman/log 13:46 $

emagent.trc  说3938端口已经被占用.按照 failed to bind socket:  这个关键句到 metalink里搜.找到如下解决方法.尝试了下.然后将agent进程kill掉.重创建em.生效

Grid Control Agent Startup Fails With ' failed to bind socket: Address already in use' Error [ID 746857.1]

 Modified 09-APR-2010     Type PROBLEM     Status PUBLISHED 

In this Document
  Symptoms
  Cause
  Solution
  References


Applies to:

Enterprise Manager Grid Control - Version: 10.2.0.1 to 10.2.0.5 - Release: 10.2 to 10.2
Information in this document applies to any platform.

Symptoms

When installing Management Agent 10.2.0.4, it fails at the Configuration Assistant screen with the following error:

Command = oracle.sysman.emcp.agent.AgentPlugIn has failed
Exception : java.lang.Exception: Failed to allocate port = Failed to allocate free Enterprise Manager Central Console Port from Default Range 1830 to 1849. Please free a port from the Range and re-try the installation.

After exiting from Configuration Assistant screen, attempting to start the Agent displays the following error:

$/bin/emctl start agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ....... failed.
Failed to start HTTP listener.

The /sysman/log/emagent.trc file contains the following error:

Error = 2008-09-29 17:04:27,517 Thread-3086939840 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
2008-09-29 17:04:27,517 Thread-3086939840 ERROR http: nmehl_startHttpListener: failed to listen to
HTTP port for http://:1830/emd/main/


The following checks were carried out but did not resolve the issue:

1. Checked for incorrect/inconsistent hostname and/or IP configuration for server /etc/hosts file or DNS. See Note 427842.1

2. Checked ORACLE_HOSTNAME environment variable does not conflict with actual hostname.

3. Checked port used by the Agent is not being used by another application. See Note 443524.1
Agent port is not used by another application, however, netstat output displays many network connections in TIME_WAIT status.  

Cause

The Agent by default listens on more than one NIC.

Solution

1. Go to /sysman/config

2. Modify the emd.properties file as follows:
Change the parameter
AgentListenOnAllNICs=TRUE
to
AgentListenOnAllNICs=FALSE

Note: This will cause the Agent to only listen on the specific NIC as stated in the EMD_URL parameter in the emd.properties configuration file.

2. Startup the Agent
/bin/emctl start agent

References

NOTE:422296.1 - Unable to start agent after transferring package from one node to other on a MC/ServiceGuard cluster
NOTE:427842.1 - Problem: Grid Control Installation - "Failed to allocate free Enterprise Manager Central Console Port"
NOTE:443524.1 - Grid Control Agent Startup Fails with "Failed to Start HTTP Listener" Error

Show Related InformationRelated


Products
  • Enterprise Management > Enterprise Manager Consoles, Packs, and Plugins > Enterprise Manager Grid Control > Enterprise Manager Grid Control
  • Enterprise Management > Enterprise Manager Consoles, Packs, and Plugins > Enterprise Manager Grid Control > Enterprise Manager Grid Control
Keywords
HTTP LISTENER; STARTUP FAILS; MANAGEMENT AGENT; ADDRESS ALREADY IN USE; SOCKET; EMCTL START AGENT; EMAGENT.TRC; ENTERPRISE MANAGER

Back to topBack to top



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

转载于:http://blog.itpub.net/11780477/viewspace-687012/

相关文章:

  • LOCK_SGA=TRUE causes an ORA-27126 during database startup on AIX
  • exp/imp parfile 用到的参数
  • 日志挖掘
  • RMAN备份脚本
  • sqlldr 控制文件样例
  • 审计相关
  • RAC 修改IP (转)
  • oracle oem 启动不起来(半解决)
  • 还是oem
  • 又是oem
  • isqlplus 连接标识符 (奇怪的问题)--(解决)
  • 天津rac总结1
  • 天津rac总结2
  • 天津rac总结3
  • 0209天津rac问题总结1
  • 30天自制操作系统-2
  • Bootstrap JS插件Alert源码分析
  • ES6--对象的扩展
  • Eureka 2.0 开源流产,真的对你影响很大吗?
  • flask接收请求并推入栈
  • Laravel Mix运行时关于es2015报错解决方案
  • orm2 中文文档 3.1 模型属性
  • PyCharm搭建GO开发环境(GO语言学习第1课)
  • Python - 闭包Closure
  • 表单中readonly的input等标签,禁止光标进入(focus)的几种方式
  • 对话:中国为什么有前途/ 写给中国的经济学
  • 开发了一款写作软件(OSX,Windows),附带Electron开发指南
  • 码农张的Bug人生 - 初来乍到
  • 软件开发学习的5大技巧,你知道吗?
  • 设计模式 开闭原则
  • 视频flv转mp4最快的几种方法(就是不用格式工厂)
  • 详解NodeJs流之一
  • 扩展资源服务器解决oauth2 性能瓶颈
  • ​七周四次课(5月9日)iptables filter表案例、iptables nat表应用
  • #Linux(Source Insight安装及工程建立)
  • (3)nginx 配置(nginx.conf)
  • (C语言)字符分类函数
  • (SpringBoot)第二章:Spring创建和使用
  • (搬运以学习)flask 上下文的实现
  • (超详细)语音信号处理之特征提取
  • (二)PySpark3:SparkSQL编程
  • (南京观海微电子)——I3C协议介绍
  • (全注解开发)学习Spring-MVC的第三天
  • (入门自用)--C++--抽象类--多态原理--虚表--1020
  • (十八)用JAVA编写MP3解码器——迷你播放器
  • (十六)一篇文章学会Java的常用API
  • (四) Graphivz 颜色选择
  • (续)使用Django搭建一个完整的项目(Centos7+Nginx)
  • (转)Oracle 9i 数据库设计指引全集(1)
  • **CI中自动类加载的用法总结
  • .apk文件,IIS不支持下载解决
  • .Net CF下精确的计时器
  • .net/c# memcached 获取所有缓存键(keys)
  • .net用HTML开发怎么调试,如何使用ASP.NET MVC在调试中查看控制器生成的html?
  • @ 代码随想录算法训练营第8周(C语言)|Day57(动态规划)