How to start Oracle Windows services

Oracle Tips by Burleson Consulting
October 26,  2008


Question:
 I need a way to verify that my OEM and isqlplus and
Oracle services are started.  How do you start the Oracle
services?.


Answer:
Oracle Windows processes are more difficult to manage as
services, but there are way to monitor and start the Windows services. 
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. 1 - Click Start,
    point to Settings, and then
    click Control Panel.
  2. 2 - In Control Panel, double-click
    Administrative Tools.
  3. 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 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


  1. Windows Service

    Not Starting Your Database?

  2. Check & verify Oracle

    windows services

  3. Oracle Linux vs. Oracle

    Windows

  4. Oracle scripts for

    Windows

  5. Oracle

    services for Windows
    tips

  6. Interfacing Oracle
    with

    Windows
    scripts

  7. Oracle

    Windows start services
    tips

  8. Oracle

    Windows
    startup failure tips

时间: 2024-10-16 19:27:46

How to start Oracle Windows services的相关文章

Windows Services的1053错误的解决办法之一:修改注册表允许的响应时间

Error: 'The service did not respond in a timely fashion' (ServicesPipeTimeout) when attempting when attempting to start, stop or pause a service PROBLEM When attempting to start, stop or pause a service, one of the following error messages is encount

oracle创建监听Oracle Net Services 配置失败。退出代码是1

netca /silent /responseFile /usr/local/soft/oracle/netca.rsp 出现错误提示如下: [[email protected] oracle]$ netca /silent /responseFile /usr/local/soft/oracle/netca.rsp 正在对命令行参数进行语法分析: 参数"silent" = true 参数"responsefile" = /usr/local/soft/oracle

Oracle Net Services 配置: Error: null Oracle Net Services 配置失败。退出代码是1

具体错误描述: [[email protected] ~]$ netca /silent/responseFile /usr/local/soft/oracel/netca.rsp 正在对命令行参数进行语法分析: 传递的错误命令行参数:"silent/responsefile" 传递的错误命令行参数:"usr/local/soft/oracel/netca.rsp" 完成对命令行参数进行语法分析. Oracle Net Services 配置: Error: nul

当程序以Windows Services形式启动时当前路径不对

很多时候我们需要将我们的程序写成利用Windows服务的形式来让它能够自启动.今天遇到一个问题,当一个程序注册成Windows Services的形式启动的话,当前程序的CurrentDirectory会被设置成系统目录C:\WINDOWS\system32.这样子的话如果你原先程序里访问一些相对路径的资源的话就会出错误,所以需要显示的将当前路径设置到运行程序所在的路径. System.IO.Directory.SetCurrentDirectory(System.AppDomain.Curre

C# ClickOnce deployment for Windows Services ClickOnce 部署windows service

A simple solution that I use is to merely stop the service and x-copy the files from my bin folder into the service folder. A batch file to stop the service then copy the files should be easy to throw together. Net stop myService xcopy \\myServerWith

the service mysql56 was not found in the Windows services的解决办法

mysql无法启动,无法改变状态-CSDN论坛-CSDN.NET-中国最大的IT技术社区 http://bbs.csdn.net/topics/390943788   具体描述: 关闭,重启mysql时提示如下错误: the the service mysql56 failed the most recent status change request with the message the service mysql56 was not found in the Windows servic

Windows Services的操作

Windows Services的操作 一.服务的创建: 1.新建项目——Windows服务 2.这是每个人都会犯的错误,新建一个项目后,都会按F5(运行),就会出现如下错误: 3.安装服务有很多种方式,这里就用外部工具的方式来安装: 4.在vs工具栏下拉菜单中就会出现InstallService服务: 5.在上图中点击运行InstallService时会出现如下错误: 这是3图中,参数没有.exe造成的,所以一定要注意,TimeWindowsService.exe 6.如图是没有安装程序造成的

(转)创建Windows服务(Windows Services)N种方式总结

转自:http://www.cnblogs.com/aierong/archive/2012/05/28/2521409.html 最近由于工作需要,写了一些windows服务程序,有一些经验,我现在总结写出来.目前我知道的创建创建Windows服务有3种方式:a.利用.net框架类ServiceBaseb.利用组件Topshelfc.利用小工具instsrv和srvany 下面我利用这3种方式,分别做一个windows服务程序,程序功能就是每隔5秒往程序目录下记录日志: a.利用.net框架类

用C#创建Windows服务(Windows Services)

学习:  第一步:创建服务框架 创建一个新的 Windows 服务项目,可以从Visual C# 工程中选取 Windows 服务(Windows Service)选项,给工程一个新文件名 ,然后点击 确定.现在项目中有个Service1.cs类: 查看其各属性的含意是: Autolog                 是否自动写入系统的日志文件         CanHandlePowerEvent     服务时候接受电源事件         CanPauseAndContinue