Linux oracle(常用命令)启动、停止、监听
1、手动启动
- dbstart /u01/app/oracle/product/11.2.0/dbhome_1 (ORACLE_HOME)
2、停止数据库
- dbshut /u01/app/oracle/product/11.2.0/dbhome_1 (ORACLE_HOME)
3、启动监听:
- lsnrctl start
4、若无ora_**_**相关的进程,则oracle数据库实例未启动
- ps aux | grep ora_
5、若无任何显示,则监听器未启动
- netstat -tlnup | grep 1521
6、查看监听器状态
-
lsnrctl status
7、若无任何显示,则EM未启动
-
netstat -tlnup | grep 1158
8、查看EM状态
-
emctl status dbconsole
需chkconfig add 添加为系统服务
9、启动Oracle服务
-
service oracle11g start
10、停止Oracle服务
-
service oracle11g stop
11、控制台(emtcl)
- sqlplus / as sysdba
转载来源:https://blog.csdn.net/liubinwyzbt/article/details/52433881
6万+

被折叠的 条评论
为什么被折叠?



