Oracle Tips by Burleson Consulting
October 26, 2008
Question: I need A-verify that my OEM and isqlplus and Oracle services is started. How does you start the Oracle services?.
Answer: Oracle Windows processes is more difficult to manage as services, but there is a-to monitor and start the Windows serv Ices. For complete details on managing Oracle on a PC, see the book "Personal Oracle RAC Clusters".
In generic Windows, you start the Oracle service by clicking as follows:
- 1-click Start, point to Settings, and then Click Control Panel.
- 2-in Control Panel, double-clickAdministrative Tools.
- 3-in the Administrative Tools window, double-click Services.
Sadly, the Dbstart and dbstop shell scripts do not exist on Oracle Windows platforms. Consequently Oracle database startup and shutdown is implemented completely differently. The Oradim utility is used on the Windows platform to perform these tasks.
C:\oracle11g\bin\oradim-startup-sid ORCL92? usrpwd Manager
-starttype srvc,inst-pfile C:\oracle9i\admin\ORCL92\pfile\init.ora
? Startup? Indicates that the specified instance should is started.
? Sid? The SID of the database to start.
? Usrpwd? The password for the database user.
? StartType? Specifies whether to start the instance, the service, or both (SRVC, INST).
The following command can used to shutdown, the instance with Oradim:
C:\oracle11g\bin\oradim-shutdown-sid Orcl92-shutttype Srvc,inst
? Shutmode A
Notice that no password are needed to perform this task.
The Shuttype parameter specifies what are to be stopped? The service (SRVC), the instance (INST), or both (SRVC, INST). The Shutmode specifies the method that should perform the shutdown? (A) bort, (I) mmediate, or (N) ormal.
Each operation, regardless of success, was logged in the Oradim log file (Oracle_home\database\oradim.log). This file should is checked for errors after eachOradimcommand is executed.
The Oradim utility provides more than just the ability to start and stop Windows databases. Oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms, bypassing the Oracle Database Configuration Assista Nt?s Graphical user interface (GUI).
For a reference of any Oradim commands, use the Oradim? Help command.
References on starting Oracle Windows services:
Starting Windows Services in Oracle
- Windows Service Not starting Your Database?
- Check & Verify Oracle Windows Services
- Oracle Linux vs. Oracle Windows
- Oracle Scripts for Windows
- OracleServices for Windows tips
- Interfacing Oracle withWindows scripts
- OracleWindows Start Services Tips
- OracleWindows startup failure tips
How to start Oracle Windows Services