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