坑人的/tmp/.oracle
看似是個臨時目錄,但是刪除它會導致RAC執行出錯,只能重啟RAC或server解決;另外,若啟動RAC時該目錄仍殘留有關閉前的各種檔案,也會導致RAC無法正常啟動,此時需要將其刪除才能成功;
The hidden directory ‘/var/tmp/.oracle’ was removed while instances & the CRS stack were up and running. Typically this directory contains a number of “special” socket files that are used by local clients to connect via the IPC protocol (sqlnet) to various Oracle processes including the TNS listener, the CSS, CRS & EVM daemons or even database or ASM instances. These files are created when the “listening” process starts
不光是RAC程式,listener也有可能會因此該目錄而無法啟動
1. Failure to startup after reboot:
Check if the hidden directory /tmp/.oracle or /var/tmp/.oracle is clean. Old sockets left from previous listener starts, can stop a listener from starting. Ensure tmp has space. Check permissions are correct (777) for these directories and that the owner is the oracle account who owns the binaries and correct group. Truss for failure could look similar to
25078: chmod("/tmp/.oracle", 01777) Err#1 EPERM
25078: socket(1, 1, 0) = 3
25078: access("/tmp/.oracle/sEXTPROC", 0) = 0
25078: connext(3, 0x0FFFFFFFFFFF7D00, 106) Err#79 ECONNREFUSED
--Troubleshooting TNS listener Startup Failures [ID 946508.1]
很難想象oracle把如此重要的東西放在/tmp目錄下,而他們給出的解釋是因為隱蔽所以估計沒有人會注意到,因而不會被誤刪除。
以下是一個外國同行的吐槽,相信中招的DBA不在少數
However, I really was dumbstruck that Oracle would have so critical a directory in /var/tmp! I politely note this to Oracle Support, who justified this location with a few solid reasons:
1. It has always been in this location (and still is in 11gR2).
2. /var/tmp/.oracle is a hidden directory, so it probably won’t be noticed by any miscreants looking to cause trouble
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15480802/viewspace-749687/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- tmp
- zt坑人無數的Redis面試題Redis面試題
- 產權分割商鋪,太坑人!
- 安裝ORACLE db /tmp空間不足解決辦法Oracle
- [20141128]目錄/var/tmp/oracle.txtOracle
- esxi6報ramdisk tmp已滿因此無法寫入檔案tmp
- 注意放在/tmp目錄下的檔案
- Clusterware Intermi Hangs And Fail With CRS-184 as Net in /tmp/.oracle_370605.1AIOracle
- Last_Error:Unabletouseslave'stemporarydirectory/var/tmpASTError
- 骷髏坑人小技巧1[python]:坑爹遊戲[tkinter]Python遊戲
- tmp目錄刪除和tmpwatch命令的使用
- 從一道坑人的面試題說函數語言程式設計面試題函數程式設計
- centos7怎麼進去tmp目錄並清除垃圾?centos7系統清除tmp目錄的垃圾方法CentOS
- Mysql重建/tmp/mysql/sock方法詳解MySql
- Java坑人面試題系列: 包裝類(中級難度)Java面試題
- php.ini中的upload_tmp_dir 引數PHP
- Incorrect key file for table '/tmp/....'錯誤的解決--記錄
- rman backup as copy database format '/tmp/%U.dbf'DatabaseORM
- HP-UNIX擴充套件/tmp空間套件
- win10系統下刪除tmp檔案的方法Win10
- 虛擬機器linux 安裝oracle10g 寫入目錄/tmp 時出錯虛擬機LinuxOracle
- Python3 正常顯示出十六進位制(坑人不淺)Python
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- Hive JDBC:Permission denied: user=anonymous, access=EXECUTE, inode=”/tmp”HiveJDBC
- linux /tmp 目錄檔案清理規則Linux
- 防騙大資料,朋友圈裡賣的這些東西...不是坑人就是害命!大資料
- win10 office tmp快取檔案怎麼刪除_win10 office tmp快取檔案如何刪除Win10快取
- CentOS系統下/tmp目錄臨時檔案清理CentOS
- ORA-600(kollasg:client-side tmp lob)錯誤clientIDE
- PHP 上傳檔案找不到 tmp_name 臨時檔案的問題PHP
- 啟動mysql時顯示:/tmp/mysql.sock 不存在的解決方法MySql
- tmp 檔案系統許可權問題引起的TNS-12557
- win10系統如何修改臨時tmp檔案位置Win10
- php 上傳檔案失敗$_FILES tmp_name 為空PHP
- Can't connect to local MySQL server through socket '/tmp/mysql.sock'MySqlServer
- Most Common Solutions to FRM-41839 and .tmp Files Not Being Deleteddelete
- Win10系統無法使用TMP晶片怎麼解決Win10晶片
- Linux系統下臨時檔案TMP清理 ( tmpwatch 命令)Linux