1.啓動TNS監聽
C:/Documents and Settings/Administrator>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-7月 -2008 12:0
3:55
Copyright (c) 1991, 2005, Oracle. All rights reserved.
啓動tnslsnr: 請稍候...
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
系統參數文件爲E:/oracle/product/10.2.0/db_1/network/admin/listener.ora
寫入E:/oracle/product/10.2.0/db_1/network/log/listener.log的日誌信息
監聽: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROC1ipc)))
監聽: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx)(PORT=1521)))
正在連接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
LISTENER 的 STATUS
------------------------
別名 LISTENER
版本 TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
啓動日期 13-7月 -2008 12:03:56
正常運行時間 0 天 0 小時 0 分 1 秒
跟蹤級別 off
安全性 ON: Local OS Authentication
SNMP OFF
監聽程序參數文件 E:/oracle/product/10.2.0/db_1/network/admin/listener.o
ra
監聽程序日誌文件 E:/oracle/product/10.2.0/db_1/network/log/listener.log
監聽端點概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx)(PORT=1521)))
服務摘要..
服務 "PLSExtProc" 包含 1 個例程。
例程 "PLSExtProc", 狀態 UNKNOWN, 包含此服務的 1 個處理程序...
命令執行成功
C:/Documents and Settings/Administrator>net start OracleServiceOrcl
OracleServiceORCL 服務正在啓動 ............
OracleServiceORCL 服務已經啓動成功。
2.啓動Oracle Services
C:/Documents and Settings/Administrator>net start OracleServiceOrcl
OracleServiceORCL 服務正在啓動 ............
OracleServiceORCL 服務已經啓動成功。
這裏的“OracleServiceOrcl”中的Orcl是你的Oracle的SID
3.以sysdba身份登錄
SQL> connect system as sysdba
輸入口令:
已連接。
4.啓動isqlplus
C:/Documents and Settings/Administrator>isqlplusctl start
iSQL*Plus 10.2.0.1.0
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Starting iSQL*Plus ...
iSQL*Plus started.
5.啓動database control
C:/Documents and Settings/Administrator>emctl start dbconsole