启动Oracle 9i监听程序,操作如下:
  说明:Oracle的监听程序主要是为客户端的连接提供接口的。
  ――――――――――――――――――――――――――――――
   [oracle@Linux oracle] $ lsnrctl

   LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 26-FEB-2004 16:10:17
   Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
   Welcome to LSNRCTL, type "help" for information.
 
   LSNRCTL> start
   Starting /opt/oracle9i/product/9.2.0/bin/tnslsnr: please wait...

   TNSLSNR for Linux: Version 9.2.0.1.0 - Production
   System parameter file is /opt/oracle9i/product/9.2.0/network/admin/listener.ora
   Log messages written to /opt/oracle9i/product/9.2.0/network/log/listener.log
   Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
   Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Linux)(PORT=1521)))

   Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
   STATUS of the LISTENER
   ------------------------
   Alias              LISTENER
   Version            TNSLSNR for Linux: Version 9.2.0.1.0 - Production
   Start Date         26-FEB-2004 15:28:23
   Uptime             0 days 0 hr. 0 min. 0 sec
   Trace Level        off
   Security           OFF
   SNMP               OFF
   Listener Parameter File   /opt/oracle9i/product/9.2.0/network/admin/listener.ora

   Listener Log File         /opt/oracle9i/product/9.2.0/network/log/listener.log

   Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Linux)(PORT=1521)))
   Services Summary...
   Service "ORCL.SOFT" has 1 instance(s).
   Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
   Service "PLSExtProc" has 1 instance(s).
   Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
   The command completed successfully
   LSNRCTL>
  ――――――――――――――――――――――――――――――


  关闭Oracle 9i监听程序,操作如下:
  ――――――――――――――――――――――――――――――
   [oracle@Linux oracle] $ lsnrctl

    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 26-FEB-2004 16:15:28
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.

    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    The command completed successfully
    LSNRCTL>
  ――――――――――――――――――――――――――――――

Logo

更多推荐