当前所在位置:珠峰网资料 >> 计算机 >> Oracle认证 >> 正文
oracle服务启动和关闭二
发布时间:2010/10/7 9:30:25 来源:www.xue.net 编辑:城市总裁吧
      启动Oracle 9i监听程序

  Oracle的监听程序主要是为客户端的连接提供接口

  01[oracle@localhost ~]$ lsnrctl

  02LSNRCTL for Linux: Version 9.0.1.0.0 - Production on 11-JUL-2001 16:12:17

  03Copyright (c) 1991, 2001, Oracle Corporation. All rights reserved.

  04Welcome to LSNRCTL, type "help" for information.

  05LSNRCTL> start

  06Starting /Oracle/product/9.0.1/bin/tnslsnr: please wait...

  07TNSLSNR for Linux: Version 9.0.1.0.0 - Production

  08System parameter file is /Oracle/product/9.0.1/network/admin/listener.ora

  09Log messages written to /Oracle/product/9.0.1/network/log/listener.log

  10Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))

  11Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=wing)(PORT=1521)))

  12Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))

  13STATUS of the LISTENER

  14------------------------

  15Alias LISTENER

  16Version TNSLSNR for Linux: Version 9.0.1.0.0 - Production

  17Start Date 11-JUL-2001 16:12:58

  18Uptime 0 days 0 hr. 0 min. 0 sec

  19Trace Level off

  20Security OFF

  21SNMP OFF

  22Listener Parameter File /Oracle/product/9.0.1/network/admin/listener.ora

  23Listener Log File /Oracle/product/9.0.1/network/log/listener.log

  24Listening Endpoints Summary...

  25(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))

  26(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.2.4.106)(PORT=1521)))

  27Services Summary...

  28Service "PLSExtProc" has 1 instance(s).

  29Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...

  30Service "Oracle" has 1 instance(s).

  31Instance "Oracle", status UNKNOWN, has 1 handler(s) for this service...

  32The command completed successfully

  33LSNRCTL>

  关闭Oracle 9i监听程序

  1[oracle@localhost ~]$ lsnrctl

  2LSNRCTL for Linux: Version 9.0.1.0.0 - Production on 11-JUL-2001 16:12:17

  3Copyright (c) 1991, 2001, Oracle Corporation. All rights reserved.

  4Welcome to LSNRCTL, type "help" for information.

  5LSNRCTL> stop

  6Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))

  7The command completed successfully

  8LSNRCTL>

  关闭Oracle Web Server

  1cd $Oracle_HOME/Apache/Apache/bin

  2./stopJServ.sh

  3/Oracle/product/9.0.1/Apache/Apache/bin/apachectl stop: httpd stopped

  启动Oracle Web Server

  1cd $Oracle_HOME/Apache/Apache/bin

  2[oracle@localhost ~]$ ./startJServ.sh

  3/Oracle/product/9.0.1/Apache/Apache/bin/apachectl start: httpd started

  启动Oracle Web Server后默认的端口号是7777

  在客户端浏览器地址栏输入http://xxx.xx.xxx.xxx:7777/

  如果浏览器出现以下界面则表示Oracle Web Server运行正常

广告合作:400-664-0084 全国热线:400-664-0084
Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号
珠峰网 版权所有 All Rights Reserved