免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2267 | 回复: 0
打印 上一主题 下一主题

[OEM] oracle10g emca -repos recreate创建仓库提示错误 [复制链接]

论坛徽章:
1
天蝎座
日期:2014-10-18 18:48:57
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-04-02 14:03 |只看该作者 |倒序浏览
本帖最后由 蓦然princes 于 2015-04-02 14:13 编辑

环境说明:
oracle10gR2
Linux5.3

使用emca -repos recreate 进行重建仓库,提示连接错误。
我检查了listener.ora文件没有发现问题。
检查了/etc/hosts文件
--------------------------------------------------下面是/etc/hosts文件内容---------------------
[oracle@oracle11g orcl]$ more /etc/hosts
127.0.0.1                localhost.localdomain localhost
::1                localhost6.localdomain6 localhost6
192.168.74.4                oracle11g
[oracle@oracle11g orcl]$

-------------------------------------------------下面是listener状态--------------------------------------------------------------
[oracle@oracle11g orcl]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 01-MAR-2015 15:22:39

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=oracle11g)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                01-MAR-2015 14:43:37
Uptime                    0 days 0 hr. 39 min. 2 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/oracle/dbhome_11g/network/admin/listener.ora
Listener Log File         /u01/oracle/diag/tnslsnr/oracle11g/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11g)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@oracle11g orcl]$

----------------------------------------------下面是emca -repos recreate结果   并且在指定的路径中没有提示中显示的log文件------------------------------------------

[oracle@oracle11g ~]$ emca -repos recreate

STARTED EMCA at Mar 1, 2015 2:47:37 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:  
Password for SYSMAN user:  

Do you wish to continue? [yes(Y)/no(N)]: yes
Mar 1, 2015 2:47:49 PM oracle.sysman.emcp.util.EMCALogManager addLogFileInternal
WARNING: Adding log file /u01/oracle/cfgtoollogs/emca/orcl/emca_2015_03_01_14_47_36.log failed. Messages will not be logged in this file.
Mar 1, 2015 2:47:49 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/orcl/emca_2015_03_01_14_47_36.log.
Mar 1, 2015 2:47:49 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Mar 1, 2015 2:47:50 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
[backcolor=Silver]WARNING: Error executing /u01/oracle/dbhome_11g/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle11g)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))) -repos_user SYSMAN -action drop -verbose -output_file /u01/oracle/cfgtoollogs/emca/orcl/emca_repos_drop_2015_03_01_14_47_50.log
Mar 1, 2015 2:47:50 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Mar 1, 2015 2:47:50 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/oracle/cfgtoollogs/emca/orcl/emca_repos_drop_<date>.log for more details.
Mar 1, 2015 2:47:50 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /u01/oracle/cfgtoollogs/emca/orcl/emca_2015_03_01_14_47_36.log for more details.
Could not complete the configuration. Refer to the log file at /u01/oracle/cfgtoollogs/emca/orcl/emca_2015_03_01_14_47_36.log for more details.
[oracle@oracle11g ~]$
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP