DOS下启动oracle监听

  • C:/Documents and Settings/Administrator>lsnrctl start   
  •   
  • LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 08-10月-2007 20:34:44   
  •   
  • Copyright (c) 1991, 2004, Oracle.  All rights reserved.   
  •   
  • 启动tnslsnr: 请稍候...   
  •   
  • TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production   
  • 系统参数文件为D:/oracle/product/10.1.0/db_1/network/admin/listener.ora   
  • 写入D:/oracle/product/10.1.0/db_1/network/log/listener.log的日志信息   
  • 监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROCipc)))   
  • 监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lenovo-9664c495)(PORT=1521)))   
  •   
  • 正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))   
  • LISTENER 的 STATUS   
  • ------------------------   
  • 别名                       LISTENER   
  • 版本                       TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production   
  • 启动日期                   08-10月-2007 20:34:48   
  • 正常运行时间               0 天 0 小时 0 分 4 秒   
  • 跟踪级别                  off  
  • 安全性                    ON: Local OS Authentication   
  • SNMP                      OFF  
  • 监听程序参数文件           D:/oracle/product/10.1.0/db_1/network/admin/listener.ora   
  • 监听程序日志文件           D:/oracle/product/10.1.0/db_1/network/log/listener.log   
  • 监听端点概要...   
  •    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROCipc)))   
  •    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lenovo-9664c495)(PORT=1521)))   
  • 服务摘要..   
  • 服务 "PLSExtProc" 包含 1 个例程。   
  •    例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...   
  • 命令执行成功   
  •   
  • C:/Documents and Settings/Administrator>net start oracleservicemelet   
  • OracleServiceMELET 服务正在启动 ...............   
  • OracleServiceMELET 服务已经启动成功。   
  •   
  •   
  • C:/Documents and Settings/Administrator>sqlplus melet/melet@melet as sysdba   
  •   
  • SQL*Plus: Release 10.1.0.2.0 - Production on 星期一 10月 8 20:38:59 2007   
  •   
  • Copyright (c) 1982, 2004, Oracle.  All rights reserved.   
  •   
  •   
  • 连接到:   
  • Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production   
  • With the Partitioning, OLAP and Data Mining options   
  •   
  • SQL> select * from employee   
  •    2   /   
  •   
  • ID    FIRST_NAME LAST_NAME   START_DATE      END_DATE            SALARY CITY   
  • ---- ---------- ---------- -------------- -------------- ---------- ----------   
  • DESCRIPTION   
  • ---------------   
  • 01    Jason       Martin      25-7月 -96      25-7月 -06         1234.56 Toronto   
  • Programmer   
  •   
  • 02    Alison      Mathews     21-3月 -76      21-2月 -86         6661.78 Vancouver   
  • Tester   
  •   
  •   
  • SQL> --数据库名   
  • SQL> select name from v$database  
  •    2   /   
  •   
  • NAME  
  • ---------   
  • MELET   
  •   
  • SQL> --实例名   
  • SQL> select instance_name from v$instance;   
  •   
  • INSTANCE_NAME   
  • ----------------   
  • melet   
  •   
  • SQL> --退出服务   
  • SQL> net stop oracleservicemelet   
  • SP2-0734: 未知的命令开头 "net stop o..." - 忽略了剩余的行。   
  • SQL> exit   
  • 从 Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production   
  • With the Partitioning, OLAP and Data Mining options 断开   
  •   
  • C:/Documents and Settings/Administrator>net stop oracleservicemelet   
  • OracleServiceMELET 服务正在停止......   
  • OracleServiceMELET 服务已成功停止。   
  •   
  •   
  • C:/Documents and Settings/Administrator>lsnrctl status   
  •   
  • LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 08-10月-2007 20:54:35   
  •   
  • Copyright (c) 1991, 2004, Oracle.  All rights reserved.   
  •   
  • 正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))   
  • LISTENER 的 STATUS   
  • ------------------------   
  • 别名                       LISTENER   
  • 版本                       TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production   
  • 启动日期                   08-10月-2007 20:34:48   
  • 正常运行时间               0 天 0 小时 19 分 50 秒   
  • 跟踪级别                  off  
  • 安全性                    ON: Local OS Authentication   
  • SNMP                      OFF  
  • 监听程序参数文件           D:/oracle/product/10.1.0/db_1/network/admin/listener.ora   
  • 监听程序日志文件           D:/oracle/product/10.1.0/db_1/network/log/listener.log   
  • 监听端点概要...   
  •    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROCipc)))   
  •    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lenovo-9664c495)(PORT=1521)))   
  • 服务摘要..   
  • 服务 "PLSExtProc" 包含 1 个例程。   
  •    例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...   
  • 命令执行成功   
  •   
  • C:/Documents and Settings/Administrator>lsnrctl stop   
  •   
  • LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 08-10月-2007 20:54:55   
  •   
  • Copyright (c) 1991, 2004, Oracle.  All rights reserved.   
  •   
  • 正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))   
  • 命令执行成功   
  •   
  • C:/Documents and Settings/Administrator>  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值