| 導購 | 订阅 | 在线投稿
分享
 
 
 

Windows下Oracle數據庫進程的啓動和關閉

來源:互聯網  2008-06-12 07:23:58  評論

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.

SQL>

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. SQL>
󰈣󰈤
王朝萬家燈火計劃
期待原創作者加盟
 
 
 
>>返回首頁<<
 
 
 
 
 熱帖排行
 
 
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有