We help IT Professionals succeed at work.

oradim

dbaseek
dbaseek asked
on
Medium Priority
2,195 Views
Last Modified: 2008-01-09
i have 10g oracle installed successfully

when i oradim it shows

C:\Documents and Settings\sunu>iradim
'iradim' is not recognized as an internal or external command,
operable program or batch file.

what is the reason?
Comment
Watch Question

Author

Commented:
i would appreciate
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
you seem to have typed iradim instead of oradim ?

anyhow, change to the folder where the program oradim.exe is located in, and run the program again.

Author

Commented:
i checked with oradim too
same thing is getting
C:\Documents and Settings\sunu>oradim
'oradim' is not recognized as an internal or external command,
operable program or batch file.

where is oradim.exe is located?
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
usually in oracle_home / bin
for oracle 10 for example:
C:\oracle\10.1.2\product\bin

Author

Commented:
i located the exe or oradim
 

it means for the creation of database we require oradim.. so have to come to that directory for the passwordfile creation and all...
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
yes, or include that path into the PATH environment variable.

Author

Commented:
can u help me to do that (include that path into the PATH environment variable)
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
I assume you have windows XP:
first, not the directory you found the oradim.exe tool.

Right-click your computer, choose "properties"
select "advanced" tab, and click "environment variables" button
in the list "system variables, choose "Patth", and click "Edit"

in the field "Value", add the directory in the list, with a semicolomn (;) separating the entries.
OK
OK
OK

Now, open a new command line prompt, and run oradim which should now be found without being in the folder...

Commented:
To create the database in windows first do this:

set verify off
PROMPT specify a password for sys as parameter 1;
DEFINE sysPassword = &1
PROMPT specify a password for system as parameter 2;
DEFINE systemPassword = &2
host E:\oracle\product\10.1.0\Db_1\bin\orapwd.exe file=E:\oracle\product\10.1.0\Db_1\database\PWDOEM10G.ora password=<sys password> force=y
E:\oracle\product\10.2.0\db_1\bin\oradim.exe -new -sid <SID Name> -startmode manual
E:\oracle\product\10.2.0\db_1\bin\oradim.exe  -EDIT -SID <SID Name> -STARTMODE a -SHUTMODE i -PFILE <Your init<SID>.ora path>\init<SID>.ora -SHUTTYPE inst

The first oradim creates the windows service.
the second Oradim edit the service so that when you stop the service the database will shutdown immediate instead of crashing.  NOTE:  This will not prevent the Db from crashing when someone reboots the server without stopping the service first.

Good luck !

 

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.