Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name

Posted by Tapas Bose on Super User See other posts from Super User or by Tapas Bose
Published on 2011-11-17T07:28:23Z Indexed on 2011/11/17 9:57 UTC
Read the original article Hit count: 2278

I have a batch file which starts the Oracle Services

net start OracleOraDb11g_home1TNSListener
net start OracleServiceORCL
call C:\app\Edifixio\product\11.2.0\dbhome_1\BIN\emctl.bat start dbconsole
pause

But on executing the script I am getting:

C:\windows\system32>net start OracleOraDb11g_home1TNSListener
The requested service has already been started.

More help is available by typing NET HELPMSG 2182.


C:\windows\system32>net start OracleServiceORCL
The OracleServiceORCL service is starting.........
The OracleServiceORCL service was started successfully.


C:\windows\system32>call C:\app\Edifixio\product\11.2.0\dbhome_1\BIN\emctl.bat start dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
Press any key to continue . . .

I am using Windows 7 64 bit with Oracle 11gR2 64 bit. Any information will be very helpful. Thanks and Regards.

© Super User or respective owner

Related posts about windows-7

Related posts about environment-variables