oracledbconsoleorcl无法启动,oem管理网页无法打开

在doc窗口下输入:emctl status dbconsole
返回结果为:Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.


在oracle安装目录中找到类似此路径:C:\app\Administrator\product\11.2.0\dbhome_1
然后寻找类似localhost_orcl的文件夹
如附件所示
其中的localhost是用户名
orcl就是唯一标识

然后再执行一下内容:
C:\>set ORACLE_HOSTNAME=localhost

C:\>set ORACLE_UNQNAME=orcl

C:\>emctl status dbconsole

返回结果:
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://localhost:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory C:\app\McLaughlinM\product\11.2.0\dbhome_1/localhost_orcl/sysman/log


执行完成后再打开页面看看,已经能看到管理界面了!
参考网址:http://blog.mclaughlinsoftware.com/2012/08/23/whats-oracle_unqname/
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值