autorun file for ohasd is missing

系统日志中有:

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 -1
AUTORUNFILE=/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

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

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

你可能感兴趣的:(File,for,autorun,oha)