/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
發佈了72 篇原創文章 · 獲贊 3 · 訪問量 21萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章