Oracle學習系列—Windows下資料庫程式的啟動和關閉

bq_wang發表於2008-02-13

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>

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/6517/viewspace-145506/,如需轉載,請註明出處,否則將追究法律責任。

相關文章