leiyanglove 2012-02-18
lsnrctlstart
netstartOracleServiceORCL
lsnrctlstop
netstopOracleServiceORCL
tnsnames.ora
GAOLEI=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=gaolei-a9f10c3b)(PORT=1521))
)
(CONNECT_DATA=
(SERVICE_NAME=gaolei.cic.hqzy.com.cn)
)
)
C:\oracle\product\10.2.0\db_1\bin\nmesrvc.exe
lsnrctlstart
C:\oracle\product\10.2.0\db_1\BIN\TNSLSNR
netstartOracleServiceORADB
c:\oracle\product\10.2.0\db_1\bin\ORACLE.EXEORCL
lsnrctl[start|stop|status]--启动监听器,停止监听器,查看监听器的状态;
net[start|stop]oracleserviceorcl