Environment variable ORACLE_UNQNAME not defined

來源:互聯網
上載者:User

C:\Users\Administrator>emctl status dbconsole

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database uniquename.


C:\Users\Administrator>emctl stop dbconsole

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database uniquename.


C:\Users\Administrator>set oracle_unqname=$orcl


C:\Users\Administrator>emctl status dbconsole

OC4J Configuration issue. E:\app\CQ\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_CQ-PC_$orcl not found.


C:\Users\Administrator>set oracle_unqname=orcl


C:\Users\Administrator>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 E:\app\Administrator\product\11.2.0\dbhome_1/Administrator_orcl/sysman/log


總之,一句話,set oracle_unqname=orcl。註:orcl是SID。


本文出自 “aini” 部落格,請務必保留此出處http://bugou.blog.51cto.com/5122874/1302353

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.