2022
我们一起努力

CRS-0019 CRS-0014 LFI-00142 - 关系型数据库

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

CRS-0019 CRS-0014 LFI-00142 - 关系型数据库
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.

赞(0)
文章名称:《CRS-0019 CRS-0014 LFI-00142 - 关系型数据库》
文章链接:https://www.fzvps.com/94919.html
本站文章来源于互联网,如有侵权,请联系管理删除,本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。
图片版权归属各自创作者所有,图片水印出于防止被无耻之徒盗取劳动成果的目的。

评论 抢沙发

评论前必须登录!