日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

oracle var/tmp,关于/var/tmp/.oracle 目录(ZT)

發(fā)布時間:2025/3/21 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle var/tmp,关于/var/tmp/.oracle 目录(ZT) 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

/var/tmp/.oracle目錄下保存著一些socket文件,如果刪除該目錄可能會引起oracle故障。

When Your Database is Unix RAC cluster or standalone ASM install,

You find hidden directory '/var/tmp/.oracle'. 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.

$ cd /var/tmp/.oracle/

$ ls -la

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:45 s#27901.1

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:45 s#27901.2

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sAdb01_crs_evm

srwxrwxrwx 1 root root 0 Jan 13 12:44 sdb01DBG_CRSD

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sdb01DBG_CSSD

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sdb01DBG_EVMD

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sCdb01_crs_evm

srwxrwxrwx 1 root root 0 Jan 13 12:45 sCRSD_UI_SOCKET

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:45 sEXTPROC

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sOCSSD_LL_db01_crs

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sOracle_CSS_LclLstnr_crs_1

srwxrwxrwx 1 root root 0 Jan 13 12:44 sora_crsqs

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:45 sora_racg_db_db01

srwxrwxrwx 1 root root 0 Jan 13 12:44 sprocr_local_conn_0_PROC

srwxrwxrwx 1 oracle oinstall 0 Jan 13 12:44 sSYSTEM.evm.acceptor.authth

If this hidden directory was removed while instances & the CRS stack were up and running.

These will find something Error...

Check on Crsd Log:

[ COMMCRS][1084229984]clsc_connect: (0xb7e210) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_db01_crs))

[ CSSCLNT][2541583904]clsssInitNative: connect failed, rc 9

if use "crs_stat" command, finf error:

[ COMMCRS][2541583904]clsc_connect: (0x6f5d40) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))

If Check on CSS Log:

TRACE: clsc_post: (0x707c70) code 4, NS err (12603, 12532), transport (502, 22, 0)

TRACE: clscsendx: (0x7dc4c0) Physical connection (0x7dc640) not active

WARNING: clssnmsendmsg: send failed, node 2, type 3, rc 3

If Check on ASM: alert log

ORA-29702: error occurred in Cluster Group Service operation

LMON: terminating instance due to error 29702

These show some Errors ...

when deleted(/var/tmp/.oracle hidden directory)... must to re-create these special files on this folder.

Restart (instance, listener, CRS), maybe that can help... .

In a RAC environment this requires the shutdown & restart of the entire CRS stack.

10gR1:

# /etc/init.d./init.crs stop

# /etc/init.d./init.crs start

10gR2/11g:

# $ORA_CRS_HOME/bin/crsctl stop crs

# $ORA_CRS_HOME/bin/crsctl start crs

If the above fails to successfully stop the CRS stack, A system reboot will be inevitable.

Anyway who someone would like to remove "/var/tmp" folder and create symbolic link its to "/tmp"

How?

A. Stop Cluster and then remove "/var/tmp"+ create symbolic link... after that start Cluster

B. ... move "/var/tmp/.oracle" folder to /tmp before .. and then remove "/var/tmp/" + create symbolic link...

# mv /var/tmp/.oracle /tmp/ && mv /var/tmp /var/tmp-old && ln -s /tmp /var/tmp

A. choice is better...

Deleting files from temporary directory via a cronjob (or otherwise):

the directory '/var/tmp/.oracle' (on some platform. /tmp/.oracle) should be excluded from such jobs/tasks.

《新程序員》:云原生和全面數(shù)字化實踐50位技術(shù)專家共同創(chuàng)作,文字、視頻、音頻交互閱讀

總結(jié)

以上是生活随笔為你收集整理的oracle var/tmp,关于/var/tmp/.oracle 目录(ZT)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。