Computer problems,Computer help
*AX SOFT>>>Programming & Design

Oracle 10g - Environment Variable - WINDOWS?


I am trying to activate the Enterprise Manager using a DOS batch command.

From c:\oracle\product\10.1.0\DB_1\BIN. I enter the command line; emctl start dbconsole

"Environment Variable ORACLE_SID not defined ..."

I tried 3 ways to set it.
1) Control Panel > System > Advanced > Environment Variables ADD ORACLE_SID = %oracle_sid%
2) From the command prompt,
SET Oracle_SID = %oracle_sid%
3) In the Registry, Current User > Environment > String Value
Oracle_SID = %oracle_sid%

I also tried setting Oracle_SID to the path
c:\oracle\products\10.1.0

AND to orcl

None of the settings works.

I tried to follow this info:
http://209.85.173.104/search?q=cache:yfo...

Suggestions?

What SID did you use when you set up Oracle? I think it defaults to ORCL. Try
set ORACLE_SID=ORCL
at the command prompt and if that works set it permanently via your control panel. If you can't remember, reinstall Oracle and write it down this time.

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • Staring your own website?

    Since you don't' have much knowledge you could start with a blog. Try wordpress ...

  • Java Programming: List/Itterated Merge Sort?

    Just replace the arrays in this code with a java.util.List and then use the List's iterator in the for-loops. public class Mergesort { /** * The main method illustrates the use of ...

  • While statement?

    #include <iostream.h> int main() { short int x; cout <<(x)<<endl; //Most compilers automatically assume the variable is the large possible number unless defined. but the below ...

  • How do you make a myspace or website backround?

    Thats simple. All you have to do is go to hotfreelayouts.com and look over all of the different backgrounds that are availible. When you find the one that you want, copy the code and paste it at th...

  • [C#] How do I get the name of the current program's namespace as a string?

    Hello, Okay, now the question is a understandable. :) You have to recall that an application may or may not have an namespace, it is optional, but it is best to use it for organization and many ...

  • How do you "reinstall" Zwinky?

    i would leave zwinky alone i think it has spyware and all sorts of crap that you dont want

    ...
  • Shall I take C#/C++ or Visual Basic for AVR Programming?

    well since you do assembly then learning any other of the said languages will be easy for you, given your situation I'd say go for C/C++!

    ...
  • Java, nested loop?

    for (int c=1;c<=4;c++) { for (int i=c;i<=4;i++) { System.out.println(i); } }

    ...
  •  

    Categories--Copyright/IP Policy--Contact Webmaster