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怎么关闭托盘图标?
  • 热门搜索
    广东旅游景点介绍 旅游的作文 濮阳旅游景点大全 海涛旅游出境游 智慧旅游平台 遂宁旅游景点大全 海南旅游报价 国庆旅游哪里人少 武汉旅游路线 建瓯旅游景点大全