Wednesday, August 7, 2013

[Oracle][solved] Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name

you use the command "emctl start" and get error:

> emctl start
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name
To solve the problem, use this command to set your database unique name.

> set oracle_unqname=your_database_name       
// in my case is "set oracle_unqname=orcl"

and then start again:       
> emctl start
 
p.s.
You can use this command to check status:
emctl status dbconsole 



No comments :

Post a Comment