解決辦法如下
Microsoft Windows XP [Version
(C) Copyright
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
Copyright (c)
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC
The command completed successfully
C:/>lsnrctl start
LSNRCTL for
Copyright (c)
Starting tnslsnr: please wait
TNSLSNR for
System parameter file is C:/UserDefine/oracle/ora
Log messages written to C:/UserDefine/oracle/ora
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//
)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=scn
)(PORT=
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for
tion
Start Date
Uptime
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:/UserDefine/oracle/ora
Listener Log File C:/UserDefine/oracle/ora
Listening Endpoints Summary
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=scn
T=
Services Summary
Service
Instance
Service
Instance
The command completed successfully
C:/>sqlplus /nolog
SQL*Plus: Release
Copyright (c)
SQL> connect sys/change_on_install as sysdba
Connected
SQL>
From:http://tw.wingwit.com/Article/program/Oracle/201311/17222.html