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

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

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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。