Windows下Oracle数据库进程的启动和关闭


windows下Oracle的启动一般是伴随windows自动启动,自动关闭的。但是如果同过任务管理器杀掉了Oracle进程,如果通过命令行方式打开Oracle就会报错误信息。

解决办法如下:

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:/Documents and Settings/wangbao>cd/

C:/>net stop OracleServiceWBQ

The OracleServiceWBQ service is stopping........

The OracleServiceWBQ service could not be stopped.

C:/>net start OracleServiceWBQ

The OracleServiceWBQ service is starting...............

The OracleServiceWBQ service was started successfully.

C:/>lsnrctl stop

LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 15-MAR-2007 13:19:

17

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))

The command completed successfully

C:/>lsnrctl start

LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 15-MAR-2007 13:19:

20

Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.

Starting tnslsnr: please wait...

TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production

System parameter file is C:/UserDefine/oracle/ora92/network/admin/listener.ora

Log messages written to C:/UserDefine/oracle/ora92/network/log/listener.log

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROC0ipc

)))

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=scn3089.asiapacific.hpqc

orp.net)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))

STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc

tion

Start Date 15-MAR-2007 13:19:22

Uptime 0 days 0 hr. 0 min. 2 sec

Trace Level off

Security OFF

SNMP OFF

Listener Parameter File C:/UserDefine/oracle/ora92/network/admin/listener.ora

Listener Log File C:/UserDefine/oracle/ora92/network/log/listener.log

Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROC0ipc)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=scn3089.asiapacific.hpqcorp.net)(POR

T=1521)))

Services Summary...

Service "PLSExtProc" has 1 instance(s).

Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...

Service "wbq" has 1 instance(s).

Instance "wbq", status UNKNOWN, has 1 handler(s) for this service...

The command completed successfully

C:/>sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on Thu Mar 15 13:19:28 2007

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

SQL> connect sys/change_on_install as sysdba

Connected.

本文作者:



相关阅读:
Windows7 登录界面文字和按钮样式应如何更换?
解决XP系统远离内存读写错误
将HTML或txt文件转换为ASP输出的vbs代码
用表单来提交sql(转)2
HTML5新增的元素详解
PHP教程:strlen与mb_strlen字符串长度函数
JavaScript 高效运行代码分析
未通过微软正版验证出现黑屏怎么办
vb.net入门——ComboBox 控件的使用
分秒必争域的时间同步问题
浅谈PHP语法(4)
Linux内核2.6.25全新发布加入众多新特性
PHP中实现汉字转区位码应用源码实例解析
文件夹无法删除的常用解决办法
快速导航

Copyright © 2016 phpStudy |