oracle 数据库开机自启动

 时间:2024-10-12 10:03:15

1、查看ORACLE_HOME是否设置[oracle@oracle10g bin]$ echo $ORACLE_HOME/u01/app/oracle/product/10.2.0/db_1如果结果是空,需要编写/home/oracle/.bash_profile文件

oracle 数据库开机自启动oracle 数据库开机自启动

4、编辑/etc/rc.d/rc.local启动文件,添加数据库启动脚本dbstart该文件必须使用root用户编辑[root@oracle10g ~]# vi /etc/rc.d/rc.local[root@oracle10g ~]# cat /etc/rc.d/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.touch /var/lock/subsys/localsu - oracle -lc /u01/app/oracle/product/10.2.0/db_1/bin/dbstartsu - oracle -lc "/u01/app/oracle/product/10.2.0/db_1/bin/lsnrctl start"

oracle 数据库开机自启动

6、查看数据库是否处于open状态最后的保证数据库是否处于可用状态

oracle 数据库开机自启动
  • win10 Edge浏览器如何快捷打开常用网站
  • 神佑释放怎么用手柄玩
  • 战舰世界游戏中如何配合队友及各舰种使用方向
  • 永劫无间二次元迦南怎么捏脸
  • VMware怎么关闭托盘图标?
  • 热门搜索
    嘴唇干裂怎么办 胎记怎么去除 你明白吗用英语怎么说 拉不出来大便怎么办 迷你世界怎么送皮肤 谷歌账号怎么注册 怎么去除眼袋 已注册防沉迷怎么解除 颈怎么组词 购置税怎么算