? startup ? Indicates that the specified instance should be 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 be used to shutdown the instance with oradim:
C:\oracle11g\bin\oradim -shutdown -sid ORCL92 -shutttype SRVC,INST
?shutmode A
Notice that no password is needed to perform this task.
The shuttype parameter specifies what is 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, is logged in the oradim log file (ORACLE_HOME\database\OraDim.Log). This file should be checked for errors after each oradim command 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 Assistant?s graphical user interface (GUI).
For a reference of all 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
Oracle services for Windows tips
Interfacing Oracle with Windows scripts
Oracle Windows start services tips
Oracle Windows startup failure tips
How to start Oracle Windows services
标签:
查看更多关于How to start Oracle Windows services的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did118597