linux下启动和关闭oracle监听服务
2023-02-14 14:51:55
by 山阴客

打印???
山阴客(http://www.shanyinke.com)
技术文章(http://www.shanyinke.comhref=category.php?cid=1)
LINUX文章(http://www.shanyinke.comhref=category.php?cid=3)

linux下启动和关闭oracle监听服务


1.登录linux
2.切换到oracle用户  su - oracle
3.sqlplus /nolog
4.conn /as sysdba;
5.startup;(启动oracle) shutdown immediate;(关闭oracle)
6.quit; 退出sqlpulu命令。
7.lsnrctl start(启动oracle监听)  lsnrctl stop(停止oracle监听)
8.查看监听的状态 lsnrctl status
二:设置oracle服务自动启动
以root账户登录,修改/etc/oratab如下:
orcl:/home/oracle/product/8.1.7:N 更改为
orcl:/home/oracle/product/8.1.7:Y
 



Copyright © 2002 myarticle.com.cn
All rights reserved.

备案号:浙ICP备17002154号-3 Powered by: MyArticle Version 1.0dev
Processed Time: 0.0014 s Querys: 4 [ Gzip Level 0 ]