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怎么关闭托盘图标?
  • 热门搜索
    大彻大悟的意思 什么是bbs 录取通知书什么时候 什么是基金理财 有什么动漫好看 m是什么意思 国际组织的作用 什么是猫眼石 lord什么意思 hit是什么意思