CRS-0019 CRS-0014 LFI-00142

你好我是李白發表於2020-01-16

Mos有兩篇相關bug文章,但是並不完全一致,日誌無法,輪循,現象一致,也並不是特別影響系統穩定性的問題,所以可以採用如下解決方案解決:

GI ocssd.log rotation fails with error LFI-00142 and logfile grows to huge size (Doc ID 1900986.1)

Bug 18700935 - LFI-142: Unable to delete an existing file [ocssd][l10] not owned by Oracle (Doc ID 18700935.8)

現象


2020-01-14 12:20:21.721:
[client(78442)]CRS-0009:log file "/u01/app/11.2.0/grid/log/ncpdb02/client/olsnodes.log" reopened
2020-01-14 12:20:21.721:
[client(78442)]CRS-0019:file rotation terminated. log file: "/u01/app/11.2.0/grid/log/ncpdb02/client/olsnodes.log"
2020-01-14 12:25:21.763:
[client(80910)]CRS-0014:An error occurred while attempting to delete file "/u01/app/11.2.0/grid/log/ncpdb02/client/olsnodes.l03" during log file rotation. Additional diagnostics: LFI-00142: Unable to delete an existing file [olsnodes][l03] not owned by Oracle.

解決

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

 

If you are NOT able to schedule downtime and file size growth in the GRID Home is causing a space issue then copy the logs to another location and do the following
% echo 0 > ocssd.l10
   
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/31439444/viewspace-2673628/,如需轉載,請註明出處,否則將追究法律責任。