码迷,mamicode.com
首页 > 数据库 > 详细

/tmp/.oracle,/var/tmp/.oracle如果删除了,该怎么办?

时间:2015-04-28 16:10:22      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:

在官方文档有如下的描述:

3 Installing Oracle Grid Infrastructure and Oracle Real Application Clusters



Caution:
After installation is complete, do not remove manually or run cron jobs that remove /tmp/.oracle or /var/tmp/.oracle directories or their files while Oracle software is running on the server. If you remove these files, then the Oracle software can encounter intermittent hangs. Oracle Clusterware installations can fail with the error:
CRS-0184: Cannot communicate with the CRS daemon.

安装完成后,在正常运行的RAC下,不能手工移动或者删除/tmp/.oracle,/var/tmp/.oracle,如果移除了,会造成间断性的hang,oracle集群软件也会有报错。

记住:

如果RAC正在运行千万不能删除


如果文件删除了,重新CRS会自动重新建立!


如果目录删除了,那就只能参考下面的命令重建了


Create the /var/tmp and /var/tmp/.oracle directory:


/bin/mkdir -p /var/tmp/.oracle
/bin/chmod 01777 /var/tmp/
/bin/chown root /var/tmp/ 
/bin/chmod 01777 /var/tmp/.oracle
/bin/chown root /var/tmp/.oracle

/tmp/.oracle,/var/tmp/.oracle如果删除了,该怎么办?

标签:

原文地址:http://blog.csdn.net/lemontree1123/article/details/45337079

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!