ORADIM is a command-line tool that is available with Oracle Database.
ORADIM creates Oracle Database service, Oracle VSS Writer service, and Oracle Scheduler service to run under the Oracle Home User account. If this account is a Windows Local User Account or a Windows Domain User Account, then ORADIM prompts for a password for that account and accepts the same through
Specify both the Oracle Home User and its password using the
-RUNAS osusr[/ospass] option to
oradim. If the given
osusr is different from the Oracle Home User, then use the Oracle Home User instead of
osusr along with the given
The following sections describe ORADIM commands and parameters. Note that each command is preceded by a dash (
-). To get a list of the ORADIM parameters, enter:
oradim -? | -h | -help
oradim without any options also returns a list of ORADIM parameters and descriptions.
When you use ORADIM, a log file called
oradim.log opens in
\database, or in the directory specified by registry parameter
ORA_CWD. All operations, whether successful or failed, are logged in this file. You must check this file to verify success of an operation.
If you have installed an Oracle Database service on Windows, then when logging in as the SYSTEM user (LocalSystem), with the startup mode set to Automatic, it is possible that the Oracle Database service starts but the database does not start automatically. The following error message is written to the file
ORADIM.LOG in the directory
ORA-12640: Authentication adapter initialization failed
To work around this issue, perform the following tasks:
You can modify
SQLNET.ORA, by doing either of the following:
Remove the line
Change the line
Start the database after the service starts.
You can start the database manually after the Oracle Database service has started, using SQL*Plus and connecting as
Start the service as a specific user.
Your operating system documentation for instructions on starting the services