Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.的解决方法
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.的解决方法环境:Oracle 11g r2 win7问题描述:Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.解决:在cmd中输入:set ORACLE_UNQNAME=orcl (orcl是SID)如果再报的错误是:OC4J Configuration issue.则设置:set ORACLE_HOSTNAME=localhost问题解决!输入:emctl status dbconsole 不再出问题