ITPub博客

首页 > 数据库 > Oracle > 记解决OEM起不来提示C4J_DBConsole_xxxx(hostname)_xxxx(sid) not found

记解决OEM起不来提示C4J_DBConsole_xxxx(hostname)_xxxx(sid) not found

原创 Oracle 作者:qqmengxue 时间:2011-05-13 16:39:59 0 删除 编辑

环境:

ORACLE10G 64BIT

REDHAT5.4 64BIT

OBJECT:

[oracle@localhost ~]$ emctl start dbconsole
TZ set to PRC
OC4J Configuration issue. /u01/app/10.2.1/db_1/oc4j/j2ee/OC4J_DBConsole_qqdb_qqdb not found.

[@more@]

今天在启动OEM时提示:

[oracle@localhost ~]$ emctl start dbconsole
TZ set to PRC
OC4J Configuration issue. /u01/app/10.2.1/db_1/oc4j/j2ee/OC4J_DBConsole_qqdb_qqdb not found.

以上报错中:OC4J_DBConsole_qqdb_qqdb 其组成部分分别是:OC4J_DBConsole_{hostname}_{oracle_sid}知道了这个我们就应该都明白问题怎么解决了,首先检查sid是否对,然后查看hosts文件内是否包含错误提示里的hostname,如果没有加入则可。

解决:

[root@localhost ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 qqdb localhost
127.0.0.1 localhost.localdomain localhost

[oracle@localhost ~]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://localhost.localdomain:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........ started.
------------------------------------------------------------------
Logs are generated in directory /u01/app/10.2.1/db_1/localhost.localdomain_qqdb/sysman/log

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

请登录后发表评论 登录
全部评论

注册时间:2009-03-26

  • 博文量
    169
  • 访问量
    589154