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

11 篇文章 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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值