關於Oracle RAC 叢集日誌無法輪循的問題處理
2015-08-23 04:34:18.962:
[client(18715)]CRS-0009:log file "/oracle/app/11.2.0/grid/log/d4jt6csvpra04/client/olsnodes.log" reopened
2015-08-23 04:34:18.962:
[client(18715)]CRS-0019:file rotation terminated. log file: "/oracle/app/11.2.0/grid/log/d4jt6csvpra04/client/olsnodes.log"
2015-08-23 04:39:19.095:
[client(19507)]CRS-0014:An error occurred while attempting to delete file "/oracle/app/11.2.0/grid/log/d4jt6csvpra04/client/olsnodes.l03" during log file rotation. Additional diagnostics: LFI-00142: Unable to delete an existing file [olsnodes][l03] not owned by Oracle.
從日誌來看,應該是日誌的輪循出現了錯誤,根據提示無法刪除屬於oracle的日誌檔案,檢查日誌發現:部分日誌非常的大:
total 4.5G
-rw-r--r-- 1 grid oinstall 0 Dec 7 2013 orarootagent_rootOUT.log
-rw-r--r-- 1 grid oinstall 11M Dec 10 2013 orarootagent_root.l10
-rw-r--r-- 1 grid oinstall 5 Jan 16 2015 orarootagent_root.pid
-rw-r--r-- 1 grid oinstall 4.5G Sep 29 11:58 orarootagent_root.log
[grid@d4jt6csvpra04 orarootagent_root]$
發現類似於這樣的大日誌情況還是蠻多的,在MOS上看了下,與bug有關,檢查自己的環境是11.2.0.4.0並且沒有打上任何補丁,MOS建議如下:
It is caused by unpublished Bug 18700935 - CLOUD:ACLDX0085 OCSSD LOG IS NOT ROTATED
At some point in time, the Clusterware alert log reports an attempted logfile rotation failure.
As a result, the last logfile 'ocssd.110' is never deleted. This may be due to the logfile being open during logfile delete or a permissions issue on the file itself.
The ocssd.bin thread that performs log file rotation 'clsd_logThread' encounters the delete failure and this causes the logfile never to be deleted/rotated, resulting in ocssd.log continually growing in size.
Extract of the error in $GRID_HOME/log/<hostname>/alert<hostname>.log
2014-06-05 15:37:44.512:
[cssd(29355)]CRS-0009:log file "/u01/app/11.2.0.3/grid/log/ed28db01/cssd/ocssd.log" reopened
2014-06-05 15:37:44.512:
[cssd(29355)]CRS-0019:file rotation terminated. log file: "/u01/app/11.2.0.3/grid/log/ed28db01/cssd/ocssd.log"
[cssd(29355)]CRS-0014:An error occurred while attempting to delete file "/u01/app/11.2.0.3/grid/log/ed28db01/cssd/ocssd.l10" during log file rotation. Additional diagnostics: LFI-00142: Unable to delete an existing file [ocssd][l10] not owned by Oracle.
SOLUTION
The CSSD thread that encountered the LFI-00142 error needs to be restarted to ensure log rotation works again.
Manually deleting the logfile will not resolve the log rotation problem.
1). Shutdown CRS on the node reporting the problem.
# crsctl stop crs
2). Once CRS is down, proceed to manually delete the 'ocssd.l10' file, or copy the logfile to another location if you need to keep a backup.
# rm $GRID_HOME/log/<hostname>/cssd/ocssd.l10
3). Startup Clusterware again
# crsctl start crs
Please note this does not resolve the log rotation problem but only allows you to free up some space.
4). Bug 18700935 has been fixed in 11.2.0.4.5 PSU for Unix/Linux platform and 11.2.0.4.12 Bundle for Windows platform. Please apply the patch if required
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28612416/viewspace-1811489/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE RAC 11.2.0.4 FOR RHEL6叢集無法啟動的處理Oracle
- standby無法使用歸檔日誌問題處理
- Oracle RAC叢集、程式、日誌簡介Oracle
- 【問題處理】處理alert警告日誌中出現無法找到libocr*.so檔案問題
- 【RAC】處理VIP資源被佔用導致Cluster叢集軟體無法正常部署問題
- oracle LOGICAL standby 日誌無法應用處理Oracle
- 搭建Kubernetes叢集時DNS無法解析問題的處理過程DNS
- 【RAC】Oracle RAC叢集環境下日誌檔案結構Oracle
- oracle cluster叢集相關日誌檢視Oracle
- 踩坑日誌--CEPH叢集常見問題解決辦法
- oracle 10g rac叢集log日誌存放路徑Oracle 10g
- repmgr 叢集雙主問題處理
- 關於日誌事務的問題
- oracle 12C RAC 12.1.0.2 叢集日誌(cluster log)目錄Oracle
- 【故障處理】RAC環境第二節點無法歸檔的詭異問題處理
- iOS11無法列印日誌問題iOS
- Oracle 11gr2修改RAC叢集的scan ip,並處理ORA-12514問題Oracle
- Oracle日常問題處理-資料庫無法啟動Oracle資料庫
- 關於k8s叢集容器日誌收集的總結K8S
- Oracle Linux 6.7中 Oracle 11.2.0.4 RAC叢集CRS異常處理OracleLinux
- 關於Oracle字符集的問題Oracle
- Oracle 例項和RAC叢集下資料庫日誌目錄合集Oracle資料庫
- oracle監聽器日誌過大-處理辦法Oracle
- 關於Oracle full outer join 的bug問題分析及處理Oracle
- oracle rac修改ip的處理辦法Oracle
- 因歸檔日誌無法歸檔造成的 oracle shutdown immediate無法關閉Oracle
- 關於sequence問題的緊急處理
- 急問:關於Web容器叢集和EJB叢集Web
- 關於Oracle12C rac DDL日誌的測試驗證Oracle
- Kafka叢集訊息積壓問題及處理策略Kafka
- 關於strace 工具處理問題技巧
- oracle alert日誌亂碼處理Oracle
- Oracle寫日誌問題Oracle
- ffmpeg無法接收組播流問題處理
- 關於介面返回BOM頭處理的問題
- ORACLE 告警日誌alert過大的處理Oracle
- oracle 關於-日誌檔案Oracle
- 關於 Google 電子表格無法訪問的問題Go