Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name
- by Tapas Bose
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.