linux下面oracle随机启动侦听和数据库所需参数修改

您所在的位置:网站首页 linux重启oracle数据库监听 linux下面oracle随机启动侦听和数据库所需参数修改

linux下面oracle随机启动侦听和数据库所需参数修改

#linux下面oracle随机启动侦听和数据库所需参数修改 | 来源: 网络整理| 查看: 265

修改etc/rc.d/rc.local参数文件,在后面加入如下两行

[root@linux9 bin]# 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 -c /oracle/product/11.2.0/dbhome_1/bin/dbstartsu - oracle -c /oracle/product/11.2.0/dbhome_1/bin/lsnrctl start 修改/etc/oratab参数文件,如果最后参数是N,则改为Ypx3309:/oracle/product/11.2.0/dbhome_1:Y 修改oracle目录bin下的dbstart文件,更改如下参数为$ORACLE_HOMEORACLE_HOME_LISTNER=$ORACLE_HOME



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3