autorun file for ohasd is missing

来源:互联网 发布:64码高清网络电视apk 编辑:程序博客网 时间:2024/05/21 04:02

系统日志中有:

logger: autorun file for ohasd is missing

数据库版本:11.2.0.3

解决:

1.是一个bug

2.vi /etc/init.d/init.ohasd

sleep 30######### Shell functions #########


cd /etc/oracle/scls_scr/ectonb/grid

下面加了ohasdrun文件

cat ohasdrun
reboot


重启系统

[root@ectona ~]# more /etc/oracle/scls_scr/ectona/grid/ohasdrun
restart

未解决!!!

cd <INITD Location>grep AUTORUNFILE init.ohasd | head -1AUTORUNFILE=/etc/oracle/scls_scr/$MY_HOST/<strong>grid</strong>/ohasdrun

改为:

cd <INITD Location>
grep AUTORUNFILE init.ohasd | head -1
AUTORUNFILE=/etc/oracle/scls_scr/$MY_HOST/root/ohasdrun

重启,还是不行。决定回滚,然后试试可以启动不。先把前面改动过的改回去。

回滚之后,就一切正常了。

0 0
原创粉丝点击