关于ORACLE 11g EM无法连接到实例 TNS-12541的解决办法

[复制链接]
查看11 | 回复0 | 2016-12-16 10:30:00 | 显示全部楼层 |阅读模式
监听是静态注册的,EM创建好后,emctlstatusdbconsole 显示em 正在运行,无法连接到实例,重建em,仍然得不到解决,
查看/oracle/app/cfgtoollogs/emca/test/emca_2016_12_16_09_05_13.log 提示如下:
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database test : Oracle
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: Oracle
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionReq
uired
CONFIG: isLocalConnectionRequired: true
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally
.
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: /oracle/app/product/11.
2.0, and user: SYSMAN
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Dec 16, 2016 9:05:32 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForD
BControl
CONFIG: ORA-12541: TNS: 锟睫硷拷锟斤拷锟斤拷锟?
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:
锟睫硷拷锟斤拷锟斤拷锟?
tnsping正常,监听状态正常,PL/SQL development 可以连接
运行emca 具体步骤省略......重建监听后,重新监听 EM正常连接
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行