修改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 # w
修改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/local
su - oracle -c /oracle/product/11.2.0/dbhome_1/bin/dbstart
su - oracle -c /oracle/product/11.2.0/dbhome_1/bin/lsnrctl start
修改/etc/oratab参数文件,如果最后参数是N,,则改为Y
px3309:/oracle/product/11.2.0/dbhome_1:Y
修改oracle目录bin下的dbstart文件,更改如下参数为$ORACLE_HOME
ORACLE_HOME_LISTNER=$ORACLE_HOME
Copyright © 2019- awee.cn 版权所有 湘ICP备2023022495号-5
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务