修改etc/rc.d/rc.local參數(shù)文件,在后面加入如下兩行 [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參數(shù)文件,在后面加入如下兩行
[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參數(shù)文件,如果最后參數(shù)是N,,則改為Y
px3309:/oracle/product/11.2.0/dbhome_1:Y
修改oracle目錄bin下的dbstart文件,更改如下參數(shù)為$ORACLE_HOME
ORACLE_HOME_LISTNER=$ORACLE_HOME
Copyright ? 2019- 91gzw.com 版權(quán)所有 湘ICP備2023023988號-2
違法及侵權(quán)請聯(lián)系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市萬商天勤律師事務(wù)所王興未律師提供法律服務(wù)